summaryrefslogtreecommitdiff
path: root/packages/cdparanoia/files
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-01-27 23:59:27 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-01-27 23:59:27 +0100
commitb4ce41c571c04d324e5bf67a1647277c467f5b99 (patch)
tree1afe8394d5fe48cc997d7483895c6c90cb0d4aaa /packages/cdparanoia/files
parentf0d2a9c5f9d5bc4f0ca7a5963851cef2c2b722e2 (diff)
cdparanoia: updated to 10.2
Diffstat (limited to 'packages/cdparanoia/files')
-rw-r--r--packages/cdparanoia/files/Makefile.in.patch13
-rw-r--r--packages/cdparanoia/files/fixes10.patch25
-rw-r--r--packages/cdparanoia/files/interface_Makefile.in.patch11
-rw-r--r--packages/cdparanoia/files/paranoia_Makefile.in.patch11
4 files changed, 60 insertions, 0 deletions
diff --git a/packages/cdparanoia/files/Makefile.in.patch b/packages/cdparanoia/files/Makefile.in.patch
new file mode 100644
index 0000000000..40cf4ad516
--- /dev/null
+++ b/packages/cdparanoia/files/Makefile.in.patch
@@ -0,0 +1,13 @@
+--- cdparanoia-III-10.2/Makefile.in.orig 2009-01-27 23:32:15.000000000 +0100
++++ cdparanoia-III-10.2/Makefile.in 2009-01-27 23:32:53.000000000 +0100
+@@ -87,8 +87,9 @@
+ $(LIBDIR)/libcdda_paranoia.so
+
+ cdparanoia: $(OFILES) $(LIBDEP)
+- $(LD) $(CFLAGS) $(LDFLAGS) $(OFILES) \
++ $(LD) $(CFLAGS) \
+ -L$(PWD)/paranoia -L$(PWD)/interface \
++ $(LDFLAGS) $(OFILES) \
+ -o cdparanoia $(LIBS)
+
+ .c.o:
diff --git a/packages/cdparanoia/files/fixes10.patch b/packages/cdparanoia/files/fixes10.patch
new file mode 100644
index 0000000000..414ff3944d
--- /dev/null
+++ b/packages/cdparanoia/files/fixes10.patch
@@ -0,0 +1,25 @@
+--- cdparanoia-III-alpha9.8/configure.in 2000-03-26 00:33:22.000000000 -0700
++++ cdparanoia-III-alpha9.8.new/configure.in 2004-12-23 16:34:04.072846728 -0700
+@@ -1,7 +1,7 @@
+ AC_INIT(interface/interface.c)
+
+-cp $srcdir/configure.guess $srcdir/config.guess
+-cp $srcdir/configure.sub $srcdir/config.sub
++#cp $srcdir/configure.guess $srcdir/config.guess
++#cp $srcdir/configure.sub $srcdir/config.sub
+
+ AC_CANONICAL_HOST
+
+--- cdparanoia-III-alpha9.8/interface/scan_devices.c 2001-03-25 22:44:01.000000000 -0700
++++ cdparanoia-III-alpha9.8.new/interface/scan_devices.c 2004-12-23 16:38:47.128815680 -0700
+@@ -19,6 +19,10 @@
+ #include "common_interface.h"
+ #include "utils.h"
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ #define MAX_DEV_LEN 20 /* Safe because strings only come from below */
+ /* must be absolute paths! */
+ static char *scsi_cdrom_prefixes[]={
diff --git a/packages/cdparanoia/files/interface_Makefile.in.patch b/packages/cdparanoia/files/interface_Makefile.in.patch
new file mode 100644
index 0000000000..4dbd2bb19a
--- /dev/null
+++ b/packages/cdparanoia/files/interface_Makefile.in.patch
@@ -0,0 +1,11 @@
+--- cdparanoia-III-10.2/interface/Makefile.in.orig 2009-01-27 23:52:42.000000000 +0100
++++ cdparanoia-III-10.2/interface/Makefile.in 2009-01-27 23:53:27.000000000 +0100
+@@ -46,7 +46,7 @@
+ $(RANLIB) libcdda_interface.a
+
+ libcdda_interface.so: $(OFILES)
+- $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
++ $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) $(LDFLAGS) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
+ [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0
+ [ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so
+
diff --git a/packages/cdparanoia/files/paranoia_Makefile.in.patch b/packages/cdparanoia/files/paranoia_Makefile.in.patch
new file mode 100644
index 0000000000..962a43a634
--- /dev/null
+++ b/packages/cdparanoia/files/paranoia_Makefile.in.patch
@@ -0,0 +1,11 @@
+--- cdparanoia-III-10.2/paranoia/Makefile.in.orig 2009-01-27 23:54:45.000000000 +0100
++++ cdparanoia-III-10.2/paranoia/Makefile.in 2009-01-27 23:55:05.000000000 +0100
+@@ -44,7 +44,7 @@
+ $(RANLIB) libcdda_paranoia.a
+
+ libcdda_paranoia.so: $(OFILES)
+- $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface
++ $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) $(LDFLAGS) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface
+ [ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0
+ [ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so
+