summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-05-09 14:17:02 +0000
committernia <nia@pkgsrc.org>2019-05-09 14:17:02 +0000
commit6f537a5ca7c3a060bb0b5b64e8bf2d0776e1abcc (patch)
treee16e392f14c7f9bada868c61f3f672185d6b2396 /emulators
parenta59c36aaa3912f89cc906ccb0944dc3448e859cf (diff)
downloadpkgsrc-6f537a5ca7c3a060bb0b5b64e8bf2d0776e1abcc.tar.gz
libretro-desmume: Fix build with libpcap-1.8.1
Diffstat (limited to 'emulators')
-rw-r--r--emulators/libretro-desmume/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/libretro-desmume/Makefile b/emulators/libretro-desmume/Makefile
index aa65d7f2be3..4a4a14704d9 100644
--- a/emulators/libretro-desmume/Makefile
+++ b/emulators/libretro-desmume/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/01/03 21:51:52 nia Exp $
+# $NetBSD: Makefile,v 1.7 2019/05/09 14:17:02 nia Exp $
DISTNAME= libretro-desmume-20181207
CATEGORIES= emulators
@@ -21,6 +21,10 @@ USE_LANGUAGES= c c++
CXXFLAGS+= -D__STDC_FORMAT_MACROS
+# fix build with libpcap-1.8.1
+# see issues/58
+CXXFLAGS+= -DHAVE_REMOTE
+
.if !empty(MACHINE_ARCH:M*arm*)
CXXFLAGS+= -marm
CXXFLAGS+= -DUSE_POSIX_MEMALIGN -D__RETRO_ARM__