- Update to 0.7
This commit is contained in:
parent
f1fe405cfc
commit
d8dab9d405
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431242
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= brumbrumrally
|
||||
PORTVERSION= 0.6
|
||||
PORTVERSION= 0.7
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://dataapa.net/brumbrumrally/files/
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- 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 =
|
||||
@ -17,7 +17,12 @@
|
||||
-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)
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/Menu.cpp.orig 2016-03-23 11:34:58 UTC
|
||||
+++ src/Menu.cpp
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <cassert>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
+#include <cstdlib>
|
||||
|
||||
Menu::Menu()
|
||||
: selectedItem(0),
|
@ -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)
|
Loading…
Reference in New Issue
Block a user