pkgsrc-WIP-changes archive

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

libretro-prboom: fix build on NetBSD.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Jul 16 16:45:15 2017 +0200
Changeset:	2bad01a79461d5fc177478f12f339da9fd3ed685

Modified Files:
	libretro-prboom/Makefile
	libretro-prboom/distinfo
Added Files:
	libretro-prboom/patches/patch-Makefile

Log Message:
libretro-prboom: fix build on NetBSD.

bsdtar is needed for extraction.
Do not overwrite LDFLAGS to fix RELRO build.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2bad01a79461d5fc177478f12f339da9fd3ed685

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

diffstat:
 libretro-prboom/Makefile               |  1 +
 libretro-prboom/distinfo               |  1 +
 libretro-prboom/patches/patch-Makefile | 14 ++++++++++++++
 3 files changed, 16 insertions(+)

diffs:
diff --git a/libretro-prboom/Makefile b/libretro-prboom/Makefile
index bf38aa657d..28209c2c09 100644
--- a/libretro-prboom/Makefile
+++ b/libretro-prboom/Makefile
@@ -9,6 +9,7 @@ COMMENT=	Libretro core for Doom
 LICENSE=	gnu-gpl-v2
 
 GITHUB_TAG=	e09831c627a84c34d72c3cc892566e1472abb598
+EXTRACT_USING=	bsdtar
 
 USE_TOOLS=	gmake
 
diff --git a/libretro-prboom/distinfo b/libretro-prboom/distinfo
index e9ce1d8aac..901569156f 100644
--- a/libretro-prboom/distinfo
+++ b/libretro-prboom/distinfo
@@ -4,3 +4,4 @@ SHA1 (libretro-prboom-20170410-e09831c627a84c34d72c3cc892566e1472abb598.tar.gz)
 RMD160 (libretro-prboom-20170410-e09831c627a84c34d72c3cc892566e1472abb598.tar.gz) = 7bc8a3f93fdd66859a764e069281d6afa001a6f4
 SHA512 (libretro-prboom-20170410-e09831c627a84c34d72c3cc892566e1472abb598.tar.gz) = a34f194fbc918b652c1c1e1242c565ee4f59d7a55399f7bff9e5d904a296b76558aa85f30b6715beedf3512a54e880bdb85d693e9be14afd3b8cf0622eb4968e
 Size (libretro-prboom-20170410-e09831c627a84c34d72c3cc892566e1472abb598.tar.gz) = 2087952 bytes
+SHA1 (patch-Makefile) = 50acb730101a15ec3b2595aed504b4b038fdf7dd
diff --git a/libretro-prboom/patches/patch-Makefile b/libretro-prboom/patches/patch-Makefile
new file mode 100644
index 0000000000..0707e9e851
--- /dev/null
+++ b/libretro-prboom/patches/patch-Makefile
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Honor LDFLAGS.
+
+--- Makefile.orig	2017-04-10 14:31:33.000000000 +0000
++++ Makefile
+@@ -41,7 +41,6 @@ ifneq ($(GIT_VERSION)," unknown")
+ endif
+ 
+ LIBM    := -lm
+-LDFLAGS := 
+ 
+ ifeq ($(STATIC_LINKING),1)
+ EXT=a


Home | Main Index | Thread Index | Old Index