Created
March 11, 2011 21:46
-
-
Save biow0lf/866636 to your computer and use it in GitHub Desktop.
patch for gettext compile under Mac OSX 10.7 (Lion) (doesn't tested well)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur gettext-0.17.orig/gettext-tools/gnulib-lib/stpncpy.c gettext-0.17/gettext-tools/gnulib-lib/stpncpy.c | |
--- gettext-0.17.orig/gettext-tools/gnulib-lib/stpncpy.c 2007-10-07 23:29:35.000000000 +0300 | |
+++ gettext-0.17/gettext-tools/gnulib-lib/stpncpy.c 2011-03-11 23:34:40.000000000 +0200 | |
@@ -24,7 +24,7 @@ | |
#include <string.h> | |
#ifndef weak_alias | |
-# define __stpncpy stpncpy | |
+//# define __stpncpy stpncpy | |
#endif | |
/* Copy no more than N bytes of SRC to DST, returning a pointer past the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment