summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2005-01-23 18:11:46 +0000
committerkristerw <kristerw@pkgsrc.org>2005-01-23 18:11:46 +0000
commita80efa0fbf297ad59323501ab4cf87247e995c15 (patch)
tree33e7a7a4b91f65fcbdeb90b0cb15ee81b3c5bdb4 /audio
parentafea596e2815fe88a2875b1b0a0e0e9b7163b52b (diff)
downloadpkgsrc-a80efa0fbf297ad59323501ab4cf87247e995c15.tar.gz
Fix C99-isms to make this pkg build with gcc 2.95.
Diffstat (limited to 'audio')
-rw-r--r--audio/gmpc/distinfo3
-rw-r--r--audio/gmpc/patches/patch-aa19
2 files changed, 21 insertions, 1 deletions
diff --git a/audio/gmpc/distinfo b/audio/gmpc/distinfo
index 3670016d901..42fc4b7bc54 100644
--- a/audio/gmpc/distinfo
+++ b/audio/gmpc/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2004/11/29 20:45:42 wiz Exp $
+$NetBSD: distinfo,v 1.3 2005/01/23 18:11:46 kristerw Exp $
SHA1 (gmpc-0.11.2.tar.gz) = 2a8902abc0722583d6be97e412ae31ee54130d11
Size (gmpc-0.11.2.tar.gz) = 210365 bytes
+SHA1 (patch-aa) = 90871a10e1a3ee7ae8c09f49a656d6a121bee000
diff --git a/audio/gmpc/patches/patch-aa b/audio/gmpc/patches/patch-aa
new file mode 100644
index 00000000000..c20fe26b085
--- /dev/null
+++ b/audio/gmpc/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2005/01/23 18:11:46 kristerw Exp $
+
+--- src/tray-icon.c.orig Sun Jan 23 18:47:03 2005
++++ src/tray-icon.c Sun Jan 23 18:47:29 2005
+@@ -198,13 +198,13 @@
+ GdkRectangle msize;
+ int x,y;
+ int x_tv,y_tv;
++ char *tooltiptext = NULL;
+ int monitor = gdk_screen_get_monitor_at_window(
+ gtk_widget_get_screen(tv), tv->window);
+ GtkWidget *eventb;
+ if(tip != NULL) return FALSE;
+
+
+- char *tooltiptext = NULL;
+
+ tooltiptext = tray_get_tooltip_text();
+ gdk_screen_get_monitor_geometry(