diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-11-12 20:53:32 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-11-12 20:53:32 +0000 |
commit | f298099c5e7a4953db70c55bad3641e3bd0c05c4 (patch) | |
tree | ae0a0a0f3f137d5bb430c2e49a7c0719840fc09d | |
parent | 5401909985d9a90ee55f0cf95d8739436708e85a (diff) | |
download | pkgsrc-f298099c5e7a4953db70c55bad3641e3bd0c05c4.tar.gz |
Fix a C99-ism to make this pkg build with gcc 2.95.
-rw-r--r-- | audio/libvisual-xmms/distinfo | 3 | ||||
-rw-r--r-- | audio/libvisual-xmms/patches/patch-ab | 21 | ||||
-rw-r--r-- | wm/windowmaker/distinfo | 3 | ||||
-rw-r--r-- | wm/windowmaker/patches/patch-ag | 15 |
4 files changed, 40 insertions, 2 deletions
diff --git a/audio/libvisual-xmms/distinfo b/audio/libvisual-xmms/distinfo index c5bdedbd825..998663457d7 100644 --- a/audio/libvisual-xmms/distinfo +++ b/audio/libvisual-xmms/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/11/05 23:09:21 wiz Exp $ +$NetBSD: distinfo,v 1.2 2004/11/12 20:53:32 kristerw Exp $ SHA1 (libvisual-xmms-0.1.7.tar.gz) = e6e33c99b15bc986ad93801159d6e65eed0ae2b0 Size (libvisual-xmms-0.1.7.tar.gz) = 378471 bytes SHA1 (patch-aa) = cc01876e758ebbff13c930514b5f3274fd853461 +SHA1 (patch-ab) = 2a9ddff14a7638ca0589481837a357a88bbc559c diff --git a/audio/libvisual-xmms/patches/patch-ab b/audio/libvisual-xmms/patches/patch-ab new file mode 100644 index 00000000000..2d849f82516 --- /dev/null +++ b/audio/libvisual-xmms/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 2004/11/12 20:53:32 kristerw Exp $ + +--- src/main.c.orig Fri Nov 12 21:45:23 2004 ++++ src/main.c Fri Nov 12 21:45:51 2004 +@@ -451,14 +451,14 @@ + + static int visual_render (void *arg) + { +- visual_running = 1; +- visual_stopped = 0; + long render_time, now; + long frame_length; + long idle_time; + long frames; + int ret; + ++ visual_running = 1; ++ visual_stopped = 0; + /* Alright set up the display stuff, we have to do this in this thread because + * GL don't like cross threadness */ + ret = visual_initialize (options->width, options->height); diff --git a/wm/windowmaker/distinfo b/wm/windowmaker/distinfo index 04140d1c285..2a7fb9345fd 100644 --- a/wm/windowmaker/distinfo +++ b/wm/windowmaker/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.19 2004/11/05 11:51:35 adam Exp $ +$NetBSD: distinfo,v 1.20 2004/11/12 21:17:55 kristerw Exp $ SHA1 (WindowMaker-0.91.0.tar.bz2) = 14fb553943b5cbfaaa867d28405b910e73d3b509 Size (WindowMaker-0.91.0.tar.bz2) = 2198266 bytes @@ -8,4 +8,5 @@ SHA1 (patch-ac) = 7dfc20cd0b1e8638afb920bf631b44d918e59ac6 SHA1 (patch-ad) = 183b529289bbcb8dd7590296e546c166aef8da0a SHA1 (patch-ae) = 70f21b44a45fad4b2bf48af75820a22ed1e4e857 SHA1 (patch-af) = dc749bbbea0c0e8d5b42d7d1be76b60b3af794b2 +SHA1 (patch-ag) = 84326d25c3e3d3305aeb58e8caf7a49565a1bd7c SHA1 (patch-ah) = b391a48f723c62335448007a89c6958a7d922d86 diff --git a/wm/windowmaker/patches/patch-ag b/wm/windowmaker/patches/patch-ag new file mode 100644 index 00000000000..f87f232129e --- /dev/null +++ b/wm/windowmaker/patches/patch-ag @@ -0,0 +1,15 @@ +$NetBSD: patch-ag,v 1.3 2004/11/12 21:17:55 kristerw Exp $ + +--- src/wmspec.c.orig Fri Nov 12 22:06:05 2004 ++++ src/wmspec.c Fri Nov 12 22:08:17 2004 +@@ -392,8 +392,9 @@ + RImage *new_rimage; + + do { ++ unsigned int tmp; + len = data[pos+0]*data[pos+1]; +- unsigned int tmp = pref_sq-len; ++ tmp = pref_sq-len; + if (tmp < best_tmp && tmp > 0) { + best_tmp = tmp; + best_pos = pos; |