aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-06-17 15:50:47 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-06-17 15:50:47 +0000
commit3d0d03c71a984041a627a79bd86333c822c6f26e (patch)
tree7ea2aa0da2fc047136e56eebb4481892ad0b776c /palm
parentc83a62fe143a3310852fa4145e6aa0dbbbb28ead (diff)
downloadports-3d0d03c71a984041a627a79bd86333c822c6f26e.tar.gz
ports-3d0d03c71a984041a627a79bd86333c822c6f26e.zip
Fix crash on startup when compiled with latest GTK2.
PR: ports/98929 [1], ports/98994 [2] Reported by: Guy Brand <gb@isis.u-strasbg.fr> [1] Submitted by: maintainer [2]
Notes
Notes: svn path=/head/; revision=165653
Diffstat (limited to 'palm')
-rw-r--r--palm/jpilot/Makefile2
-rw-r--r--palm/jpilot/files/patch-jpilot18
2 files changed, 19 insertions, 1 deletions
diff --git a/palm/jpilot/Makefile b/palm/jpilot/Makefile
index 80cc7af20887..6daee25ac333 100644
--- a/palm/jpilot/Makefile
+++ b/palm/jpilot/Makefile
@@ -8,7 +8,7 @@
PORTNAME= jpilot
PORTVERSION= 0.99.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES+= palm comms
MASTER_SITES= http://jpilot.org/
diff --git a/palm/jpilot/files/patch-jpilot b/palm/jpilot/files/patch-jpilot
new file mode 100644
index 000000000000..6be41c16cf62
--- /dev/null
+++ b/palm/jpilot/files/patch-jpilot
@@ -0,0 +1,18 @@
+diff -u -r1.127 -r1.128
+--- jpilot.c 28 Nov 2005 07:22:22 -0000 1.127
++++ jpilot.c 16 Dec 2005 13:33:27 -0000 1.128
+@@ -1,4 +1,4 @@
+-/* $Id: jpilot.c,v 1.127 2005/11/28 07:22:22 rikster5 Exp $ */
++/* $Id: jpilot.c,v 1.128 2005/12/16 13:33:27 rousseau Exp $ */
+
+ /*******************************************************************************
+ * jpilot.c
+@@ -1367,7 +1367,7 @@
+ gdk_pixdata_from_pixbuf(pixdata, pixbuf, FALSE);
+ data = gdk_pixdata_serialize(pixdata, &len);
+
+- g_free(pixbuf);
++ g_object_unref(pixbuf);
+ g_free(pixdata);
+
+ return data;