ports/70592: Fix palm/makeztxt build with gcc 3.4.2

Roman Shterenzon ports at oven.org
Tue Aug 17 20:50:29 UTC 2004


>Number:         70592
>Category:       ports
>Synopsis:       Fix palm/makeztxt build with gcc 3.4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 17 20:50:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD alchemy.oven.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 5 23:11:42 IDT 2004 root at alchemy.oven.org:/local/obj/local/src/sys/ALCHEMY i386


	
>Description:
Fix palm/makeztxt build with gcc 3.4.2

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/palm/makeztxt/files/patch-libztxt::ztxt_process.c makeztxt/files/patch-libztxt::ztxt_process.c
--- /usr/ports/palm/makeztxt/files/patch-libztxt::ztxt_process.c	Mon Oct 21 01:10:16 2002
+++ makeztxt/files/patch-libztxt::ztxt_process.c	Sat Aug 14 13:36:01 2004
@@ -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. */
+         }
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list