summaryrefslogtreecommitdiff
path: root/audio/vorbis-tools
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-07-21 21:26:53 +0000
committermaya <maya@pkgsrc.org>2018-07-21 21:26:53 +0000
commitd2d060a745e6e403f2e20dcb782701063c7a96e1 (patch)
tree0bb9af3a50fd994b91feb29ac0d72770c5ccd979 /audio/vorbis-tools
parent1bdaab7934eb48ba29e08d6ebe14d8e850da75ac (diff)
downloadpkgsrc-d2d060a745e6e403f2e20dcb782701063c7a96e1.tar.gz
vorbis-tools: don't special case sparc sun hosts.
GCC doesn't have -mv8. PR pkg/37180.
Diffstat (limited to 'audio/vorbis-tools')
-rw-r--r--audio/vorbis-tools/distinfo3
-rw-r--r--audio/vorbis-tools/patches/patch-configure19
2 files changed, 21 insertions, 1 deletions
diff --git a/audio/vorbis-tools/distinfo b/audio/vorbis-tools/distinfo
index d7407c3aefb..6bfbae53646 100644
--- a/audio/vorbis-tools/distinfo
+++ b/audio/vorbis-tools/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2015/12/29 15:12:20 bsiegert Exp $
+$NetBSD: distinfo,v 1.27 2018/07/21 21:26:53 maya Exp $
SHA1 (vorbis-tools-1.4.0.tar.gz) = fc6a820bdb5ad6fcac074721fab5c3f96eaf6562
RMD160 (vorbis-tools-1.4.0.tar.gz) = ff21e5c9456ac0a82b8eda4e53931db8522a2ccd
@@ -8,4 +8,5 @@ SHA1 (patch-aa) = ea37946fb3a227d91eeb3ea94a9a7c9f8a3ef021
SHA1 (patch-ab) = 00c0a5a9388baf79fd944e12cda1da65e2e8676c
SHA1 (patch-ac) = 781ad97014c81f9fd40166cc29112247ef4acd6d
SHA1 (patch-ae) = 60ca36c35325e4228ea7f7f5b3a60cd57b56b0cd
+SHA1 (patch-configure) = ede9f755ae5d125325da50948d54367ae6c30d7b
SHA1 (patch-oggenc_audio.c) = 358aa58c2da15ce96db5163eec914df6fda2d9b2
diff --git a/audio/vorbis-tools/patches/patch-configure b/audio/vorbis-tools/patches/patch-configure
new file mode 100644
index 00000000000..3e2cd629423
--- /dev/null
+++ b/audio/vorbis-tools/patches/patch-configure
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure,v 1.1 2018/07/21 21:26:53 maya Exp $
+
+don't special case sparc sun, it might be GCC which won't have
+-mv8 (PR pkg/37180)
+
+--- configure.orig 2010-03-26 07:07:20.000000000 +0000
++++ configure
+@@ -20409,11 +20409,6 @@ else
+ CFLAGS="-O2 -Wall -ffast-math -fsigned-char"
+ PROFILE="-Wall -W -pg -g -O2 -ffast-math -fsigned-char"
+ ;;
+- sparc-sun-*)
+- DEBUG="-g -Wall -fsigned-char -mv8"
+- CFLAGS="-O20 -ffast-math -fsigned-char -mv8"
+- PROFILE="-pg -g -O20 -fsigned-char -mv8"
+- ;;
+ *-*-darwin*)
+ DEBUG="-fno-common -g -Wall -fsigned-char"
+ CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"