Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  1 Oct 2006 23:11:35 +0200 (CEST)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/103881: [PATCH] net/archie: fix build with gcc41
Message-ID:  <20061001211135.820293A3E6@pin.if.uz.zgora.pl>
Resent-Message-ID: <200610012120.k91LK4qk023255@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103881
>Category:       ports
>Synopsis:       [PATCH] net/archie: fix build with gcc41
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 01 21:20:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun  3 01:12:10 CEST
>Description:
Fix build with gcc41 and make it respect $CC and $CFLAGS.

(http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006092721/archie-1.4.1.log)

Added file(s):
- files/patch-regex.c

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- archie-1.4.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/archie/files/patch-aa /home/trasz/archie/files/patch-aa
--- /usr/ports/net/archie/files/patch-aa	Tue Aug 11 20:30:40 1998
+++ /home/trasz/archie/files/patch-aa	Sun Oct  1 23:09:40 2006
@@ -1,14 +1,6 @@
---- Makefile.orig	Mon Oct 26 15:11:04 1992
-+++ Makefile	Tue Jul 28 09:44:38 1998
-@@ -2,14 +2,14 @@
- # Makefile for the minimal build for an archie Prospero client.
- #
- # Your C compiler:
--#CC=cc
-+CC=cc
- 
- # For most systems, these OPTIONS will suffice.  Exceptions:
- #
+--- Makefile.orig	Tue Oct 27 00:11:04 1992
++++ Makefile	Sun Oct  1 23:06:07 2006
+@@ -9,7 +9,7 @@
  #	* If you're on a Stardent, add  -43
  #	* If you're running EP/IX, you may need to add  -systype bsd43
  #	  but try it without it first.
@@ -35,6 +27,15 @@
  
  #	Usually LDFLAGS is empty; if, after you build this, archie
  #	 complains that it can't resolve ARCHIE.ANS.NET (or whatever
+@@ -73,7 +73,7 @@
+ # Yer' done....make archie.
+ # =========================
+ #
+-CFLAGS=$(OPTIONS) $(DEFINES) -DARCHIE_HOST=\"$(ARCHIE)\"
++CFLAGS+=$(OPTIONS) $(DEFINES) -DARCHIE_HOST=\"$(ARCHIE)\"
+ 
+ VERSION=1.4.1
+ VMS_VERSION=`echo $(VERSION) | sed -e 's,\\.,_,g'`
 @@ -84,6 +84,10 @@
  	vlalloc.o vl_comp.o
  
diff -ruN --exclude=CVS /usr/ports/net/archie/files/patch-regex.c /home/trasz/archie/files/patch-regex.c
--- /usr/ports/net/archie/files/patch-regex.c	Thu Jan  1 01:00:00 1970
+++ /home/trasz/archie/files/patch-regex.c	Sun Oct  1 23:09:40 2006
@@ -0,0 +1,11 @@
+--- regex.c.orig	Sun Oct  1 23:04:54 2006
++++ regex.c	Sun Oct  1 23:04:56 2006
+@@ -447,7 +447,7 @@
+ static char *bol;
+ static char *bopat[MAXTAG];
+ static char *eopat[MAXTAG];
+-char *pmatch();
++static char *pmatch();
+ 
+ /*
+  * re_exec:
--- archie-1.4.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061001211135.820293A3E6>