xz zlib gzip zip rebuild

This commit is contained in:
Rmys
2025-11-11 12:29:13 +03:00
parent 7dca445be3
commit a3a61b6814
3 changed files with 28 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
--- zip-2.31/unix/Makefile.time 2007-02-07 09:36:30.000000000 +0100
+++ zip-2.31/unix/Makefile 2007-02-07 09:38:42.000000000 +0100
@@ -24,7 +24,7 @@
E =
# probably can change this to 'install' if you have it
-INSTALL_PROGRAM = cp
+INSTALL_PROGRAM = cp -p
# probably can change this to 'install -d' if you have it
# XXX NextStep 3.3 and Openstep 4.x don't know about -p !
INSTALL_D = mkdir -p
@@ -0,0 +1,15 @@
zip uses C89-only features, so it needs to be built in C89 mode.
diff --git a/unix/Makefile b/unix/Makefile
index 86cf54bf0f56cea9..244390893eab5fc6 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -202,7 +202,7 @@ generic: flags
eval $(MAKE) $(MAKEF) zips `cat flags`
generic_gcc:
- $(MAKE) $(MAKEF) generic CC=gcc CPP="gcc -E"
+ $(MAKE) $(MAKEF) generic CC="gcc -std=gnu89" CPP="gcc -E"
# AT&T 6300 PLUS (don't know yet how to allocate 64K bytes):
att6300nodir:
+2
View File
@@ -18,6 +18,8 @@
<Patch level="1">zip-3.0-exec-shield.patch</Patch>
<Patch level="1">zip-3.0-format-security.patch</Patch>
<Patch level="1">zipnote.patch</Patch>
<Patch level="1">zip-3.0-time.patch</Patch>
<Patch level="1">zip-gnu89-build.patch</Patch>
</Patches>
</Source>