diff options
author | Kito Danya Dietrich <kito@gentoo.org> | 2004-09-13 21:38:19 +0000 |
---|---|---|
committer | Kito Danya Dietrich <kito@gentoo.org> | 2004-09-13 21:38:19 +0000 |
commit | 7546af5dbb08c4eee4b74c2c361eee2ce2d7320b (patch) | |
tree | 2e967ba77030a58e92ad2128cfa18f724f3551c1 /media-libs/ladspa-sdk | |
parent | removed old patches (diff) | |
download | historical-7546af5dbb08c4eee4b74c2c361eee2ce2d7320b.tar.gz historical-7546af5dbb08c4eee4b74c2c361eee2ce2d7320b.tar.bz2 historical-7546af5dbb08c4eee4b74c2c361eee2ce2d7320b.zip |
added patch for Darwin/OS X closes Bug #63433
Diffstat (limited to 'media-libs/ladspa-sdk')
-rw-r--r-- | media-libs/ladspa-sdk/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/Manifest | 9 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.12-macos.patch | 54 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild | 5 |
4 files changed, 67 insertions, 7 deletions
diff --git a/media-libs/ladspa-sdk/ChangeLog b/media-libs/ladspa-sdk/ChangeLog index 3be8429703f4..96696a2a0860 100644 --- a/media-libs/ladspa-sdk/ChangeLog +++ b/media-libs/ladspa-sdk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/ladspa-sdk # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.18 2004/08/15 22:44:38 fvdpol Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.19 2004/09/13 21:38:19 kito Exp $ + + 10 Sep 2004; Kito <kito@gentoo.org> +files/ladspa-sdk-1.12-macos.patch, + ladspa-sdk-1.12-r2.ebuild: + Added Mac OS X/Darwin compatibility patch. Closes Bug #63433 *ladspa-sdk-1.12-r2 (16 Aug 2004) diff --git a/media-libs/ladspa-sdk/Manifest b/media-libs/ladspa-sdk/Manifest index d20665ea06fb..cd34175af0cc 100644 --- a/media-libs/ladspa-sdk/Manifest +++ b/media-libs/ladspa-sdk/Manifest @@ -1,11 +1,12 @@ -MD5 809b5cdaeb20d065aba8c7441d8adc06 ChangeLog 2502 +MD5 1eea5d8551e7e98e4fb616c01ab51654 ChangeLog 2667 MD5 f02badc426c3a2728834bae1ff9bdcc9 ladspa-sdk-1.0.ebuild 878 +MD5 aa9d8b1954e9b12af610336b3a518509 ladspa-sdk-1.12-r1.ebuild 1203 +MD5 0b4ec30302f6f1fe13adf362de9b703b ladspa-sdk-1.12-r2.ebuild 1425 MD5 3342f96f62a628923754b3c0e47b1aae ladspa-sdk-1.12.ebuild 1092 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 -MD5 aa9d8b1954e9b12af610336b3a518509 ladspa-sdk-1.12-r1.ebuild 1203 -MD5 a06194e3aab4ee00161066f00070ad68 ladspa-sdk-1.12-r2.ebuild 1370 MD5 66e1bf2c3d8f56ee85430ef5b52bb5ee files/digest-ladspa-sdk-1.0 58 MD5 cac1ad9f78c8b6a13d80cd27413990c6 files/digest-ladspa-sdk-1.12 63 MD5 cac1ad9f78c8b6a13d80cd27413990c6 files/digest-ladspa-sdk-1.12-r1 63 -MD5 5e4df3cc34668d1ae00d1b0df109481c files/ladspa-sdk-1.12-test.patch 1024 MD5 cac1ad9f78c8b6a13d80cd27413990c6 files/digest-ladspa-sdk-1.12-r2 63 +MD5 abe8c6de8caf5688d31b1f3cfced0596 files/ladspa-sdk-1.12-macos.patch 1784 +MD5 5e4df3cc34668d1ae00d1b0df109481c files/ladspa-sdk-1.12-test.patch 1024 diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-macos.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-macos.patch new file mode 100644 index 000000000000..5fc92e0615bf --- /dev/null +++ b/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-macos.patch @@ -0,0 +1,54 @@ +diff -uNr ladspa_sdk_orig/src/applyplugin.c ladspa_sdk/src/applyplugin.c +--- ladspa_sdk_orig/src/applyplugin.c Sat May 18 12:01:36 2002 ++++ ladspa_sdk/src/applyplugin.c Thu Sep 9 17:57:11 2004 +@@ -6,7 +6,7 @@ + /*****************************************************************************/ + + #include <dlfcn.h> +-#include <endian.h> ++#include <machine/endian.h> + #include <errno.h> + #include <math.h> + #include <stdlib.h> +diff -uNr ladspa_sdk_orig/src/makefile ladspa_sdk/src/makefile +--- ladspa_sdk_orig/src/makefile Sat Jul 6 12:34:20 2002 ++++ ladspa_sdk/src/makefile Thu Sep 9 18:00:07 2004 +@@ -28,6 +28,7 @@ + ../bin/listplugins + CC = cc + CPP = c++ ++LD = $(CC) + + ############################################################################### + # +@@ -36,11 +37,11 @@ + + ../plugins/%.so: plugins/%.c ladspa.h + $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c +- $(LD) -o ../plugins/$*.so plugins/$*.o -shared ++ $(LD) -bundle -o ../plugins/$*.so plugins/$*.o + + ../plugins/%.so: plugins/%.cpp ladspa.h + $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp +- $(CPP) -o ../plugins/$*.so plugins/$*.o -shared ++ $(CPP) -bundle -o ../plugins/$*.so plugins/$*.o + + ############################################################################### + # +diff -uNr ladspa_sdk_orig/src/search.c ladspa_sdk/src/search.c +--- ladspa_sdk_orig/src/search.c Sat Jul 21 11:04:23 2001 ++++ ladspa_sdk/src/search.c Thu Sep 9 18:01:08 2004 +@@ -5,12 +5,12 @@ + + /*****************************************************************************/ + ++#include <sys/types.h> + #include <dirent.h> + #include <dlfcn.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <sys/types.h> + #include <unistd.h> + + /*****************************************************************************/ diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild index 04ea69dd527b..031949fd2539 100644 --- a/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild +++ b/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild,v 1.1 2004/08/15 22:44:38 fvdpol Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild,v 1.2 2004/09/13 21:38:19 kito Exp $ inherit eutils @@ -16,7 +16,7 @@ HOMEPAGE="http://www.ladspa.org/" SLOT="0" LICENSE="LGPL-2.1" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~macos" DEPEND="virtual/libc >=sys-apps/sed-4" @@ -29,6 +29,7 @@ src_unpack() { sed -i s:-mkdirhier:mkdir\ -p:g ${S}/makefile || \ die "sed makefile failed (mkdirhier)" epatch ${FILESDIR}/${P}-test.patch + use macos && epatch ${FILESDIR}/${P}-macos.patch } src_compile() { |