From 19646aef74193b3107a6506f0ce8ea3302aa8d7d Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 15 Feb 2012 20:04:30 +0000 Subject: Fix build on SunOS. REPLACE_SH on installed shell scripts. --- audio/aumix/Makefile.common | 6 +++++- audio/aumix/distinfo | 3 ++- audio/aumix/patches/patch-src_common.h | 15 +++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 audio/aumix/patches/patch-src_common.h (limited to 'audio/aumix') 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 + #include + ++#ifdef HAVE_LIMITS_H ++#include ++#endif ++ + #ifdef HAVE_SYS_SOUNDCARD_H + #include + #else -- cgit v1.2.3