Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-bluemsx libretro-bluemsx: don't use...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4a9ce62f6f0d
branches: trunk
changeset: 433462:4a9ce62f6f0d
user: nia <nia%pkgsrc.org@localhost>
date: Tue Jun 02 14:08:58 2020 +0000
description:
libretro-bluemsx: don't use bundled zlib
diffstat:
emulators/libretro-bluemsx/Makefile | 7 ++-
emulators/libretro-bluemsx/distinfo | 3 +-
emulators/libretro-bluemsx/patches/patch-Makefile.common | 39 ++++++++++++++++
3 files changed, 47 insertions(+), 2 deletions(-)
diffs (85 lines):
diff -r b26c75554d4c -r 4a9ce62f6f0d emulators/libretro-bluemsx/Makefile
--- a/emulators/libretro-bluemsx/Makefile Tue Jun 02 13:47:15 2020 +0000
+++ b/emulators/libretro-bluemsx/Makefile Tue Jun 02 14:08:58 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2020/05/31 11:39:55 nia Exp $
+# $NetBSD: Makefile,v 1.7 2020/06/02 14:08:58 nia Exp $
DISTNAME= libretro-bluemsx-20200507
+PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
GITHUB_PROJECT= blueMSX-libretro
@@ -13,8 +14,11 @@
MAKE_FILE= Makefile.libretro
USE_LANGUAGES= c c++03
+
LIBRETRO_CORE= bluemsx
+LDFLAGS+= -lz
+
.include "../../mk/bsd.prefs.mk"
# For strcasestr
@@ -31,4 +35,5 @@
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
.include "../../emulators/retroarch/core.mk"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b26c75554d4c -r 4a9ce62f6f0d emulators/libretro-bluemsx/distinfo
--- a/emulators/libretro-bluemsx/distinfo Tue Jun 02 13:47:15 2020 +0000
+++ b/emulators/libretro-bluemsx/distinfo Tue Jun 02 14:08:58 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2020/05/31 11:39:55 nia Exp $
+$NetBSD: distinfo,v 1.4 2020/06/02 14:08:58 nia Exp $
SHA1 (libretro-bluemsx-20200507-1d441d908e73cf0fa7f52c42686f6c9e8cd254ed.tar.gz) = 806e420743d03766449e1cfcd30c7493117919c8
RMD160 (libretro-bluemsx-20200507-1d441d908e73cf0fa7f52c42686f6c9e8cd254ed.tar.gz) = c97f9d5df76fe37eeea20914c051293cb73b10f1
SHA512 (libretro-bluemsx-20200507-1d441d908e73cf0fa7f52c42686f6c9e8cd254ed.tar.gz) =
30042d707ff4f5e2d54f413f81b7ca75b5e7595c1694b611ab67435c160a18db65e9f906872d310c70254a7dba6180845ae9fe47d7e86c010375d79d6eb59397
Size (libretro-bluemsx-20200507-1d441d908e73cf0fa7f52c42686f6c9e8cd254ed.tar.gz) = 6604169 bytes
+SHA1 (patch-Makefile.common) = 2601dbb7b1eed787df7cadc9d93cf5c51f013bf6
diff -r b26c75554d4c -r 4a9ce62f6f0d emulators/libretro-bluemsx/patches/patch-Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bluemsx/patches/patch-Makefile.common Tue Jun 02 14:08:58 2020 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-Makefile.common,v 1.1 2020/06/02 14:08:58 nia Exp $
+
+Don't use bundled zlib.
+
+--- Makefile.common.orig 2020-05-07 17:41:19.000000000 +0000
++++ Makefile.common
+@@ -24,8 +24,7 @@ INCFLAGS := -I$(CORE_DIR) \
+ -I$(CORE_DIR)/Src/VideoRender \
+ -I$(CORE_DIR)/Src/Z80 \
+ -I$(CORE_DIR)/Src/Input \
+- -I$(CORE_DIR)/Src/Libretro \
+- -I$(DEPS_DIR)/zlib
++ -I$(CORE_DIR)/Src/Libretro
+
+ ifneq (,$(findstring msvc2003,$(platform)))
+ INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
+@@ -332,22 +331,6 @@ ifneq ($(STATIC_LINKING), 1)
+ SOURCES_C += $(LIBRETRO_COMM_DIR)/file/retro_dirent.c \
+ $(LIBRETRO_COMM_DIR)/compat/compat_snprintf.c \
+ $(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.c
+-
+-#include zlib
+-SOURCES_C += $(DEPS_DIR)/zlib/adler32.c \
+- $(DEPS_DIR)/zlib/compress.c \
+- $(DEPS_DIR)/zlib/crc32.c \
+- $(DEPS_DIR)/zlib/deflate.c \
+- $(DEPS_DIR)/zlib/gzclose.c \
+- $(DEPS_DIR)/zlib/gzlib.c \
+- $(DEPS_DIR)/zlib/gzread.c \
+- $(DEPS_DIR)/zlib/gzwrite.c \
+- $(DEPS_DIR)/zlib/inffast.c \
+- $(DEPS_DIR)/zlib/inflate.c \
+- $(DEPS_DIR)/zlib/inftrees.c \
+- $(DEPS_DIR)/zlib/trees.c \
+- $(DEPS_DIR)/zlib/uncompr.c \
+- $(DEPS_DIR)/zlib/zutil.c
+ endif
+
+ ifeq ($(HAVE_COMPAT), 1)
Home |
Main Index |
Thread Index |
Old Index