gentoo-ebuilds/app-arch/zoo/files/zoo-2.10-gentoo-fbsd-r1.patch
Jakov Smolic 4047c3d29b
app-arch/zoo: Port to EAPI 7, fix CFLAGS, tc-directly
Closes: https://bugs.gentoo.org/726376
Closes: https://bugs.gentoo.org/721888
Closes: https://bugs.gentoo.org/729126
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
2021-05-04 22:17:00 +00:00

25 lines
634 B
Diff

--- a/sysv.c
+++ b/sysv.c
@@ -63,8 +63,8 @@
return (fname); /* default is no-op */
}
-extern long timezone; /* defined by library routine */
-long time ();
+/*extern long timezone; defined by library routine */
+/* long time (); */
struct tm *localtime ();
/* Function gettz(), returns the offset from GMT in seconds of the
--- a/zoo.h
+++ b/zoo.h
@@ -95,6 +95,9 @@
#endif
typedef unsigned char uchar;
+typedef unsigned int uint;
+typedef unsigned long ulong;
+typedef unsigned short ushort;
/* WARNING: Static initialization in zooadd.c or zooext.c depends on the
order of fields in struct zoo_header */