pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-desmume libretro-desmume: Fix build...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eae138a72e0b
branches: trunk
changeset: 323527:eae138a72e0b
user: nia <nia%pkgsrc.org@localhost>
date: Sun May 12 09:49:39 2019 +0000
description:
libretro-desmume: Fix build with older libpcap, hopefully properly this time.
diffstat:
emulators/libretro-desmume/Makefile | 7 +---
emulators/libretro-desmume/distinfo | 3 +-
emulators/libretro-desmume/patches/patch-desmume_src_wifi.cpp | 15 +++++++++++
3 files changed, 19 insertions(+), 6 deletions(-)
diffs (55 lines):
diff -r c2413dde676c -r eae138a72e0b emulators/libretro-desmume/Makefile
--- a/emulators/libretro-desmume/Makefile Sun May 12 09:20:02 2019 +0000
+++ b/emulators/libretro-desmume/Makefile Sun May 12 09:49:39 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2019/05/09 14:39:09 nia Exp $
+# $NetBSD: Makefile,v 1.9 2019/05/12 09:49:39 nia Exp $
DISTNAME= libretro-desmume-20190426
+PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
GITHUB_PROJECT= desmume
@@ -21,10 +22,6 @@
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__
diff -r c2413dde676c -r eae138a72e0b emulators/libretro-desmume/distinfo
--- a/emulators/libretro-desmume/distinfo Sun May 12 09:20:02 2019 +0000
+++ b/emulators/libretro-desmume/distinfo Sun May 12 09:49:39 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2019/05/09 14:39:09 nia Exp $
+$NetBSD: distinfo,v 1.4 2019/05/12 09:49:39 nia Exp $
SHA1 (libretro-desmume-20190426-3069551c2e1de633c333739cca8bb7108ca3d3e9.tar.gz) = f2003af3cc07234de3e24650f25ded9736059c23
RMD160 (libretro-desmume-20190426-3069551c2e1de633c333739cca8bb7108ca3d3e9.tar.gz) = ab9560820d9b90f5fed4bf5a65c12079b24f0f61
SHA512 (libretro-desmume-20190426-3069551c2e1de633c333739cca8bb7108ca3d3e9.tar.gz) =
985e723d6d4f0af2755f6439db6a61b9269e440f5490522913d2bef9170cb1294cf912a1fa16584570807a27cf221992b2b1c29c75f3c654e27d2b91d499666a
Size (libretro-desmume-20190426-3069551c2e1de633c333739cca8bb7108ca3d3e9.tar.gz) = 11403327 bytes
SHA1 (patch-desmume_src_frontend_libretro_Makefile.libretro) = 8d43c8c404e0a828d79ce7d16265e95ec70c4525
+SHA1 (patch-desmume_src_wifi.cpp) = ea853cf0ec45130779faf4477bc97272c6ea4674
diff -r c2413dde676c -r eae138a72e0b emulators/libretro-desmume/patches/patch-desmume_src_wifi.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-desmume/patches/patch-desmume_src_wifi.cpp Sun May 12 09:49:39 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-desmume_src_wifi.cpp,v 1.1 2019/05/12 09:49:39 nia Exp $
+
+https://github.com/libretro/desmume/issues/58
+
+--- desmume/src/wifi.cpp.orig 2019-04-26 20:09:47.000000000 +0000
++++ desmume/src/wifi.cpp
+@@ -59,7 +59,7 @@
+
+ // Some platforms need HAVE_REMOTE to work with libpcap, but
+ // Apple platforms are not among them.
+-#ifndef __APPLE__
++#if !defined( __APPLE__) && !defined(__LIBRETRO__)
+ #define HAVE_REMOTE
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index