summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-18 22:35:23 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-18 22:35:23 +0000
commit1971ec0dfc32418d30805b14e03e4780c0ecc3ef (patch)
tree1bed3a7e63305467305cdc5983ecbdb4f4e4d5a7 /media-libs/libmikmod/files
parents390/sh stable (diff)
downloadgentoo-2-1971ec0dfc32418d30805b14e03e4780c0ecc3ef.tar.gz
gentoo-2-1971ec0dfc32418d30805b14e03e4780c0ecc3ef.tar.bz2
gentoo-2-1971ec0dfc32418d30805b14e03e4780c0ecc3ef.zip
Add patch to respect LDFLAGS and avoid polluting CFLAGS, do a revbump as it requires quite a bit of changes (to autotools) and it's better to fall back in ~arch.
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'media-libs/libmikmod/files')
-rw-r--r--media-libs/libmikmod/files/digest-libmikmod-3.1.11-r26
-rw-r--r--media-libs/libmikmod/files/libmikmod-3.1.11-respectflags.patch47
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libmikmod/files/digest-libmikmod-3.1.11-r2 b/media-libs/libmikmod/files/digest-libmikmod-3.1.11-r2
new file mode 100644
index 000000000000..6f922159993f
--- /dev/null
+++ b/media-libs/libmikmod/files/digest-libmikmod-3.1.11-r2
@@ -0,0 +1,6 @@
+MD5 5d7a4705bbc7260332e752f32e48613b libmikmod-3.1.11-esdm4.patch.bz2 2944
+RMD160 8abf8e31a5e3cb9ebee45a04b52ef04024894e25 libmikmod-3.1.11-esdm4.patch.bz2 2944
+SHA256 3dc3d413a9c617b919523866768559bee487a240670040f987825305609987da libmikmod-3.1.11-esdm4.patch.bz2 2944
+MD5 705106da305e8de191549f1e7393185c libmikmod-3.1.11.tar.gz 611590
+RMD160 79b144cce51340b4c9abe09d1110dba2333d7bfb libmikmod-3.1.11.tar.gz 611590
+SHA256 2d7598cd2a8c61c023f27c9c7c1aca8bbfd92aadbee2f98b7a6d421eae35c929 libmikmod-3.1.11.tar.gz 611590
diff --git a/media-libs/libmikmod/files/libmikmod-3.1.11-respectflags.patch b/media-libs/libmikmod/files/libmikmod-3.1.11-respectflags.patch
new file mode 100644
index 000000000000..f8238b757fbb
--- /dev/null
+++ b/media-libs/libmikmod/files/libmikmod-3.1.11-respectflags.patch
@@ -0,0 +1,47 @@
+Index: libmikmod-3.1.11/configure.in
+===================================================================
+--- libmikmod-3.1.11.orig/configure.in
++++ libmikmod-3.1.11/configure.in
+@@ -616,14 +616,11 @@ int main()
+ libmikmod_cv_gcc_inline_safe=yes,
+ libmikmod_cv_gcc_inline_safe=no,
+ libmikmod_cv_gcc_inline_safe=no))
+- if test $libmikmod_cv_gcc_inline_safe = yes
++ if test x$libmikmod_cv_gcc_inline_safe != xyes
+ then
+- CFLAGS="$CFLAGS -finline-functions"
+- else
+ CFLAGS="$CFLAGS -fno-strength-reduce"
+ fi
+- CFLAGS="$CFLAGS -funroll-loops -ffast-math"
+- if test $libmikmod_debug = yes
++ if test x$libmikmod_debug = xyes
+ then
+ CFLAGS="$CFLAGS -Wall -Werror"
+ else
+Index: libmikmod-3.1.11/libmikmod-config.in
+===================================================================
+--- libmikmod-3.1.11.orig/libmikmod-config.in
++++ libmikmod-3.1.11/libmikmod-config.in
+@@ -50,7 +50,7 @@ while test $# -gt 0 ; do
+ ;;
+ --libs)
+ libdir=-L${exec_prefix}/lib
+- echo $libdir -lmikmod @LIBRARY_LIB@
++ echo $libdir -lmikmod
+ ;;
+ *)
+ echo "${usage}" 1>&2
+Index: libmikmod-3.1.11/libmikmod/Makefile.in
+===================================================================
+--- libmikmod-3.1.11.orig/libmikmod/Makefile.in
++++ libmikmod-3.1.11/libmikmod/Makefile.in
+@@ -72,7 +72,7 @@ distclean: clean
+ rm -f Makefile
+
+ $(LIB): $(OBJ)
+- $(LIBTOOL) --mode=link $(CC) -version-info 2:4:0 -o $@ $(OBJ) $(LIBRARY_LIB) -rpath $(DESTDIR)$(libdir)
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -version-info 2:4:0 -o $@ $(OBJ) $(LIBRARY_LIB) -rpath $(DESTDIR)$(libdir)
+
+ dl_hpux.lo: $(top_srcdir)/dlapi/dl_hpux.c \
+ $(top_srcdir)/dlapi/dlfcn.h