ports/167663: [PATCH] textproc/openvanilla-modules: fix BROKEN port

Po-Chien Lin linpc at cs.nctu.edu.tw
Mon May 7 02:00:25 UTC 2012


>Number:         167663
>Category:       ports
>Synopsis:       [PATCH] textproc/openvanilla-modules: fix BROKEN port
>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:   Mon May 07 02:00:23 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Po-Chien Lin
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD csvmnet67.cs.nctu.edu.tw 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- The prototype of scandir(3) has changed, so we add EXTRA_PATCHES for FreeBSD $OSVERSION >= 800501.

Added file(s):
- files/extra-patch-Modules-SharedSource-OVCINInfo.cpp

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- openvanilla-modules-0.7.2.20070514_3.patch begins here ---
diff -ruN --exclude=CVS ../openvanilla-modules.orig/Makefile ./Makefile
--- ../openvanilla-modules.orig/Makefile	2012-05-06 21:42:36.000000000 +0800
+++ ./Makefile	2012-05-07 09:52:04.000000000 +0800
@@ -37,8 +37,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 800501
-BROKEN=		does not build
+.if (${OSVERSION} >= 800501)
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-Modules-SharedSource-OVCINInfo.cpp
 .endif
 
 .if !defined(WITHOUT_OVIMArray)
diff -ruN --exclude=CVS ../openvanilla-modules.orig/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp ./files/extra-patch-Modules-SharedSource-OVCINInfo.cpp
--- ../openvanilla-modules.orig/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp	1970-01-01 08:00:00.000000000 +0800
+++ ./files/extra-patch-Modules-SharedSource-OVCINInfo.cpp	2012-05-07 09:52:04.000000000 +0800
@@ -0,0 +1,11 @@
+--- Modules/SharedSource/OVCINInfo.cpp.orig	2012-05-06 21:47:52.000000000 +0800
++++ Modules/SharedSource/OVCINInfo.cpp	2012-05-06 22:02:40.000000000 +0800
+@@ -67,7 +67,7 @@
+ }
+ 
+ #ifndef WIN32
+-    #ifdef __linux__
++    #if defined (__linux__) || defined (__FreeBSD__)
+        int CLFileSelect(const struct dirent *entry)
+     #else
+        int CLFileSelect(struct dirent *entry)
--- openvanilla-modules-0.7.2.20070514_3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list