summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-29 20:48:40 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-29 20:48:40 +0000
commit838ee547152b77f56cd646887c9430e35b91c546 (patch)
treea6f58ee1a28444ad0ab65346d6c80c4ede7b89ef /app-arch/unace/files
parentversion bump from upstream (diff)
downloadhistorical-838ee547152b77f56cd646887c9430e35b91c546.tar.gz
historical-838ee547152b77f56cd646887c9430e35b91c546.tar.bz2
historical-838ee547152b77f56cd646887c9430e35b91c546.zip
Version bump to build with source code #214216 by Robert Buchholz.
Package-Manager: portage-2.2_pre5
Diffstat (limited to 'app-arch/unace/files')
-rw-r--r--app-arch/unace/files/unace-2.5-build.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-arch/unace/files/unace-2.5-build.patch b/app-arch/unace/files/unace-2.5-build.patch
new file mode 100644
index 000000000000..48197407b4fb
--- /dev/null
+++ b/app-arch/unace/files/unace-2.5-build.patch
@@ -0,0 +1,34 @@
+--- makefile
++++ makefile
+@@ -14,17 +14,16 @@
+ SRCSsl = $(BASIC_DIR)source
+ SRCS = $(SRCSsl)/
+
++ifdef SYSINC
+ INCLSYSDIR = //usr/include/sys
+ INCLDIR = //usr/include
+-
+-DEFINES = -D__LINUX__ -D__unix__ -D__GCC__ -U__HAS_IO_H__
+-
+-ifdef DEBUG
+-LSWITCHES =
++INCLS = -I$(INCLDIR) -idirafter $(INCLSYSDIR)
+ else
+-LSWITCHES = -Wl,-s
++INCLS =
+ endif
+
++DEFINES = -D__LINUX__ -D__unix__ -D__GCC__ -U__HAS_IO_H__
++
+ ##############################################################################
+ all: unace
+
+@@ -47,7 +46,7 @@
+ $(APPS_UNACEEXE_CFILES)
+
+ unace: $(UNACEEXELIN_CFILES)
+- $(CC) $(CFLAGS) $(LSWITCHES) -I$(INCLDIR) -idirafter $(INCLSYSDIR) -I$(SRCSsl) $(DEFINES) $(UNACEEXELIN_CFILES) -ggdb -o$(EXECS_DIR)unace
++ $(CC) $(CFLAGS) $(LDFLAGS) $(INCLS) -I$(SRCSsl) $(DEFINES) $(UNACEEXELIN_CFILES) -ggdb -o$(EXECS_DIR)unace
+ ifndef DEBUG
+ tar cfvz linunace25.tgz unace file_id.diz licence
+ #sh linpack.sh