mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Fix build when ${OSVERSION} >= 800501
PR: ports/167663 Submitted by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
This commit is contained in:
parent
b0e7f37eab
commit
b762b850f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296448
@ -37,8 +37,8 @@ MAKE_ARGS+= INSTALL_PREFIX=${PREFIX} OV_INCLUDE=${LOCALBASE}/include
|
||||
|
||||
.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)
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user