Created
July 24, 2011 04:37
-
-
Save tochiz/1102253 to your computer and use it in GitHub Desktop.
gentoo prefix coreutils patch for mac os x lion (for testing)
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 -ruN coreutils-6.11.orig/coreutils-6.11/lib/stpncpy.c coreutils-6.11/coreutils-6.11/lib/stpncpy.c | |
--- coreutils-6.11.orig/coreutils-6.11/lib/stpncpy.c 2011-07-24 13:28:40.000000000 +0900 | |
+++ coreutils-6.11/coreutils-6.11/lib/stpncpy.c 2011-07-24 14:32:40.000000000 +0900 | |
@@ -23,6 +23,9 @@ | |
/* Specification. */ | |
#include <string.h> | |
+#undef __stpncpy | |
+#undef stpncpy | |
+ | |
#ifndef weak_alias | |
# define __stpncpy stpncpy | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment