diff options
author | Jeremy Hansen <jebrhansen+SBo@gmail.com> | 2017-07-27 15:37:31 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-28 06:11:09 +0700 |
commit | 2dba9ae32d1962a7bc4f5ccb1c6e7d78e27880fa (patch) | |
tree | cccdd9624d054b7020708751fefd0405c85da4b3 /system/unace/01-makefiles.dpatch | |
parent | 11d48a3658a2a05ea588bed2ca909dd7af021c12 (diff) | |
download | slackbuilds-2dba9ae32d1962a7bc4f5ccb1c6e7d78e27880fa.tar.gz |
system/unace: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/unace/01-makefiles.dpatch')
-rw-r--r-- | system/unace/01-makefiles.dpatch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/system/unace/01-makefiles.dpatch b/system/unace/01-makefiles.dpatch new file mode 100644 index 0000000000..812ce49ac0 --- /dev/null +++ b/system/unace/01-makefiles.dpatch @@ -0,0 +1,52 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 01-makefiles.dpatch by Fabian Greffrath <fabian@debian-unofficial.org> +## +## DP: Fix upstream makefiles + +@DPATCH@ + +diff -Nru unace-nonfree-2.5.orig/base.mk unace-nonfree-2.5/base.mk +--- unace-nonfree-2.5.orig/base.mk 2003-11-27 20:16:20.000000000 +0100 ++++ unace-nonfree-2.5/base.mk 2006-01-31 09:33:04.000000000 +0100 +@@ -427,9 +427,7 @@ + ############################################################################## + + ifndef ISWMAKE +-include $(MAKE_DIR)baseace.mk + include $(MAKE_DIR)baseuace.mk + else +-!include $(MAKE_DIR)baseace.mk + !include $(MAKE_DIR)baseuace.mk + endif +diff -Nru unace-nonfree-2.5.orig/makefile unace-nonfree-2.5/makefile +--- unace-nonfree-2.5.orig/makefile 2003-11-24 00:24:24.000000000 +0100 ++++ unace-nonfree-2.5/makefile 2006-01-31 09:40:17.000000000 +0100 +@@ -18,6 +18,6 @@ + INCLDIR = //usr/include + +-DEFINES = -D__LINUX__ -D__unix__ -D__GCC__ -D__HAS_IO_H__ ++DEFINES = -D__LINUX__ -D__unix__ -D__GCC__ -U__HAS_IO_H__ + + ifdef DEBUG + LSWITCHES = +@@ -47,7 +47,7 @@ + $(APPS_UNACEEXE_CFILES) + + unace: $(UNACEEXELIN_CFILES) +- gcc $(LSWITCHES) -Wl,-lncurses -static -I$(INCLDIR) -I$(INCLSYSDIR) -I$(SRCSsl) $(DEFINES) $(UNACEEXELIN_CFILES) -ggdb -o$(EXECS_DIR)unace ++ gcc $(LSWITCHES) -Wl,-lncurses -I$(INCLDIR) -idirafter $(INCLSYSDIR) -I$(SRCSsl) $(DEFINES) $(UNACEEXELIN_CFILES) -ggdb -o$(EXECS_DIR)unace + ifndef DEBUG + tar cfvz linunace25.tgz unace file_id.diz licence + #sh linpack.sh +diff -Nru unace-nonfree-2.5.orig/unace.mk unace-nonfree-2.5/unace.mk +--- unace-nonfree-2.5.orig/unace.mk 2003-11-27 20:17:46.000000000 +0100 ++++ unace-nonfree-2.5/unace.mk 2006-01-31 09:33:21.000000000 +0100 +@@ -27,8 +27,6 @@ + + ifndef ISWMAKE + include $(MAKE_DIR)unaceexe.mk +-include $(MAKE_DIR)unacedll.mk + else + !include $(MAKE_DIR)unaceexe.mk +-!include $(MAKE_DIR)unacedll.mk + endif |