ports/58505: fix build on 5.x

elvis elvis at sslab.cs.ccu.edu.tw
Sat Oct 25 01:40:18 UTC 2003


>Number:         58505
>Category:       ports
>Synopsis:       fix build on 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 24 18:40:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     elvis
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
System Software Lab. CSIE CCU Taiwan
>Environment:
System: FreeBSD sslab.cs.ccu.edu.tw 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #10: Sat Oct 4 14:23:21 CST 2003 root at sslab.cs.ccu.edu.tw:/ftp/obj/usr/src/sys/SSLAB i386

>Description:
	fix build on 5.x
>How-To-Repeat:

root sslab:/usr/ports/editors/ved> make
gmake[1]: Entering directory `/ftp/obj/usr/ports/editors/ved/work/ved-1.5/ved'
        ==> COMPILING "OBJ/i386-freebsd-cc/ved.o"
        ==> COMPILING "OBJ/i386-freebsd-cc/edit.o"
        ==> COMPILING "OBJ/i386-freebsd-cc/binding.o"
        ==> COMPILING "OBJ/i386-freebsd-cc/vedtmpops.o"
vedtmpops.c:60: conflicting types for `gftime'
func.h:362: previous declaration of `gftime'
gmake[1]: *** [OBJ/i386-freebsd-cc/vedtmpops.o] Error 1

>Fix:


diff -u -ruN ved/Makefile ved.1/Makefile
--- ved/Makefile	Wed Sep 24 11:44:14 2003
+++ ved.1/Makefile	Sat Oct 25 09:22:29 2003
@@ -19,10 +19,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 500113
-BROKEN=         "Does not compile"
-.endif
-
 post-patch:
 .for F in ved.h ved.1
 	${SED} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ved/$F \
diff -u -ruN ved/files/patch-ba ved.1/files/patch-ba
--- ved/files/patch-ba	Thu Jan  1 08:00:00 1970
+++ ved.1/files/patch-ba	Sat Oct 25 09:15:26 2003
@@ -0,0 +1,11 @@
+--- ved/vedtmpops.c.orig	Wed Dec 13 10:10:35 2000
++++ ved/vedtmpops.c	Sat Oct 25 09:14:05 2003
+@@ -57,8 +57,6 @@
+ #include "ved.h"
+ #include <timedefs.h>
+ 
+-extern	time_t	gftime		__PR((char *file));
+-
+ /*
+  * Should go away in the near future.
+  */

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



More information about the freebsd-ports-bugs mailing list