diff options
author | wiz <wiz@pkgsrc.org> | 2017-07-13 12:29:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-07-13 12:29:09 +0000 |
commit | 1705d7d39b183cd4a6480289fb8540b621232154 (patch) | |
tree | bc00faebfae6a32bf67ebbf60b3e64297bcfedf3 /games | |
parent | 6850d2cfd77f145eafc08a4b68b436cb838bc338 (diff) | |
download | pkgsrc-1705d7d39b183cd4a6480289fb8540b621232154.tar.gz |
Honor LDFLAGS, fixes RELRO build.
While here, also honor CFLAGS and remove an unnecessary chunk.
Diffstat (limited to 'games')
-rw-r--r-- | games/monsterz/distinfo | 6 | ||||
-rw-r--r-- | games/monsterz/patches/patch-aa | 11 | ||||
-rw-r--r-- | games/monsterz/patches/patch-ab | 8 |
3 files changed, 14 insertions, 11 deletions
diff --git a/games/monsterz/distinfo b/games/monsterz/distinfo index 8d55e4e2495..1bf13b7df82 100644 --- a/games/monsterz/distinfo +++ b/games/monsterz/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2015/11/03 20:56:59 agc Exp $ +$NetBSD: distinfo,v 1.5 2017/07/13 12:29:09 wiz Exp $ SHA1 (monsterz-0.7.1.tar.gz) = 8fb1933b7141a058e7b55f85537873e65568cb00 RMD160 (monsterz-0.7.1.tar.gz) = 6497b3c561f4a7c31b903a380d916778e44de5b8 SHA512 (monsterz-0.7.1.tar.gz) = 62de125251a74e7ff237c90ad88e10a4953b8841251dfec45cc6b77f416677ef6d68cf4308c3190f65896b5bb1312934abd5e438f0341f08c02884585f0e4787 Size (monsterz-0.7.1.tar.gz) = 1879537 bytes -SHA1 (patch-aa) = 307d5c07baf9a6f84da9c79561c8f3fece188ca0 -SHA1 (patch-ab) = e8349bb09699ed38ee578f341b1bf6794a8cc0cb +SHA1 (patch-aa) = e3b128540f8ce50bbd8fb0a3083b1c7297db1b64 +SHA1 (patch-ab) = 5d7dff54c6d462b2da6df681af254edb466796c4 diff --git a/games/monsterz/patches/patch-aa b/games/monsterz/patches/patch-aa index 6e5b87b9ddb..61dcb5ca45e 100644 --- a/games/monsterz/patches/patch-aa +++ b/games/monsterz/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2009/02/15 21:53:40 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2017/07/13 12:29:09 wiz Exp $ --- Makefile.orig 2007-12-17 22:05:00.000000000 +0000 +++ Makefile @@ -15,6 +15,15 @@ $NetBSD: patch-aa,v 1.2 2009/02/15 21:53:40 wiz Exp $ scorefile = $(scoredir)/monsterz VERSION = 0.7.1 +@@ -22,7 +22,7 @@ INKSCAPE = inkscape -z + all: monsterz + + monsterz: monsterz.c +- $(CC) -Wall monsterz.c -DDATADIR=\"$(pkgdatadir)\" -DSCOREFILE=\"$(scorefile)\" -o monsterz ++ $(CC) $(LDFLAGS) $(CFLAGS) -Wall monsterz.c -DDATADIR=\"$(pkgdatadir)\" -DSCOREFILE=\"$(scorefile)\" -o monsterz + + bitmap: $(BITMAP) + @@ -40,18 +40,17 @@ graphics/logo.png: graphics/graphics.svg $(INKSCAPE) graphics/graphics.svg -a 810:858:1220:1075 -w380 -h180 -e graphics/logo.png diff --git a/games/monsterz/patches/patch-ab b/games/monsterz/patches/patch-ab index 9fb234eb519..b13112e1026 100644 --- a/games/monsterz/patches/patch-ab +++ b/games/monsterz/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1 2009/02/15 21:53:40 wiz Exp $ +$NetBSD: patch-ab,v 1.2 2017/07/13 12:29:09 wiz Exp $ Fix 64-bit alignment issue with Python 2.5. http://sam.zoy.org/cgi-bin/viewcvs.cgi/monsterz.py?root=monsterz&rev=137&r1=135&r2=137 @@ -8,12 +8,6 @@ http://cvs.fedoraproject.org/viewvc/devel/monsterz/monsterz-0.7.1-blit-crash.pat --- monsterz.py.orig 2007-12-17 22:05:00.000000000 +0000 +++ monsterz.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/pkg/bin/python2.5 - # -*- coding: utf-8 -*- - - """ @@ -108,7 +108,9 @@ def semi_grayscale(surf): M = int(max(r, g, b)) m = int(min(r, g, b)) |