- Modify libmikmod-config.patch to also remove pthreads stuff from

cflags and ldadd. Now it's "equivalent" to the .pc file.
- Add libmikmod-config.patch:
  Remove @LIBRARY_LIB@ from libmikmod-config, which is only needed for

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmikmod?expand=0&rev=27
This commit is contained in:
Cristian Morales Vega 2014-05-07 14:43:14 +00:00 committed by Git OBS Bridge
parent b7d3add16c
commit ee2cd97f5c
2 changed files with 22 additions and 7 deletions

View File

@ -1,13 +1,21 @@
Index: libmikmod-3.3.6/libmikmod-config.in
Index: libmikmod-config.in
===================================================================
--- libmikmod-3.3.6.orig/libmikmod-config.in
+++ libmikmod-3.3.6/libmikmod-config.in
@@ -50,7 +50,7 @@ while test $# -gt 0 ; do
echo @LIB_LDADD@
--- libmikmod-config.in.orig
+++ libmikmod-config.in
@@ -44,13 +44,13 @@ while test $# -gt 0 ; do
if test $includedir != /usr/include ; then
includes=-I$includedir
fi
- echo $includes @REENTRANT@
+ echo $includes
;;
--ldadd)
- echo @LIB_LDADD@
+ echo
;;
--libs)
- echo -L@libdir@ -lmikmod @LIBRARY_LIB@
+ echo -L@libdir@ -lmikmod
+ echo -lmikmod
;;
*)
echo "${usage}" 1>&2

View File

@ -1,7 +1,14 @@
-------------------------------------------------------------------
Wed May 7 14:41:18 UTC 2014 - reddwarf@opensuse.org
- Modify libmikmod-config.patch to also remove pthreads stuff from
cflags and ldadd. Now it's "equivalent" to the .pc file.
-------------------------------------------------------------------
Tue May 6 09:22:13 UTC 2014 - schwab@suse.de
- Remove @LIBRARY_LIB@ from libmikmod-config, which is only needed for
- Add libmikmod-config.patch:
Remove @LIBRARY_LIB@ from libmikmod-config, which is only needed for
static linking, which is not possible anyway
-------------------------------------------------------------------