pkgsrc-WIP-changes archive

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

pmars: Improve the package



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Jun 11 20:25:01 2016 +0200
Changeset:	5201481ac6ffae39564bee0e40b634297c552425

Modified Files:
	pmars/Makefile
	pmars/distinfo
	pmars/patches/patch-src_Makefile
	pmars/patches/patch-src_cdb.c
	pmars/patches/patch-src_sim.c
	pmars/patches/patch-src_sim.h
	pmars/patches/patch-src_xwindisp.c

Log Message:
pmars: Improve the package

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

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

diffstat:
 pmars/Makefile                     | 4 +++-
 pmars/distinfo                     | 9 +++++----
 pmars/patches/patch-src_Makefile   | 2 ++
 pmars/patches/patch-src_cdb.c      | 2 ++
 pmars/patches/patch-src_sim.c      | 2 ++
 pmars/patches/patch-src_sim.h      | 2 ++
 pmars/patches/patch-src_xwindisp.c | 2 ++
 7 files changed, 18 insertions(+), 5 deletions(-)

diffs:
diff --git a/pmars/Makefile b/pmars/Makefile
index 762f898..91e37e9 100644
--- a/pmars/Makefile
+++ b/pmars/Makefile
@@ -11,7 +11,9 @@ COMMENT=		The official Core Wars simulator
 
 USE_TOOLS+=		gmake
 
-BUILD_MAKE_FLAGS=	-C src
+BUILD_MAKE_FLAGS+=	-C src
+BUILD_MAKE_FLAGS+=	CC=${CC}
+BUILD_MAKE_FLAGS+=	LIB="-Wl,-rpath,${BUILDLINK_PREFIX.libX11}/lib -lX11"
 
 INSTALLATION_DIRS+=	bin share/pmars share/pmars/config share/pmars/warriors ${PKGMANDIR}/man6
 
diff --git a/pmars/distinfo b/pmars/distinfo
index 3467c35..d29b8dc 100644
--- a/pmars/distinfo
+++ b/pmars/distinfo
@@ -4,7 +4,8 @@ SHA1 (pmars-0.9.2.tar.gz) = b49162a4f63ed6c4e94e28b762c41ff73057b99f
 RMD160 (pmars-0.9.2.tar.gz) = d0f6ca86633424b10d54b418ee371fd6bf987e35
 SHA512 (pmars-0.9.2.tar.gz) = 901adb3e1620a3ff23810514001926e233c7654b623d3d7c2541598141e539647d5a9a04b8da166f2f01c24afca95351affd51c10267ccaffd6d1bd0788545af
 Size (pmars-0.9.2.tar.gz) = 158415 bytes
-SHA1 (patch-src_cdb.c) = f5d61ca48fa6706cd32b9c00eb7719fa13b083b3
-SHA1 (patch-src_sim.c) = cbfb49ffa36046f6ede75da089e1d97e16e4071f
-SHA1 (patch-src_sim.h) = 414f0600b17d09923fa43d020345849bebee1857
-SHA1 (patch-src_xwindisp.c) = 5a168790e355f437c3294207a4fc718efa097bbc
+SHA1 (patch-src_Makefile) = 33b7617dc7d67bbd82258c02ce16a20746a0aad0
+SHA1 (patch-src_cdb.c) = 77e8fe6280cf844a80aeaf8477affe92d4b6cb66
+SHA1 (patch-src_sim.c) = a3a9480f930de346b13653d970c0fc10c67d6ce4
+SHA1 (patch-src_sim.h) = d68c1b49bbf863527268d1a5796e81481e9022b8
+SHA1 (patch-src_xwindisp.c) = 226a7a79db69c97667059f6113ac5a6599da8c5c
diff --git a/pmars/patches/patch-src_Makefile b/pmars/patches/patch-src_Makefile
index 89fa7cc..8def8e5 100644
--- a/pmars/patches/patch-src_Makefile
+++ b/pmars/patches/patch-src_Makefile
@@ -1,5 +1,7 @@
 $NetBSD$
 
+Improve readability of $(CC)
+
 --- src/Makefile.orig	2000-12-24 12:53:39.000000000 +0000
 +++ src/Makefile
 @@ -37,8 +37,7 @@ flags:
diff --git a/pmars/patches/patch-src_cdb.c b/pmars/patches/patch-src_cdb.c
index e621fa5..6b688e7 100644
--- a/pmars/patches/patch-src_cdb.c
+++ b/pmars/patches/patch-src_cdb.c
@@ -1,5 +1,7 @@
 $NetBSD$
 
+Fix name clash with builtin 'round'.
+
 --- src/cdb.c.orig	2000-12-25 00:49:07.000000000 +0000
 +++ src/cdb.c
 @@ -1564,7 +1564,7 @@ subst_eval(inpStr, result)
diff --git a/pmars/patches/patch-src_sim.c b/pmars/patches/patch-src_sim.c
index 727fce0..c4be3db 100644
--- a/pmars/patches/patch-src_sim.c
+++ b/pmars/patches/patch-src_sim.c
@@ -1,5 +1,7 @@
 $NetBSD$
 
+Fix name clash with builtin 'round'.
+
 --- src/sim.c.orig	2000-12-25 00:49:08.000000000 +0000
 +++ src/sim.c
 @@ -177,7 +177,7 @@ ADDR_T AA_Value, AB_Value;
diff --git a/pmars/patches/patch-src_sim.h b/pmars/patches/patch-src_sim.h
index 1833ddc..605362c 100644
--- a/pmars/patches/patch-src_sim.h
+++ b/pmars/patches/patch-src_sim.h
@@ -1,5 +1,7 @@
 $NetBSD$
 
+Fix name clash with builtin 'round'.
+
 --- src/sim.h.orig	2000-08-20 13:29:44.000000000 +0000
 +++ src/sim.h
 @@ -89,7 +89,7 @@ extern int displayMode;
diff --git a/pmars/patches/patch-src_xwindisp.c b/pmars/patches/patch-src_xwindisp.c
index 62390fb..3f4baef 100644
--- a/pmars/patches/patch-src_xwindisp.c
+++ b/pmars/patches/patch-src_xwindisp.c
@@ -1,5 +1,7 @@
 $NetBSD$
 
+Fix build issue on NetBSD. I don't know what is sighandler(0).
+
 --- src/xwindisp.c.orig	2000-09-28 11:03:56.000000000 +0000
 +++ src/xwindisp.c
 @@ -1281,8 +1281,9 @@ xWin_display_cycle()


Home | Main Index | Thread Index | Old Index