summaryrefslogtreecommitdiffstats
path: root/deps/util-linux/ziptool-fix_build.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-06-17 14:10:24 +0200
committer Eric Hameleers <alien@slackware.com>2020-06-17 14:10:24 +0200
commitdf34379cc4505e01b2d7e7c6611df808da46bf15 (patch)
tree9f6c36c737802fee375bcac39645e460fca9a3fe /deps/util-linux/ziptool-fix_build.patch
parent119353649d8ac4a65e6e5f4d859a017802fd87bd (diff)
downloadktown-df34379cc4505e01b2d7e7c6611df808da46bf15.tar.gz
ktown-df34379cc4505e01b2d7e7c6611df808da46bf15.tar.xz
deps/util-linux: get rid of compressed patches in the git repo
Diffstat (limited to 'deps/util-linux/ziptool-fix_build.patch')
-rw-r--r--deps/util-linux/ziptool-fix_build.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/deps/util-linux/ziptool-fix_build.patch b/deps/util-linux/ziptool-fix_build.patch
new file mode 100644
index 0000000..a2d3d51
--- /dev/null
+++ b/deps/util-linux/ziptool-fix_build.patch
@@ -0,0 +1,24 @@
+diff -Nur ziptool-1.4.0.orig/Makefile ziptool-1.4.0/Makefile
+--- ziptool-1.4.0.orig/Makefile 2002-08-23 17:13:48.000000000 -0500
++++ ziptool-1.4.0/Makefile 2009-02-09 16:33:12.913637302 -0600
+@@ -5,10 +5,6 @@
+ #
+ CFLAGS = -O2 -g -Wall
+
+-# Path to linux kernel sources.
+-#
+-LINUX_SRC_DIR = /usr/src/linux
+-
+ # Installation directories
+ #
+ INSTALL_BIN_DIR = /usr/bin
+@@ -30,7 +26,7 @@
+ cd $(INSTALL_MAN_DIR)/man1; ln -sf ziptool.1.gz jaztool.1.gz
+
+ ziptool: ziptool.c
+- cc $(CFLAGS) -I$(LINUX_SRC_DIR)/include -o ziptool ziptool.c
++ cc $(CFLAGS) -I. -o ziptool ziptool.c
+
+ jaztool: ziptool.c
+- cc $(CFLAGS) -I$(LINUX_SRC_DIR)/include -o jaztool ziptool.c
++ cc $(CFLAGS) -I. -o jaztool ziptool.c