diff options
author | David Seifert <soap@gentoo.org> | 2016-02-25 23:13:07 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-02-25 23:13:30 +0100 |
commit | 90c03ac835bc34210bca7c5038224ca862c49361 (patch) | |
tree | 37a9375a13fe91bb58762a2d79361afa9b368e20 /media-sound/snd/files | |
parent | media-sound/snd: Update patch for -ldl underlinking (diff) | |
download | gentoo-90c03ac835bc34210bca7c5038224ca862c49361.tar.gz gentoo-90c03ac835bc34210bca7c5038224ca862c49361.tar.bz2 gentoo-90c03ac835bc34210bca7c5038224ca862c49361.zip |
media-sound/snd: version bump to 16.3
Gentoo-Bug: 404201, 475150
* EAPI=6
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-sound/snd/files')
-rw-r--r-- | media-sound/snd/files/snd-16.3-portaudio.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/media-sound/snd/files/snd-16.3-portaudio.patch b/media-sound/snd/files/snd-16.3-portaudio.patch new file mode 100644 index 000000000000..3be684372a24 --- /dev/null +++ b/media-sound/snd/files/snd-16.3-portaudio.patch @@ -0,0 +1,49 @@ +--- snd-16.3/configure.ac ++++ snd-16.3/configure.ac +@@ -527,8 +527,9 @@ + + if test "$with_portaudio" = yes ; then + AC_DEFINE(MUS_PORTAUDIO) ++ PKG_CHECK_MODULES([PORTAUDIO], [portaudio-2.0]) + AUDIO_SYSTEM=portaudio +- AUDIO_LIB="-lportaudio" ++ AUDIO_LIB="${PORTAUDIO_LIBS}" + fi + + if test "$with_jack" = yes ; then +--- snd-16.3/makefile.in ++++ snd-16.3/makefile.in +@@ -11,6 +11,7 @@ + GL_FLAGS = @GL_FLAGS@ + GSL_FLAGS = @GSL_CFLAGS@ + JACK_FLAGS = @JACK_FLAGS@ ++PORTAUDIO_CFLAGS = @PORTAUDIO_CFLAGS@ + + ORIGINAL_LDFLAGS = @ORIGINAL_LDFLAGS@ + LDFLAGS = @LDFLAGS@ +@@ -26,6 +27,7 @@ + FFTW_LIBS = @FFTW_LIBS@ + JACK_LIBS = @JACK_LIBS@ + GMP_LIBS = @GMP_LIBS@ ++PORTAUDIO_LIBS = @PORTAUDIO_LIBS@ + + LDSO_FLAGS = @LDSO_FLAGS@ + SO_FLAGS = @SO_FLAGS@ +@@ -51,7 +53,7 @@ + .SUFFIXES: .c .o + + .c.o: +- $(CC) -c $(DEFS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(GL_FLAGS) $(JACK_FLAGS) $(FFTW_CFLAGS) $< ++ $(CC) -c $(DEFS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(GL_FLAGS) $(JACK_FLAGS) $(FFTW_CFLAGS) $(PORTAUDIO_CFLAGS) $< + + SND_SCRIPTS = *.scm *.fs *.rb *.fsm + SNDLIB_HEADERS = mus-config.h sndlib.h _sndlib.h sndlib-strings.h clm.h vct.h sndlib2xen.h clm2xen.h xen.h clm-strings.h +@@ -82,7 +84,7 @@ + main_target: @MAKE_TARGET@ + + snd: $(SNDLIB_HEADERS) $(SND_HEADERS) $(GX_HEADERS) $(S7_HEADERS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) +- $(CC) $(LDFLAGS) $(CFLAGS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) -o snd $(SNDLIB_LIB) $(XEN_LIBS) $(GTK_LIBS) $(GL_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(GMP_LIBS) $(LIBS) ++ $(CC) $(LDFLAGS) $(CFLAGS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) -o snd $(SNDLIB_LIB) $(XEN_LIBS) $(GTK_LIBS) $(GL_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(GMP_LIBS) $(PORTAUDIO_LIBS) $(LIBS) + + xm: xen.h mus-config.h $(S7_HEADERS) + $(CC) -c xm.c -DUSE_SND=0 $(DEFS) $(SO_FLAGS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(JACK_FLAGS) $(GL_FLAGS) |