diff options
author | wiz <wiz@pkgsrc.org> | 2006-06-27 14:53:42 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-06-27 14:53:42 +0000 |
commit | 20c8536c3f6ae32dcdeb36d6ff582097b7750383 (patch) | |
tree | 9438ddca95a530db57798cf3b1bd582529f85802 /math | |
parent | 75ac56c395c91535def5c7fe3ff62b00004ebd34 (diff) | |
download | pkgsrc-20c8536c3f6ae32dcdeb36d6ff582097b7750383.tar.gz |
Fix build with gcc4 on NetBSD-3.99.21.
Diffstat (limited to 'math')
-rw-r--r-- | math/guppi/distinfo | 3 | ||||
-rw-r--r-- | math/guppi/patches/patch-am | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/math/guppi/distinfo b/math/guppi/distinfo index 400a2951a9f..b7f2efecfe8 100644 --- a/math/guppi/distinfo +++ b/math/guppi/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2006/06/13 07:23:58 dbj Exp $ +$NetBSD: distinfo,v 1.13 2006/06/27 14:54:55 wiz Exp $ SHA1 (Guppi-0.40.3.tar.bz2) = 7435bddddca9e3347efb006ad33198fbbe593ea7 RMD160 (Guppi-0.40.3.tar.bz2) = c1e5575a992e40966749a8a18b2143ed69329495 @@ -15,3 +15,4 @@ SHA1 (patch-ai) = 922c6a651662743e4ae4e4f2e3fe78a6ab86a296 SHA1 (patch-aj) = 867143c21e4aede1ca50d7ec5afa783c77bad391 SHA1 (patch-ak) = 5a45f1f3091eaa01c37b9b26fa7805939885be09 SHA1 (patch-al) = 39dbd475986807e93e1b2116e8d68265371f5e1a +SHA1 (patch-am) = 5b0ff8f822e1a2d64c7c39351627b56f137689ab diff --git a/math/guppi/patches/patch-am b/math/guppi/patches/patch-am new file mode 100644 index 00000000000..912d4d6b79f --- /dev/null +++ b/math/guppi/patches/patch-am @@ -0,0 +1,18 @@ +$NetBSD: patch-am,v 1.1 2006/06/27 14:54:55 wiz Exp $ + +--- src/libguppiuseful/guppi-plug-in.c.orig 2001-09-08 05:49:59.000000000 +0000 ++++ src/libguppiuseful/guppi-plug-in.c +@@ -44,10 +44,12 @@ static void + guppi_plug_in_finalize (GtkObject * obj) + { + GuppiPlugIn *pi = GUPPI_PLUG_IN (obj); ++ gpointer tmp; + + guppi_finalized (obj); + +- guppi_free0 ((gpointer)pi->load_path); ++ tmp = (gpointer)pi->load_path; ++ guppi_free0 (tmp); + + if (parent_class->finalize) + parent_class->finalize (obj); |