summaryrefslogtreecommitdiffhomepage
path: root/patches/infounzip.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/infounzip.local.patch')
-rw-r--r--patches/infounzip.local.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/infounzip.local.patch b/patches/infounzip.local.patch
new file mode 100644
index 00000000..f8d3c1c6
--- /dev/null
+++ b/patches/infounzip.local.patch
@@ -0,0 +1,24 @@
+--- infounzip/Makefile.dist 2019-04-26 18:39:08.660000000 +0000
++++ infounzip/Makefile 2019-06-16 16:37:56.980000000 +0000
+@@ -10,7 +10,7 @@
+ INSTALL_PROGRAM = cp
+ INSTALL_D = mkdir -p
+
+-CFLAGS ?= -I. -DUNIX -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
++override CFLAGS += -I. -DUNIX -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
+ LFLAGS1 ?=
+ LDFLAGS ?=
+
+@@ -38,10 +38,10 @@
+ $(OBJF): $(UNZIP_H)
+
+ unzip: $(OBJU)
+- $(CC) -o unzip $(LFLAGS1) $(OBJU) $(LDFLAGS)
++ $(CC) -o unzip $(LFLAGS1) $(LDFLAGS) $(OBJU)
+
+ funzip: $(OBJF)
+- $(CC) -o funzip $(LFLAGS1) $(OBJF) $(LDFLAGS)
++ $(CC) -o funzip $(LFLAGS1) $(LDFLAGS) $(OBJF)
+
+ UNZIPS = unzip funzip
+