summaryrefslogtreecommitdiff
path: root/package/madplay
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-24 14:04:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-24 14:04:43 +0100
commit573b06af740b3f1966aa2ea190494d9c87270786 (patch)
treed2f5dd29803ad5bbca171bfff9b1ece4ef3d5b3c /package/madplay
parent42ed8eb00eba8691994588b7fca5dbd04d92a59c (diff)
parent3953de124e87ce3b594fd861b6f111b2df706753 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/madplay')
-rw-r--r--package/madplay/Makefile2
-rw-r--r--package/madplay/patches/patch-configure14
2 files changed, 15 insertions, 1 deletions
diff --git a/package/madplay/Makefile b/package/madplay/Makefile
index 01372dce8..50187a26a 100644
--- a/package/madplay/Makefile
+++ b/package/madplay/Makefile
@@ -19,7 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MADPLAY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOST_CC} \
+CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${CC_FOR_BUILD} \
LIBS="-lz" \
ac_cv_linux_vers=2 \
td_cv_buggygetaddrinfo="no"
diff --git a/package/madplay/patches/patch-configure b/package/madplay/patches/patch-configure
new file mode 100644
index 000000000..b3d1b6c7c
--- /dev/null
+++ b/package/madplay/patches/patch-configure
@@ -0,0 +1,14 @@
+--- madplay-0.15.2b.orig/configure 2004-02-23 22:36:21.000000000 +0100
++++ madplay-0.15.2b/configure 2011-01-21 16:04:04.644909723 +0100
+@@ -19057,10 +19057,7 @@ do
+ arch="$arch $1"
+ shift
+ ;;
+- -fomit-frame-pointer)
+- shift
+- ;;
+- -O*|-f*)
++ -O*)
+ optimize="$1"
+ shift
+ ;;