summaryrefslogtreecommitdiff
path: root/audio/aumix
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-15 20:04:30 +0000
committerhans <hans@pkgsrc.org>2012-02-15 20:04:30 +0000
commit4129731ef6fc7b4d687141406dd31a7745af30d2 (patch)
tree69e8a604bd9e12485a864994b2997261ff7d3abc /audio/aumix
parentbbf621821ccede5cfece57c91c73076909f30e68 (diff)
downloadpkgsrc-4129731ef6fc7b4d687141406dd31a7745af30d2.tar.gz
Fix build on SunOS. REPLACE_SH on installed shell scripts.
Diffstat (limited to 'audio/aumix')
-rw-r--r--audio/aumix/Makefile.common6
-rw-r--r--audio/aumix/distinfo3
-rw-r--r--audio/aumix/patches/patch-src_common.h15
3 files changed, 22 insertions, 2 deletions
diff --git a/audio/aumix/Makefile.common b/audio/aumix/Makefile.common
index 31633968f2d..3e779dea90a 100644
--- a/audio/aumix/Makefile.common
+++ b/audio/aumix/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2011/04/17 08:51:22 obache Exp $
+# $NetBSD: Makefile.common,v 1.7 2012/02/15 20:04:30 hans Exp $
# used by audio/aumix/Makefile
# used by audio/aumix-gtk/Makefile
@@ -29,5 +29,9 @@ CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --without-gtk1
CONFIGURE_ARGS+= --without-gtk
+LIBS.SunOS+= -lintl
+
+REPLACE_SH+= src/mute src/xaumix
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
diff --git a/audio/aumix/distinfo b/audio/aumix/distinfo
index b6531f30fd2..d8c65716070 100644
--- a/audio/aumix/distinfo
+++ b/audio/aumix/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 20:39:43 agc Exp $
+$NetBSD: distinfo,v 1.6 2012/02/15 20:04:30 hans Exp $
SHA1 (aumix-2.8.tar.bz2) = 5cea563ae91f628433a1950a36efd23681da4bf4
RMD160 (aumix-2.8.tar.bz2) = f7ab3737af772b97359dfc5d9852d06fda05aaa5
Size (aumix-2.8.tar.bz2) = 157503 bytes
SHA1 (patch-ad) = fc610f71143b892b68f798e3556bc756875dd26c
+SHA1 (patch-src_common.h) = 55106984552fb769cca82d847095351e1d8cec4e
diff --git a/audio/aumix/patches/patch-src_common.h b/audio/aumix/patches/patch-src_common.h
new file mode 100644
index 00000000000..9b5d4665355
--- /dev/null
+++ b/audio/aumix/patches/patch-src_common.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_common.h,v 1.1 2012/02/15 20:04:30 hans Exp $
+
+--- src/common.h.orig 2002-10-29 22:27:51.000000000 +0100
++++ src/common.h 2012-01-15 20:21:18.171640932 +0100
+@@ -42,6 +42,10 @@
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+
++#ifdef HAVE_LIMITS_H
++#include <limits.h>
++#endif
++
+ #ifdef HAVE_SYS_SOUNDCARD_H
+ #include <sys/soundcard.h>
+ #else