This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
zoo/zoo-gcc.patch
nim 211b134df4 auto-import zoo-2.10-7.fc5 on branch devel from zoo-2.10-7.fc5.src.rpm
rebase on opensuse package, CVE-2006-0855 fix #2, bz #183109 fix
2006-03-04 13:30:20 +00:00

24 lines
694 B
Diff

diff -uNr zoo.orig/makefile zoo/makefile
--- zoo.orig/makefile 1992-07-27 06:01:40.000000000 +0200
+++ zoo/makefile 2002-11-25 16:41:06.000000000 +0100
@@ -21,7 +21,7 @@
CC = cc
CFLAGS =
MODEL =
-EXTRA = -DBIG_MEM -DNDEBUG
+EXTRA = -DBIG_MEM -DNDEBUG -DANSI_PROTO
LINTFLAGS = -DLINT
OPTIM = -O
DESTDIR = /usr/local/bin
diff -uNr zoo.orig/options.h zoo/options.h
--- zoo.orig/options.h 1991-07-11 21:07:32.000000000 +0200
+++ zoo/options.h 2002-11-25 16:41:30.000000000 +0100
@@ -104,7 +104,7 @@
#define GETTZ
#define FATTR
#define T_SIGNAL int
-#define VARARGS
+#define STDARG
#define NEED_MEMMOVE
#define T_UINT16 unsigned short /* must be 16 bit unsigned */
#define HAVE_ISATTY