summaryrefslogtreecommitdiff
path: root/audio/wsoundprefs
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2004-11-25 13:14:01 +0000
committeradam <adam@pkgsrc.org>2004-11-25 13:14:01 +0000
commit3c6a78ec4c2cb50037e59fea1bcaadd4b813c714 (patch)
tree73a256b3ed0880d922a45defd4d53ab1c8912913 /audio/wsoundprefs
parentb43037b32d9e199f2ad7f47929e9df93a445e627 (diff)
downloadpkgsrc-3c6a78ec4c2cb50037e59fea1bcaadd4b813c714.tar.gz
Fixed compiling with windowmaker-0.9x
Diffstat (limited to 'audio/wsoundprefs')
-rw-r--r--audio/wsoundprefs/Makefile3
-rw-r--r--audio/wsoundprefs/distinfo4
-rw-r--r--audio/wsoundprefs/patches/patch-af13
-rw-r--r--audio/wsoundprefs/patches/patch-ag13
4 files changed, 31 insertions, 2 deletions
diff --git a/audio/wsoundprefs/Makefile b/audio/wsoundprefs/Makefile
index f6a99f0c3e7..85d384a63d7 100644
--- a/audio/wsoundprefs/Makefile
+++ b/audio/wsoundprefs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/10/03 00:13:10 tv Exp $
+# $NetBSD: Makefile,v 1.22 2004/11/25 13:14:01 adam Exp $
#
DISTNAME= WSoundPrefs-1.1.1
@@ -13,6 +13,7 @@ COMMENT= WSoundServer configuration utility
USE_BUILDLINK3= YES
USE_IMAKE= YES
+LIBS+= -lXft
.include "../../audio/wsoundserver/buildlink3.mk"
.include "../../wm/windowmaker/buildlink3.mk"
diff --git a/audio/wsoundprefs/distinfo b/audio/wsoundprefs/distinfo
index 6a8e4daca3b..ac5dd3d6a7d 100644
--- a/audio/wsoundprefs/distinfo
+++ b/audio/wsoundprefs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2002/08/31 03:08:59 wiz Exp $
+$NetBSD: distinfo,v 1.6 2004/11/25 13:14:02 adam Exp $
SHA1 (WSoundPrefs-1.1.1.tar.gz) = 444571543e7a076cc49ee484dbcfd0aefc184316
Size (WSoundPrefs-1.1.1.tar.gz) = 32042 bytes
@@ -7,3 +7,5 @@ SHA1 (patch-ab) = 8daeb7657ba5518d730ec88ff73da5a577fd5710
SHA1 (patch-ac) = 592155f98fa0b51690e766eb75bde69531313533
SHA1 (patch-ad) = 5d37585aea3950f2d01d66333cbd6fd59d3a42c8
SHA1 (patch-ae) = 675b6b8039016f99b7bdb744eb01747f5f5f8c31
+SHA1 (patch-af) = 9b60b779af703075058f8a88669cae70a5eecddb
+SHA1 (patch-ag) = ec0c1a3c2223b9728fa69f85547cce6b12177c06
diff --git a/audio/wsoundprefs/patches/patch-af b/audio/wsoundprefs/patches/patch-af
new file mode 100644
index 00000000000..614ddb43299
--- /dev/null
+++ b/audio/wsoundprefs/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2004/11/25 13:14:02 adam Exp $
+
+--- src/main.c.orig 2004-11-25 13:43:01.000000000 +0000
++++ src/main.c
+@@ -109,7 +109,7 @@ main(int argc, char **argv)
+ wwarning(_("could not load image file %s:%s"), path, RMessageForError(RErrorCode));
+ else {
+ icon = WMCreatePixmapFromRImage(scr, tmp, 0);
+- RDestroyImage(tmp);
++ RReleaseImage(tmp);
+ if (icon) {
+ WMSetApplicationIconImage(scr, icon);
+ WMReleasePixmap(icon);
diff --git a/audio/wsoundprefs/patches/patch-ag b/audio/wsoundprefs/patches/patch-ag
new file mode 100644
index 00000000000..e3c18fb476d
--- /dev/null
+++ b/audio/wsoundprefs/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2004/11/25 13:14:02 adam Exp $
+
+--- src/WSoundPrefs.c.orig 2004-11-25 13:48:33.000000000 +0000
++++ src/WSoundPrefs.c
+@@ -407,7 +407,7 @@ Initialize(WMScreen *scr)
+ WMResizeWidget(panel->copyrightL, 448, 20);
+ WMMoveWidget(panel->copyrightL, 8, 178);
+ WMSetLabelTextAlignment(panel->copyrightL, WACenter);
+- font = WMCreateNormalFont(scr, "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*");
++ font = WMCreateFont(scr, "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*");
+ if (font)
+ WMSetLabelText(panel->copyrightL, "Copyright \xa9 1999 The Az\xe5rg-r\xfbh");
+ else {