pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/rpcemu rpcemu: Fix building on NetBSD due to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3c60a05c88a
branches:  trunk
changeset: 442170:d3c60a05c88a
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Nov 19 19:26:28 2020 +0000

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

diffstat:

 emulators/rpcemu/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c63fec652c60 -r d3c60a05c88a emulators/rpcemu/Makefile
--- a/emulators/rpcemu/Makefile Thu Nov 19 19:24:26 2020 +0000
+++ b/emulators/rpcemu/Makefile Thu Nov 19 19:26:28 2020 +0000
@@ -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 @@
 
 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