summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-08-21 14:48:09 +0000
committerjperkin <jperkin@pkgsrc.org>2014-08-21 14:48:09 +0000
commit345be20cf6b43154059b1b7e70a3c2619e566874 (patch)
treecebee43c00779e15e9f9844ff6af1741834cd784 /audio
parent10b29aa1892b4fae53d05b27141b5cd7467d1e93 (diff)
downloadpkgsrc-345be20cf6b43154059b1b7e70a3c2619e566874.tar.gz
Fix build on SunOS (add explicit -lWUtil, wsyserror -> werror).
Diffstat (limited to 'audio')
-rw-r--r--audio/wsoundprefs/distinfo6
-rw-r--r--audio/wsoundprefs/patches/patch-ab12
-rw-r--r--audio/wsoundprefs/patches/patch-ad13
3 files changed, 24 insertions, 7 deletions
diff --git a/audio/wsoundprefs/distinfo b/audio/wsoundprefs/distinfo
index defe6450ad5..bb0ee27094f 100644
--- a/audio/wsoundprefs/distinfo
+++ b/audio/wsoundprefs/distinfo
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.11 2012/07/12 20:28:19 marino Exp $
+$NetBSD: distinfo,v 1.12 2014/08/21 14:48:09 jperkin Exp $
SHA1 (WSoundPrefs-1.1.1.tar.gz) = 444571543e7a076cc49ee484dbcfd0aefc184316
RMD160 (WSoundPrefs-1.1.1.tar.gz) = c9793dd9c6b100f9de3fa9b2771c684ac890016e
Size (WSoundPrefs-1.1.1.tar.gz) = 32042 bytes
SHA1 (patch-aa) = d4aa25406a7fa7f76608f8111308d16bafa5eb9d
-SHA1 (patch-ab) = 8d70463570284c80361824290d218fdc953f2b11
+SHA1 (patch-ab) = 3483c3695e206396ee33b87a22f4b5db4c9cf9ef
SHA1 (patch-ac) = 592155f98fa0b51690e766eb75bde69531313533
-SHA1 (patch-ad) = 5d37585aea3950f2d01d66333cbd6fd59d3a42c8
+SHA1 (patch-ad) = 7dd3c2a988664c17c57a251eacab3617b9fdb814
SHA1 (patch-ae) = 675b6b8039016f99b7bdb744eb01747f5f5f8c31
SHA1 (patch-af) = 9b60b779af703075058f8a88669cae70a5eecddb
SHA1 (patch-ag) = ec0c1a3c2223b9728fa69f85547cce6b12177c06
diff --git a/audio/wsoundprefs/patches/patch-ab b/audio/wsoundprefs/patches/patch-ab
index a1161b13dc6..90a7886fc9b 100644
--- a/audio/wsoundprefs/patches/patch-ab
+++ b/audio/wsoundprefs/patches/patch-ab
@@ -1,4 +1,6 @@
-$NetBSD: patch-ab,v 1.10 2012/07/12 20:28:20 marino Exp $
+$NetBSD: patch-ab,v 1.11 2014/08/21 14:48:09 jperkin Exp $
+
+Add explicit -lWUtil.
--- src/Imakefile.orig 1999-10-18 08:35:58.000000000 +0000
+++ src/Imakefile
@@ -11,7 +13,13 @@ $NetBSD: patch-ab,v 1.10 2012/07/12 20:28:20 marino Exp $
XCOMM EFENCELIB = -lefence
EFENCELIB =
-@@ -23,14 +23,14 @@ WINGSLIBS = -lWINGs -lPropList
+@@ -18,19 +18,19 @@ WSOUNDLIBS = `get-wsound-flags --libs`
+ WRASTERCFLAGS = `get-wraster-flags --cflags`
+ WRASTERLFLAGS = `get-wraster-flags --lflags`
+ WRASTERLIBS = `get-wraster-flags --libs`
+-WINGSLIBS = -lWINGs -lPropList
++WINGSLIBS = -lWINGs -lPropList -lWUtil
+
STD_INCLUDES = $(WRASTERCFLAGS) $(WSOUNDCFLAGS)
DEPLIBS = $(DEPXLIB)
diff --git a/audio/wsoundprefs/patches/patch-ad b/audio/wsoundprefs/patches/patch-ad
index 4dc90cb3b9a..12d0e9338b8 100644
--- a/audio/wsoundprefs/patches/patch-ad
+++ b/audio/wsoundprefs/patches/patch-ad
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.1 2001/03/12 21:19:10 wiz Exp $
+$NetBSD: patch-ad,v 1.2 2014/08/21 14:48:09 jperkin Exp $
---- src/SystemInfo.c.orig Wed Jun 16 11:53:35 1999
+--- src/SystemInfo.c.orig 1999-06-16 09:53:35.000000000 +0000
+++ src/SystemInfo.c
@@ -32,8 +32,8 @@
#include <sys/types.h>
@@ -13,3 +13,12 @@ $NetBSD: patch-ad,v 1.1 2001/03/12 21:19:10 wiz Exp $
#include "WSoundPrefs.h"
#include "SystemInfo.h"
+@@ -117,7 +117,7 @@ destroySystemInfo(SystemInfo *sysinfo)
+ free(sysinfo);
+ }
+ else {
+- wsyserror(_("Trying to free non-existent SystemInfo struct"));
++ werror(_("Trying to free non-existent SystemInfo struct"));
+ }
+ }
+