summaryrefslogtreecommitdiffstats
path: root/palm/makeztxt
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-17 21:11:50 +0000
committerkrion <krion@FreeBSD.org>2004-08-17 21:11:50 +0000
commitd7007f3cd9b4215d75227d4f69b110728ba8bde2 (patch)
tree7fa6e5b353b9f93eea30b368a0367b6d8b7ac0c5 /palm/makeztxt
parent4141f32bcdda8c93196423190b06260903ed89d5 (diff)
downloadFreeBSD-ports-d7007f3cd9b4215d75227d4f69b110728ba8bde2.zip
FreeBSD-ports-d7007f3cd9b4215d75227d4f69b110728ba8bde2.tar.gz
Fix build with gcc-3.4
PR: ports/70592 Submitted by: maintainer
Diffstat (limited to 'palm/makeztxt')
-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 b874e67..6a316a6 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. */
+ }
+
OpenPOWER on IntegriCloud