aboutsummaryrefslogtreecommitdiff
path: root/games/hyperrogue
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2024-10-15 14:32:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2024-10-20 22:36:49 +0000
commitd63d13fdeec95884484fbfeae7677bf07b6fad67 (patch)
tree755cd08d77dbb2a6bdffbd5a2bd167379273628d /games/hyperrogue
parent1431c73ebd1a9b6e394008d8b7b472bfa313eef5 (diff)
games/hyperrogue: update 13.0t → 13.0v
Diffstat (limited to 'games/hyperrogue')
-rw-r--r--games/hyperrogue/Makefile2
-rw-r--r--games/hyperrogue/distinfo6
-rw-r--r--games/hyperrogue/files/patch-Makefile18
3 files changed, 14 insertions, 12 deletions
diff --git a/games/hyperrogue/Makefile b/games/hyperrogue/Makefile
index 95f72f076939..1fd6767cece3 100644
--- a/games/hyperrogue/Makefile
+++ b/games/hyperrogue/Makefile
@@ -1,5 +1,5 @@
PORTNAME= hyperrogue
-PORTVERSION= 13.0t
+PORTVERSION= 13.0v
DISTVERSIONPREFIX= v
CATEGORIES= games
diff --git a/games/hyperrogue/distinfo b/games/hyperrogue/distinfo
index 6c79b59c0b55..fa46aaca0eae 100644
--- a/games/hyperrogue/distinfo
+++ b/games/hyperrogue/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722255794
-SHA256 (zenorogue-hyperrogue-v13.0t_GH0.tar.gz) = 45c5e69cc67d1ded8edc8859d6a8011a38cf5b1aa715de5758bf385b42188e4f
-SIZE (zenorogue-hyperrogue-v13.0t_GH0.tar.gz) = 88640590
+TIMESTAMP = 1729002006
+SHA256 (zenorogue-hyperrogue-v13.0v_GH0.tar.gz) = e02a4ada30c9167be9de723a46e83c45b0d2f0f37150dc5fcdef206b21e28303
+SIZE (zenorogue-hyperrogue-v13.0v_GH0.tar.gz) = 99838868
diff --git a/games/hyperrogue/files/patch-Makefile b/games/hyperrogue/files/patch-Makefile
index 67d04332dad2..46a4acff6459 100644
--- a/games/hyperrogue/files/patch-Makefile
+++ b/games/hyperrogue/files/patch-Makefile
@@ -1,22 +1,24 @@
---- Makefile.orig 2022-07-05 12:02:51 UTC
+--- Makefile.orig 2024-10-12 08:44:24 UTC
+++ Makefile
-@@ -42,7 +42,6 @@ endif
+@@ -50,8 +50,7 @@ endif
## Begin customization points for each OS and TOOLCHAIN we support.
-ifeq (${OS},linux)
- CXXFLAGS_EARLY += -DLINUX
+- CXXFLAGS_EARLY += -DLINUX -I /usr/include/SDL
++ CXXFLAGS_EARLY += -DLINUX
EXE_EXTENSION :=
LDFLAGS_GL := -lGL
-@@ -51,7 +50,6 @@ ifeq (${OS},linux)
+ LDFLAGS_GLEW := -lGLEW
+@@ -59,7 +58,6 @@ ifeq (${OS},linux)
LDFLAGS_SDL := -lSDL -lSDL_gfx -lSDL_mixer -lSDL_ttf -lpthread -lz
OBJ_EXTENSION := .o
hyper_RES :=
-endif
ifeq (${OS},mingw)
- CXXFLAGS_EARLY += -DWINDOWS -mwindows -D_A_VOLID=8
-@@ -140,19 +138,19 @@ override CXXFLAGS := $(CXXFLAGS_STD) $(CXXFLAGS_EARLY)
+ CXXFLAGS_EARLY += -DWINDOWS -mwindows -D_A_VOLID=8 -I/ucrt64/include/SDL
+@@ -153,19 +151,19 @@ hyperrogue$(EXE_EXTENSION): $(hyper_OBJS) $(hyper_RES)
override LDFLAGS := $(LDFLAGS_EARLY) $(LDFLAGS) ${EXTRA_LDFLAGS}
hyperrogue$(EXE_EXTENSION): $(hyper_OBJS) $(hyper_RES)
@@ -39,8 +41,8 @@
+ $(CXX) $(CXXFLAGS) makeh.cpp $(LDFLAGS) -o $@
autohdr.h: makeh$(EXE_EXTENSION) language-data.cpp *.cpp
- ./makeh classes.cpp locations.cpp colors.cpp hyperpoint.cpp geometry.cpp goldberg.cpp init.cpp floorshapes.cpp cell.cpp multi.cpp shmup.cpp pattern2.cpp mapeditor.cpp graph.cpp textures.cpp hprint.cpp language.cpp util.cpp complex.cpp multigame.cpp *.cpp > autohdr.h
-@@ -161,10 +159,10 @@ language-data.cpp: langen$(EXE_EXTENSION)
+ ./makeh classes.cpp locations.cpp colors.cpp hyperpoint.cpp geometry.cpp embeddings.cpp goldberg.cpp init.cpp floorshapes.cpp cell.cpp multi.cpp shmup.cpp pattern2.cpp mapeditor.cpp graph.cpp textures.cpp hprint.cpp language.cpp util.cpp complex.cpp multigame.cpp arbitrile.cpp rulegen.cpp *.cpp > autohdr.h
+@@ -174,10 +172,10 @@ savepng$(OBJ_EXTENSION): savepng.cpp
./langen > language-data.cpp
savepng$(OBJ_EXTENSION): savepng.cpp