Explorar o código

try to fix even more things in gated

Ralf S. Engelschall %!s(int64=24) %!d(string=hai) anos
pai
achega
6ad7376e9f
Modificáronse 1 ficheiros con 21 adicións e 0 borrados
  1. 21 0
      gated/gated-3-6.patch

+ 21 - 0
gated/gated-3-6.patch

@@ -28,3 +28,24 @@
  
  #define	todigit(c)	((c) - '0')
  #define	tochar(n)	((n) + '0')
+--- src/gated/str.h.orig	Sat Nov 24 14:57:05 2001
++++ src/gated/str.h	Sat Nov 24 14:57:18 2001
+@@ -127,9 +127,11 @@
+ char * gd_uplow(const char *, int);
+ #define	gd_upper(str)	gd_uplow(str, TRUE)
+ #define	gd_lower(str)	gd_uplow(str, FALSE)
++#if 0
+ int fprintf(FILE *, const char *, ...);
+ int vsprintf(char *, const char *, va_list );
+ int sprintf(char *, const char *, ...);
++#endif
+ #ifndef	HAVE_STRCASECMP
+ int strcasecmp(const char *, const char *);
+ int strncasecmp(const char *, const char *, size_t);
+--- src/gatedcompat/include.h.orig	Sat Nov 24 15:03:57 2001
++++ src/gatedcompat/include.h	Sat Nov 24 15:02:38 2001
+@@ -91,3 +91,4 @@
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h> 
+ #endif /* HAVE_UNISTD_H */
++#include <stdarg.h>