aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-18 05:11:50 +0800
committerkrion <krion@FreeBSD.org>2004-08-18 05:11:50 +0800
commitd7007f3cd9b4215d75227d4f69b110728ba8bde2 (patch)
tree7fa6e5b353b9f93eea30b368a0367b6d8b7ac0c5 /palm
parent4141f32bcdda8c93196423190b06260903ed89d5 (diff)
downloadfreebsd-ports-gnome-d7007f3cd9b4215d75227d4f69b110728ba8bde2.tar.gz
freebsd-ports-gnome-d7007f3cd9b4215d75227d4f69b110728ba8bde2.tar.zst
freebsd-ports-gnome-d7007f3cd9b4215d75227d4f69b110728ba8bde2.zip
Fix build with gcc-3.4
PR: ports/70592 Submitted by: maintainer
Diffstat (limited to 'palm')
-rw-r--r--palm/makeztxt/files/patch-libztxt::ztxt_process.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/palm/makeztxt/files/patch-libztxt::ztxt_process.c b/palm/makeztxt/files/patch-libztxt::ztxt_process.c
index b874e67826d7..6a316a66e6b0 100644
--- a/palm/makeztxt/files/patch-libztxt::ztxt_process.c
+++ b/palm/makeztxt/files/patch-libztxt::ztxt_process.c
@@ -1,5 +1,5 @@
---- libztxt/ztxt_process.c.old Sat Mar 2 07:03:18 2002
-+++ libztxt/ztxt_process.c Sun Sep 29 15:52:49 2002
+--- libztxt/ztxt_process.c.orig Sat Mar 2 07:03:18 2002
++++ libztxt/ztxt_process.c Sat Aug 14 13:35:00 2004
@@ -30,6 +30,7 @@
#include <stdlib.h>
#include <stdio.h>
@@ -8,3 +8,12 @@
#include <regex.h>
#include <zlib.h>
#include "ztxt.h"
+@@ -140,7 +141,7 @@
+ break;
+
+ case 2:
+- default:
++ default:;
+ /* Just leave the next alone. No linefeed stripping. */
+ }
+