diff options
author | pawel <pawel@FreeBSD.org> | 2012-05-12 03:27:22 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-05-12 03:27:22 +0800 |
commit | 1f25fe8787a2c890e2c928a517ee390870c9a4ad (patch) | |
tree | d2268acea561b00ea599dc4cbca2f0cca0acff19 /textproc/openvanilla-modules | |
parent | 170d528982754978c31806566e5af8e1708d2992 (diff) | |
download | freebsd-ports-gnome-1f25fe8787a2c890e2c928a517ee390870c9a4ad.tar.gz freebsd-ports-gnome-1f25fe8787a2c890e2c928a517ee390870c9a4ad.tar.zst freebsd-ports-gnome-1f25fe8787a2c890e2c928a517ee390870c9a4ad.zip |
Fix build when ${OSVERSION} >= 800501
PR: ports/167663
Submitted by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
Diffstat (limited to 'textproc/openvanilla-modules')
-rw-r--r-- | textproc/openvanilla-modules/Makefile | 4 | ||||
-rw-r--r-- | textproc/openvanilla-modules/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/textproc/openvanilla-modules/Makefile b/textproc/openvanilla-modules/Makefile index 519390d4ae9d..3fa49b0f30f7 100644 --- a/textproc/openvanilla-modules/Makefile +++ b/textproc/openvanilla-modules/Makefile @@ -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) diff --git a/textproc/openvanilla-modules/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp b/textproc/openvanilla-modules/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp new file mode 100644 index 000000000000..aa8981d4899e --- /dev/null +++ b/textproc/openvanilla-modules/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp @@ -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)
\ No newline at end of file |