File: stpncpy.patch

package info (click to toggle)
libavg 1.8.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 23,164 kB
  • ctags: 21,878
  • sloc: cpp: 84,221; python: 17,112; sh: 1,288; ansic: 783; makefile: 487; xml: 94
file content (13 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Naurp gettext-0.18.1.1.orig/gettext-tools/configure gettext-0.18.1.1/gettext-tools/configure
--- gettext-tools/configure	2010-06-06 13:12:20.000000000 -0700
+++ gettext-tools/configure	2010-08-13 23:24:09.000000000 -0700
@@ -40606,7 +40606,9 @@ else
 #include <stdlib.h>
 #include <string.h> /* for strcpy */
 /* The stpncpy prototype is missing in <string.h> on AIX 4.  */
+#ifndef stpncpy
 extern char *stpncpy (char *dest, const char *src, size_t n);
+#endif
 int main () {
   const char *src = "Hello";
   char dest[10];