diff options
author | hans <hans@pkgsrc.org> | 2012-02-15 20:04:30 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-15 20:04:30 +0000 |
commit | 4129731ef6fc7b4d687141406dd31a7745af30d2 (patch) | |
tree | 69e8a604bd9e12485a864994b2997261ff7d3abc | |
parent | bbf621821ccede5cfece57c91c73076909f30e68 (diff) | |
download | pkgsrc-4129731ef6fc7b4d687141406dd31a7745af30d2.tar.gz |
Fix build on SunOS. REPLACE_SH on installed shell scripts.
-rw-r--r-- | audio/aumix/Makefile.common | 6 | ||||
-rw-r--r-- | audio/aumix/distinfo | 3 | ||||
-rw-r--r-- | audio/aumix/patches/patch-src_common.h | 15 |
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 |