diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-05-06 18:37:41 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-05-06 18:37:41 +0000 |
commit | 42834283ef874bd2fa2e28852bf343f39b352352 (patch) | |
tree | 13aada1576cbeedffcc6f3a6d2c99868a8a4e808 /media-libs/portaudio/files | |
parent | fixed whitespace warnings (Manifest recommit) (diff) | |
download | gentoo-2-42834283ef874bd2fa2e28852bf343f39b352352.tar.gz gentoo-2-42834283ef874bd2fa2e28852bf343f39b352352.tar.bz2 gentoo-2-42834283ef874bd2fa2e28852bf343f39b352352.zip |
Version bump.
Diffstat (limited to 'media-libs/portaudio/files')
-rw-r--r-- | media-libs/portaudio/files/digest-portaudio-18.1 | 1 | ||||
-rw-r--r-- | media-libs/portaudio/files/portaudio-18.1-use-fpic.patch | 121 |
2 files changed, 122 insertions, 0 deletions
diff --git a/media-libs/portaudio/files/digest-portaudio-18.1 b/media-libs/portaudio/files/digest-portaudio-18.1 new file mode 100644 index 000000000000..75343fea7e3d --- /dev/null +++ b/media-libs/portaudio/files/digest-portaudio-18.1 @@ -0,0 +1 @@ +MD5 ce66a732d263fde2b5ad2262ef37a691 portaudio_v18_1.zip 550130 diff --git a/media-libs/portaudio/files/portaudio-18.1-use-fpic.patch b/media-libs/portaudio/files/portaudio-18.1-use-fpic.patch new file mode 100644 index 000000000000..4911ac1ff7a3 --- /dev/null +++ b/media-libs/portaudio/files/portaudio-18.1-use-fpic.patch @@ -0,0 +1,121 @@ +--- Makefile.linux.orig 2004-05-06 11:33:44.000000000 -0700 ++++ Makefile.linux 2004-05-06 11:34:05.000000000 -0700 +@@ -1,59 +1,59 @@ +-# Make PortAudio for Linux
+-# Updated 2001/08/25 Bill Eldridge bill@rfa.org
+-# Updated 2001/10/16, philburk@softsynth.com, s/unix_oss/unix_oss/
+-# Updated 2002/04/30 Bill Eldridge bill@rfa.org
+-# Made the libinstall and tests compile a bit cleaner
+-
+-# A pretty bare makefile, that figures out all the test files
+-# and compiles them against the library in the pa_unix_oss directory.
+-
+-# Do "make all" and then when happy, "make libinstall"
+-# (if not happy, "make clean")
+-
+-# The ldconfig stuff in libinstall is the wrong way to do it -
+-# someone tell me the right way, please
+-
+-
+-LIBS = -lm -lpthread
+-
+-CDEFINES = -I../pa_common
+-CFLAGS = -g
+-LIBINST = /usr/local/lib
+-
+-TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c)
+-TESTO:= $(wildcard pa_tests/pa*.o pa_tests/debug*.o)
+-
+-LIBFILES:= ./pa_common/pa_lib.c ./pa_unix_oss/pa_unix_oss.c ./pa_unix_oss/pa_unix.c
+-
+-#all: sharedlib libinstall tests
+-all: sharedlib libinstall testo testq
+-
+-.c.o:
+- -gcc $(CFLAGS) -c -I./pa_common $< -o $*.o
+-
+-.o:
+- -gcc $*.o -o $* -Lpa_unix_oss -lportaudio $(LIBS)
+-
+-#.c.o:
+-# -gcc -c -I./pa_common $< -o $*.o
+-# -gcc $*.o -o $* -Lpa_unix_oss $(LIBS) -lportaudio
+-
+-
+-sharedlib: $(LIBFILES:.c=.o)
+- gcc -shared -o ./pa_unix_oss/libportaudio.so ./pa_common/pa_lib.o ./pa_unix_oss/pa_unix_oss.o ./pa_unix_oss/pa_unix.o
+-
+-libinstall: ./pa_unix_oss/libportaudio.so
+- @cp -f ./pa_unix_oss/libportaudio.so $(LIBINST)
+- @/sbin/ldconfig
+-
+-testo: $(TESTS:.c=.o)
+-
+-testq: $(TESTO:.o=)
+-
+-clean:
+- -@rm -f $(TESTS:.c=.o)
+- -@rm -f $(TESTS:.c=)
+- -@rm -f $(LIBFILES:.c=.o)
+- -@rm -f ./pa_unix_oss/libportaudio.so
+-
+-
++# Make PortAudio for Linux ++# Updated 2001/08/25 Bill Eldridge bill@rfa.org ++# Updated 2001/10/16, philburk@softsynth.com, s/unix_oss/unix_oss/ ++# Updated 2002/04/30 Bill Eldridge bill@rfa.org ++# Made the libinstall and tests compile a bit cleaner ++ ++# A pretty bare makefile, that figures out all the test files ++# and compiles them against the library in the pa_unix_oss directory. ++ ++# Do "make all" and then when happy, "make libinstall" ++# (if not happy, "make clean") ++ ++# The ldconfig stuff in libinstall is the wrong way to do it - ++# someone tell me the right way, please ++ ++ ++LIBS = -lm -lpthread ++ ++CDEFINES = -I../pa_common ++CFLAGS = -g ++LIBINST = /usr/local/lib ++ ++TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c) ++TESTO:= $(wildcard pa_tests/pa*.o pa_tests/debug*.o) ++ ++LIBFILES:= ./pa_common/pa_lib.c ./pa_unix_oss/pa_unix_oss.c ./pa_unix_oss/pa_unix.c ++ ++#all: sharedlib libinstall tests ++all: sharedlib libinstall testo testq ++ ++.c.o: ++ -gcc -fPIC $(CFLAGS) -c -I./pa_common $< -o $*.o ++ ++.o: ++ -gcc $*.o -o $* -Lpa_unix_oss -lportaudio $(LIBS) ++ ++#.c.o: ++# -gcc -c -I./pa_common $< -o $*.o ++# -gcc $*.o -o $* -Lpa_unix_oss $(LIBS) -lportaudio ++ ++ ++sharedlib: $(LIBFILES:.c=.o) ++ gcc -shared -o ./pa_unix_oss/libportaudio.so ./pa_common/pa_lib.o ./pa_unix_oss/pa_unix_oss.o ./pa_unix_oss/pa_unix.o ++ ++libinstall: ./pa_unix_oss/libportaudio.so ++ @cp -f ./pa_unix_oss/libportaudio.so $(LIBINST) ++ @/sbin/ldconfig ++ ++testo: $(TESTS:.c=.o) ++ ++testq: $(TESTO:.o=) ++ ++clean: ++ -@rm -f $(TESTS:.c=.o) ++ -@rm -f $(TESTS:.c=) ++ -@rm -f $(LIBFILES:.c=.o) ++ -@rm -f ./pa_unix_oss/libportaudio.so ++ ++ |