summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-10-28 23:43:35 +0000
committerjoerg <joerg@pkgsrc.org>2013-10-28 23:43:35 +0000
commitbcae849187d9882ec0c443cf82ab4e8a604c00fb (patch)
treeb73688a8e7e44f7399455634a02df4e03e70b60d
parentb82a0bf156ebd3ac9487518be61c485c19b6f936 (diff)
downloadpkgsrc-bcae849187d9882ec0c443cf82ab4e8a604c00fb.tar.gz
Don't use -frename-registers or play with the inline limits.
-rw-r--r--audio/libwildmidi/distinfo3
-rw-r--r--audio/libwildmidi/patches/patch-configure13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/libwildmidi/distinfo b/audio/libwildmidi/distinfo
index df4e875d974..9d477677839 100644
--- a/audio/libwildmidi/distinfo
+++ b/audio/libwildmidi/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2012/02/15 22:05:24 hans Exp $
+$NetBSD: distinfo,v 1.3 2013/10/28 23:43:35 joerg Exp $
SHA1 (wildmidi-0.2.3.4.tar.gz) = 99ffeb54980a29c5aa44f4cb152ad37acbe877bc
RMD160 (wildmidi-0.2.3.4.tar.gz) = 50b4102f0b305ca0afd7649957a3a94343dbf2d6
Size (wildmidi-0.2.3.4.tar.gz) = 348971 bytes
+SHA1 (patch-configure) = 615aacc23c7a4a083d039be9df14219dda05d7c9
SHA1 (patch-src_Makefile.in) = c04041123a882bda5b0029f70e69fda17b381638
SHA1 (patch-src_wildmidi.c) = 6217cb6992d1eb6e04e2b55937fc555b658dc434
diff --git a/audio/libwildmidi/patches/patch-configure b/audio/libwildmidi/patches/patch-configure
new file mode 100644
index 00000000000..a076f506f7b
--- /dev/null
+++ b/audio/libwildmidi/patches/patch-configure
@@ -0,0 +1,13 @@
+$NetBSD: patch-configure,v 1.1 2013/10/28 23:43:35 joerg Exp $
+
+--- configure.orig 2013-10-18 12:36:49.000000000 +0000
++++ configure
+@@ -11212,7 +11212,7 @@ fi
+ if test "x$optimize" = xyes; then
+ if test "x$GCC" = xyes; then
+ BUILD_TYPE="$BUILD_TYPE Optimized"
+- CFLAGS="$CFLAGS -O2 -std=gnu99 -frename-registers -finline-limit=32000 -Winline -ffast-math -funroll-loops -fexpensive-optimizations -finline-functions"
++ CFLAGS="$CFLAGS -O2 -std=gnu99 -Winline -ffast-math -funroll-loops"
+ else
+ CFLAGS="$CFLAGS -O2"
+ fi