summaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-07-14 11:53:14 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-07-14 11:53:14 +0000
commit85a2d3ddb220afb9a5930481b4e639c06f5792a9 (patch)
tree8ddc99ffb1b88600d72afe46e74cb9c91689a5f3 /palm
parent- Samples are now installed by default (diff)
Fix build w/ GCC2 / GTK2
PR: ports/69077 Submitted by: Alex Varju (maintainer)
Notes
Notes: svn path=/head/; revision=113632
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);