Hi ports -- Attached is a trivial update to games/brumbrumrally, bringing it to its latest version. This update allows us to remove all our local diffs.
Take maintainer. ~Brian
Index: Makefile =================================================================== RCS file: /cvs/ports/games/brumbrumrally/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile 10 Apr 2017 11:45:28 -0000 1.4 +++ Makefile 6 Jun 2017 19:52:05 -0000 @@ -4,11 +4,12 @@ BROKEN-alpha = OOM on src/hqx/hq4x.cpp COMMENT = racing game with randomized tracks -DISTNAME = brumbrumrally-0.6 +DISTNAME = brumbrumrally-0.7 CATEGORIES = games HOMEPAGE = http://dataapa.net/brumbrumrally/ +MAINTAINER = Brian Callahan <bcal...@devio.us> # GPLv3+ PERMIT_PACKAGE_CDROM = Yes Index: distinfo =================================================================== RCS file: /cvs/ports/games/brumbrumrally/distinfo,v retrieving revision 1.2 diff -u -p -u -p -r1.2 distinfo --- distinfo 27 Apr 2016 21:06:27 -0000 1.2 +++ distinfo 6 Jun 2017 19:52:05 -0000 @@ -1,2 +1,2 @@ -SHA256 (brumbrumrally-0.6.tar.gz) = ExXpxa+W1F9BPlxvDO7FHccQTsbXZuP2dsC36JUrvn0= -SIZE (brumbrumrally-0.6.tar.gz) = 150193 +SHA256 (brumbrumrally-0.7.tar.gz) = CKPO4f3+iD3Ucwp5eluD92af0O6zJDgKRT0Tr/11vBs= +SIZE (brumbrumrally-0.7.tar.gz) = 151197 Index: patches/patch-src_Menu_cpp =================================================================== RCS file: patches/patch-src_Menu_cpp diff -N patches/patch-src_Menu_cpp --- patches/patch-src_Menu_cpp 4 May 2017 21:23:30 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$OpenBSD: patch-src_Menu_cpp,v 1.1 2017/05/04 21:23:30 espie Exp $ - -Index: src/Menu.cpp ---- src/Menu.cpp.orig -+++ src/Menu.cpp -@@ -27,6 +27,7 @@ - #include <cassert> - #include <algorithm> - #include <cmath> -+#include <cstdlib> - - Menu::Menu() - : selectedItem(0), Index: patches/patch-src_hqx_common_h =================================================================== RCS file: patches/patch-src_hqx_common_h diff -N patches/patch-src_hqx_common_h --- patches/patch-src_hqx_common_h 4 May 2017 21:23:30 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,25 +0,0 @@ -$OpenBSD: patch-src_hqx_common_h,v 1.1 2017/05/04 21:23:30 espie Exp $ - -Index: src/hqx/common.h ---- src/hqx/common.h.orig -+++ src/hqx/common.h -@@ -48,11 +48,16 @@ static inline uint32_t rgb_to_yuv(uint32_t c) - return RGBtoYUV[MASK_RGB & c]; - } - -+static inline uint32_t absdiff(uint32_t a, uint32_t b) -+{ -+ return a < b ? b - a : a - b; -+} -+ - /* Test if there is difference in color */ - static inline int yuv_diff(uint32_t yuv1, uint32_t yuv2) { -- return (( abs((yuv1 & Ymask) - (yuv2 & Ymask)) > trY ) || -- ( abs((yuv1 & Umask) - (yuv2 & Umask)) > trU ) || -- ( abs((yuv1 & Vmask) - (yuv2 & Vmask)) > trV ) ); -+ return (( absdiff(yuv1 & Ymask, yuv2 & Ymask) > trY ) || -+ ( absdiff(yuv1 & Umask, yuv2 & Umask) > trU ) || -+ ( absdiff(yuv1 & Vmask, yuv2 & Vmask) > trV ) ); - } - - static inline int Diff(uint32_t c1, uint32_t c2)