From 3fca12fe3b81fea4a19aeec24c4b956338f552aa Mon Sep 17 00:00:00 2001 From: markd Date: Thu, 7 Apr 2005 14:33:56 +0000 Subject: Define BSD44SOCKETS when building libaudio on NetBSD. From PR pkg/20615 by Scott Presnell. Scott's patch was added to nas before 1.7 but then broken, this fixes that. Bump PKGREVISION. --- audio/nas/Makefile | 3 ++- audio/nas/distinfo | 3 ++- audio/nas/patches/patch-ag | 13 +++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 audio/nas/patches/patch-ag diff --git a/audio/nas/Makefile b/audio/nas/Makefile index 13b0ff95ffe..83c12402494 100644 --- a/audio/nas/Makefile +++ b/audio/nas/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.51 2005/04/07 12:38:46 markd Exp $ +# $NetBSD: Makefile,v 1.52 2005/04/07 14:33:56 markd Exp $ DISTNAME= nas-1.7.src PKGNAME= ${DISTNAME:S/.src//} +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= http://nas.codebrilliance.com/nas/ \ ftp://ftp.uni-duisburg.de/Sound/NAS/ diff --git a/audio/nas/distinfo b/audio/nas/distinfo index 9e651f45aa8..0e886b0b4c9 100644 --- a/audio/nas/distinfo +++ b/audio/nas/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2005/02/23 20:39:50 agc Exp $ +$NetBSD: distinfo,v 1.13 2005/04/07 14:33:56 markd Exp $ SHA1 (nas-1.7.src.tar.gz) = a41adef84d0bf4c8e02b14d77bec0d284e7c9317 RMD160 (nas-1.7.src.tar.gz) = 227ddc4f5f9d264c97066dc461bad138776d1dfd @@ -8,3 +8,4 @@ SHA1 (patch-ac) = 36f8ee0ec494e9d6a7994780c608c7a5fbf2114d SHA1 (patch-ad) = 5918e8188c8400fc7133c3ae4016d99c7c7594fa SHA1 (patch-ae) = f8ec2cb1809937aa7366ab65bee294e8affce543 SHA1 (patch-af) = 3dfd09dad97549c69e44aac042ed971534926cca +SHA1 (patch-ag) = 2647f49866b335231439a2e4ba2d1840a136b5cc diff --git a/audio/nas/patches/patch-ag b/audio/nas/patches/patch-ag new file mode 100644 index 00000000000..77b09dece27 --- /dev/null +++ b/audio/nas/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2005/04/07 14:33:56 markd Exp $ + +--- lib/audio/Imakefile.orig 2005-04-08 01:55:21.000000000 +1200 ++++ lib/audio/Imakefile +@@ -59,7 +59,7 @@ + #endif + + XCOMM JET - hmmm. +-#if (defined(FreeBSDArchitecture) || defined(BSDArchitecture)) && defined(HasBSD44Sockets) ++#if (defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || defined(BSDArchitecture)) && defined(HasBSD44Sockets) + EXTRA_DEFINES = -DBSD44SOCKETS + #endif + -- cgit v1.2.3