From e1532eef59d93b2c646985bc5fa8240fe1e1163f Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Oct 30 2018 23:49:35 +0000 Subject: Ensure libalut is linked against openal --- diff --git a/freealut-openal.patch b/freealut-openal.patch index 3eef5b1..548f1dc 100644 --- a/freealut-openal.patch +++ b/freealut-openal.patch @@ -29,6 +29,30 @@ # Specifying the following path is needed to find . -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include $(OPENAL_CFLAGS) +--- src/Makefile.am.orig 2006-05-08 05:28:07.000000000 -0400 ++++ src/Makefile.am 2018-10-30 19:28:36.214575682 -0400 +@@ -1,3 +1,6 @@ ++OPENAL_LIBS = @openal_LIBS@ ++OPENAL_CFLAGS = @openal_CFLAGS@ ++ + # The following files should be in our source distribution in addition to the + # standard ones included by automake itself: + EXTRA_DIST = helloworld.wav README +@@ -20,7 +23,7 @@ libalut_la_SOURCES = \ + alutWaveform.c + + # We use sin and floor, so we might need -lm, autoconf takes care of this. +-libalut_la_LIBADD = $(LIBM) ++libalut_la_LIBADD = $(LIBM) $(OPENAL_LIBS) + + # The following libtool flag is neccessary for building DLLs on Windows. + libalut_la_LDFLAGS = -no-undefined +@@ -29,4 +32,4 @@ libalut_la_LDFLAGS = -no-undefined + libalut_la_LDFLAGS += -version-info @VERSIONINFO@ + + # Specifying the following path is needed to find . +-libalut_la_CPPFLAGS = -I$(top_srcdir)/include ++libalut_la_CPPFLAGS = -I$(top_srcdir)/include $(OPENAL_CFLAGS) --- test_suite/Makefile.am.orig 2006-02-05 02:08:56.000000000 +0100 +++ test_suite/Makefile.am 2006-02-05 02:10:13.000000000 +0100 @@ -1,3 +1,6 @@ diff --git a/freealut.spec b/freealut.spec index 8299148..b44fce6 100644 --- a/freealut.spec +++ b/freealut.spec @@ -1,6 +1,6 @@ Name: freealut Version: 1.1.0 -Release: 26%{?dist} +Release: 27%{?dist} Summary: Implementation of OpenAL's ALUT standard Group: System Environment/Libraries @@ -72,6 +72,9 @@ touch -r ChangeLog $RPM_BUILD_ROOT/%{_bindir}/freealut-config %{_libdir}/pkgconfig/freealut.pc %changelog +* Tue Oct 30 2018 Scott Talbert - 1.1.0-27 +- Ensure libalut is linked against openal + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild