pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/rpcemu



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Nov 19 19:26:29 UTC 2020

Modified Files:
        pkgsrc/emulators/rpcemu: Makefile

Log Message:
rpcemu: Fix building on NetBSD due to non-standard fopen64 crap


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/rpcemu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/rpcemu/Makefile
diff -u pkgsrc/emulators/rpcemu/Makefile:1.4 pkgsrc/emulators/rpcemu/Makefile:1.5
--- pkgsrc/emulators/rpcemu/Makefile:1.4        Thu Nov  5 09:08:04 2020
+++ pkgsrc/emulators/rpcemu/Makefile    Thu Nov 19 19:26:28 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/11/05 09:08:04 ryoon Exp $
+# $NetBSD: Makefile,v 1.5 2020/11/19 19:26:28 nia Exp $
 
 DISTNAME=      rpcemu-0.9.3
 PKGREVISION=   3
@@ -16,6 +16,11 @@ TOOL_DEPENDS+=       qt5-qttools-[0-9]*:../../
 
 INSTALLATION_DIRS+=    bin
 
+CFLAGS.NetBSD+=        -Dfopen64=fopen
+CFLAGS.NetBSD+=        -Dftello64=ftello
+CFLAGS.NetBSD+=        -Dfseeko64=fseeko
+CFLAGS.NetBSD+=        -Doff64_t=off_t
+
 post-patch:
        ${RUN} cd ${WRKSRC}/src && \
                ${PATCH} -p1 <${FILESDIR}/rpcemu-0.9.3-mac-patch-v1.patch



Home | Main Index | Thread Index | Old Index