aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-07-14 19:53:14 +0800
committervs <vs@FreeBSD.org>2004-07-14 19:53:14 +0800
commitd18de790210ae28787c0d607497ec246e42d9f01 (patch)
tree4a64d07ceb3cab99f5a4426716c1b8c8c17b8b24 /palm
parent4694d84326c828f783bd06b4753d74003728fdd8 (diff)
downloadfreebsd-ports-gnome-d18de790210ae28787c0d607497ec246e42d9f01.tar.gz
freebsd-ports-gnome-d18de790210ae28787c0d607497ec246e42d9f01.tar.zst
freebsd-ports-gnome-d18de790210ae28787c0d607497ec246e42d9f01.zip
Fix build w/ GCC2 / GTK2
PR: ports/69077 Submitted by: Alex Varju (maintainer)
Diffstat (limited to 'palm')
-rw-r--r--palm/jpilot/files/patch-address_gui.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/palm/jpilot/files/patch-address_gui.c b/palm/jpilot/files/patch-address_gui.c
new file mode 100644
index 000000000000..f5c1be5141c2
--- /dev/null
+++ b/palm/jpilot/files/patch-address_gui.c
@@ -0,0 +1,20 @@
+--- address_gui.c~ 2004-05-11 22:33:45.364123000 -0400
++++ address_gui.c 2004-05-11 22:38:37.506140000 -0400
+@@ -1427,13 +1427,15 @@
+ char number[100];
+ char ext[100];
+
+- number[0]=ext[0]='\0';
+- text=data;
+ #ifdef ENABLE_GTK2
+ GtkTextIter start_iter;
+ GtkTextIter end_iter;
+ GtkTextBuffer *text_buffer;
++#endif
+
++ number[0]=ext[0]='\0';
++ text=data;
++#ifdef ENABLE_GTK2
+ text_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text));
+ gtk_text_buffer_get_bounds(GTK_TEXT_BUFFER(text),&start_iter,&end_iter);
+ str = gtk_text_buffer_get_text(GTK_TEXT_BUFFER(text),&start_iter,&end_iter,TRUE);