Index: head/games/brumbrumrally/Makefile =================================================================== --- head/games/brumbrumrally/Makefile (revision 431241) +++ head/games/brumbrumrally/Makefile (revision 431242) @@ -1,33 +1,33 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= brumbrumrally -PORTVERSION= 0.6 +PORTVERSION= 0.7 CATEGORIES= games MASTER_SITES= http://dataapa.net/brumbrumrally/files/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Racing game with randomized tracks LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= dos2unix gmake DOS2UNIX_FILES= src/hqx/common.h USE_SDL= sdl image net PORTDOCS= NEWS README PORTDATA= * OPTIONS_DEFINE= DOCS post-build: @${STRIP_CMD} ${WRKSRC}/${PORTNAME} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include Index: head/games/brumbrumrally/distinfo =================================================================== --- head/games/brumbrumrally/distinfo (revision 431241) +++ head/games/brumbrumrally/distinfo (revision 431242) @@ -1,3 +1,3 @@ -TIMESTAMP = 1478621231 -SHA256 (brumbrumrally-0.6.tar.gz) = 1315e9c5af96d45f413e5c6f0ceec51dc7104ec6d766e3f676c0b7e8952bbe7d -SIZE (brumbrumrally-0.6.tar.gz) = 150193 +TIMESTAMP = 1484150941 +SHA256 (brumbrumrally-0.7.tar.gz) = 08a3cee1fdfe883dd4730a797a5b83f7669fd0eeb324380a453d13affd75bc1b +SIZE (brumbrumrally-0.7.tar.gz) = 151197 Index: head/games/brumbrumrally/files/patch-src_hqx_common.h =================================================================== --- head/games/brumbrumrally/files/patch-src_hqx_common.h (revision 431241) +++ head/games/brumbrumrally/files/patch-src_hqx_common.h (nonexistent) @@ -1,15 +0,0 @@ ---- src/hqx/common.h.orig 2014-10-03 16:27:22 UTC -+++ src/hqx/common.h -@@ -50,9 +50,9 @@ static inline uint32_t rgb_to_yuv(uint32 - - /* 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 (( abs((int)(yuv1 & Ymask) - (int)(yuv2 & Ymask)) > trY ) || -+ ( abs((int)(yuv1 & Umask) - (int)(yuv2 & Umask)) > trU ) || -+ ( abs((int)(yuv1 & Vmask) - (int)(yuv2 & Vmask)) > trV ) ); - } - - static inline int Diff(uint32_t c1, uint32_t c2) Property changes on: head/games/brumbrumrally/files/patch-src_hqx_common.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/brumbrumrally/files/patch-src_Menu.cpp =================================================================== --- head/games/brumbrumrally/files/patch-src_Menu.cpp (revision 431241) +++ head/games/brumbrumrally/files/patch-src_Menu.cpp (nonexistent) @@ -1,10 +0,0 @@ ---- src/Menu.cpp.orig 2016-03-23 11:34:58 UTC -+++ src/Menu.cpp -@@ -27,6 +27,7 @@ - #include - #include - #include -+#include - - Menu::Menu() - : selectedItem(0), Property changes on: head/games/brumbrumrally/files/patch-src_Menu.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/brumbrumrally/files/patch-Makefile =================================================================== --- head/games/brumbrumrally/files/patch-Makefile (revision 431241) +++ head/games/brumbrumrally/files/patch-Makefile (revision 431242) @@ -1,23 +1,28 @@ --- Makefile.orig 2016-03-23 12:05:46 UTC +++ Makefile -@@ -1,17 +1,14 @@ +@@ -1,19 +1,18 @@ OBJS := $(patsubst %.cpp,%.o,$(wildcard src/*.cpp src/hqx/*.cpp)) -DESTDIR = -PREFIX = /usr/local +PREFIX ?= /usr/local DATADIR = $(PREFIX)/share BINDIR = $(PREFIX)/bin ICONDIR = $(DATADIR)/pixmaps APPDIR = $(DATADIR)/applications -CXX = g++ +CXX ?= g++ -CXXFLAGS = -Wall -std=c++98 -pedantic `sdl-config --cflags` -pipe -all : CXXFLAGS += -O2 -s -DNDEBUG -fno-threadsafe-statics -march=native -fomit-frame-pointer -ffast-math -fno-exceptions -fno-rtti -debug : CXXFLAGS += -O0 -g ++all : CXXFLAGS ?= -pipe -O2 -s -DNDEBUG -fno-threadsafe-statics -march=native -fomit-frame-pointer -ffast-math -fno-exceptions -fno-rtti ++debug : CXXFLAGS ?= -pipe -O0 -g +CXXFLAGS += -Wall -std=c++98 -pedantic `sdl-config --cflags` - LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_net +-LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_net ++LDFLAGS += `sdl-config --libs` -lSDL_image -lSDL_net + # lto is supported in g++ version 4.5.0 or higher + CXX_MAJOR := $(shell $(CXX) -dumpversion | cut -d'.' -f1)