* [gentoo-commits] repo/proj/guru:master commit in: games-action/blackvoxel/files/, games-action/blackvoxel/
@ 2021-05-03 10:11 Andrew Ammerlaan
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-05-03 10:11 UTC (permalink / raw
To: gentoo-commits
commit: e3d04544b9a85ca5600f66387312bc49755999d2
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Mon May 3 00:53:01 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon May 3 01:28:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3d04544
games-action/blackvoxel: Don't strip files.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
games-action/blackvoxel/blackvoxel-2.42.ebuild | 1 +
.../files/blackvoxel-2.42-dont-strip-files.patch | 69 ++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/games-action/blackvoxel/blackvoxel-2.42.ebuild b/games-action/blackvoxel/blackvoxel-2.42.ebuild
index 8c2a6db25..4216d47ce 100644
--- a/games-action/blackvoxel/blackvoxel-2.42.ebuild
+++ b/games-action/blackvoxel/blackvoxel-2.42.ebuild
@@ -29,6 +29,7 @@ S="${WORKDIR}/${PN}_source_${PV//./_}"
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
"${FILESDIR}"/${P}-savedir.patch
+ "${FILESDIR}"/${P}-dont-strip-files.patch
)
src_compile() {
diff --git a/games-action/blackvoxel/files/blackvoxel-2.42-dont-strip-files.patch b/games-action/blackvoxel/files/blackvoxel-2.42-dont-strip-files.patch
new file mode 100644
index 000000000..7be84fbbf
--- /dev/null
+++ b/games-action/blackvoxel/files/blackvoxel-2.42-dont-strip-files.patch
@@ -0,0 +1,69 @@
+From b6baebbd17479d9b6f6083797fa4eb63741fa52b Mon Sep 17 00:00:00 2001
+From: tastytea <tastytea@tastytea.de>
+Date: Mon, 3 May 2021 03:05:19 +0200
+Subject: [PATCH] Don't strip files.
+
+---
+ Makefile | 10 +++++-----
+ src/sc_Squirrel3/sq/Makefile | 4 ++--
+ 2 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index a85dd7e..51cb0fd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -19,7 +19,7 @@ OBJ= $(SRC:src/%.cpp=obj/%.o)
+ ifeq ($(OS),Windows_NT)
+ CPU_BITS=32
+ CXXFLAGS+= -O3 -c -fmessage-length=0 -march=i686
+- LDFLAGS+= -s -Xlinker --large-address-aware -mwindows -L"src/sc_Squirrel3/lib" -lmingw32 -lSDLmain -lSDL -llibglew32 -lglu32 -lopengl32 -llibglut -lsquirrel -lsqstdlib
++ LDFLAGS+= -Xlinker --large-address-aware -mwindows -L"src/sc_Squirrel3/lib" -lmingw32 -lSDLmain -lSDL -llibglew32 -lglu32 -lopengl32 -llibglut -lsquirrel -lsqstdlib
+ else
+ # Unix like operating systems
+ CPU_BITS= $(shell getconf LONG_BIT)
+@@ -28,18 +28,18 @@ else
+
+ ifeq ($(KERNELNAME),Linux)
+ CXXFLAGS+= -O3 -c -fmessage-length=0
+- LDFLAGS+=-s -zrelro -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
++ LDFLAGS+=-zrelro -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ else ifeq ($(KERNELNAME), FreeBSD)
+ # To be done...
+ CXXFLAGS+= -O3 -c -fmessage-length=0
+- LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
++ LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ else ifeq ($(KERNELNAME), Darwin)
+ CXXFLAGS+= -O3 -c -fmessage-length=0
+- LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib
++ LDFLAGS+=-L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib
+ else
+ # Unknow kernel... trying default flags
+ CXXFLAGS+= -O3 -c -fmessage-length=0
+- LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
++ LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ endif
+ endif
+
+diff --git a/src/sc_Squirrel3/sq/Makefile b/src/sc_Squirrel3/sq/Makefile
+index 08fb2ef..8cc1cbc 100644
+--- a/src/sc_Squirrel3/sq/Makefile
++++ b/src/sc_Squirrel3/sq/Makefile
+@@ -12,13 +12,13 @@ SRCS= sq.c
+
+
+ sq32:
+- $(CXX) -O2 -s -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
++ $(CXX) -O2 -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+
+ sqprof:
+ $(CXX) -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+
+ sq64:
+- $(CXX) -O2 -s -m64 -fno-exceptions -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
++ $(CXX) -O2 -m64 -fno-exceptions -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+
+ sq64d:
+ $(CXX) -O0 -g3 -m64 -fno-exceptions -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+--
+2.26.3
+
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: games-action/blackvoxel/files/, games-action/blackvoxel/
@ 2021-05-03 10:11 Andrew Ammerlaan
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-05-03 10:11 UTC (permalink / raw
To: gentoo-commits
commit: e2ea6e4b2f789206d798e4f909b21dc6d8c6dfa1
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Mon May 3 00:19:00 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon May 3 01:27:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2ea6e4b
games-action/blackvoxel: Remove hardcoded tools, set CXX, CC and AR.
Changes proposed upstream:
<https://github.com/Blackvoxel/Blackvoxel/pull/35>.
Closes: https://bugs.gentoo.org/787074
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
games-action/blackvoxel/blackvoxel-2.42.ebuild | 8 +-
.../files/blackvoxel-2.42-makefile.patch | 179 +++++++++++++++++++--
2 files changed, 172 insertions(+), 15 deletions(-)
diff --git a/games-action/blackvoxel/blackvoxel-2.42.ebuild b/games-action/blackvoxel/blackvoxel-2.42.ebuild
index aac110c09..8c2a6db25 100644
--- a/games-action/blackvoxel/blackvoxel-2.42.ebuild
+++ b/games-action/blackvoxel/blackvoxel-2.42.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit desktop xdg
+inherit desktop toolchain-funcs xdg
DESCRIPTION="Blackvoxel Video Game"
HOMEPAGE="https://www.blackvoxel.com/"
@@ -32,6 +32,10 @@ PATCHES=(
)
src_compile() {
+ export CXX="$(tc-getCXX)"
+ export CC="$(tc-getCC)"
+ export AR="$(tc-getAR)"
+
emake blackvoxeldatadir="/usr/share/${PN}" bindir="/usr/bin"
}
diff --git a/games-action/blackvoxel/files/blackvoxel-2.42-makefile.patch b/games-action/blackvoxel/files/blackvoxel-2.42-makefile.patch
index c8e826c68..f6f857212 100644
--- a/games-action/blackvoxel/files/blackvoxel-2.42-makefile.patch
+++ b/games-action/blackvoxel/files/blackvoxel-2.42-makefile.patch
@@ -1,30 +1,183 @@
+From a4fbc416e1c9884353f743f84ca98207f792b502 Mon Sep 17 00:00:00 2001
+From: tastytea <tastytea@tastytea.de>
+Date: Mon, 3 May 2021 02:26:12 +0200
+Subject: [PATCH] Don't overwrite build-flags, replace hardcoded tools with
+ variables.
+
+---
+ Makefile | 29 ++++++++++++++---------------
+ src/sc_Squirrel3/sq/Makefile | 8 ++++----
+ src/sc_Squirrel3/sqstdlib/Makefile | 16 ++++++++--------
+ src/sc_Squirrel3/squirrel/Makefile | 16 ++++++++--------
+ 4 files changed, 34 insertions(+), 35 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 3fac7f3..a85dd7e 100644
--- a/Makefile
+++ b/Makefile
-@@ -11,7 +11,7 @@
- CC=g++
- LD=g++
+@@ -8,10 +8,9 @@ ifndef bindir
+ endif
+
+ # Base options
+-CC=g++
+-LD=g++
++CXX?=g++
PROGNAME=blackvoxel
-CFLAGS=-I "src/sc_Squirrel3/include" -DCOMPILEOPTION_DEMO=0 -DDEVELOPPEMENT_ON=0 -DCOMPILEOPTION_SPECIAL=0 -DCOMPILEOPTION_DATAFILESPATH="\"$(blackvoxeldatadir)\""
-+CFLAGS+=-I "src/sc_Squirrel3/include" -DCOMPILEOPTION_DEMO=0 -DDEVELOPPEMENT_ON=0 -DCOMPILEOPTION_SPECIAL=0 -DCOMPILEOPTION_DATAFILESPATH="\"$(blackvoxeldatadir)\""
++CXXFLAGS+=-I "src/sc_Squirrel3/include" -DCOMPILEOPTION_DEMO=0 -DDEVELOPPEMENT_ON=0 -DCOMPILEOPTION_SPECIAL=0 -DCOMPILEOPTION_DATAFILESPATH="\"$(blackvoxeldatadir)\""
SRC= $(wildcard src/*.cpp) $(wildcard src/z/*.cpp)
OBJ= $(SRC:src/%.cpp=obj/%.o)
-@@ -28,8 +28,7 @@
+@@ -19,8 +18,8 @@ OBJ= $(SRC:src/%.cpp=obj/%.o)
+
+ ifeq ($(OS),Windows_NT)
+ CPU_BITS=32
+- CFLAGS+= -O3 -c -fmessage-length=0 -march=i686
+- LDFLAGS= -s -Xlinker --large-address-aware -mwindows -L"src/sc_Squirrel3/lib" -lmingw32 -lSDLmain -lSDL -llibglew32 -lglu32 -lopengl32 -llibglut -lsquirrel -lsqstdlib
++ CXXFLAGS+= -O3 -c -fmessage-length=0 -march=i686
++ LDFLAGS+= -s -Xlinker --large-address-aware -mwindows -L"src/sc_Squirrel3/lib" -lmingw32 -lSDLmain -lSDL -llibglew32 -lglu32 -lopengl32 -llibglut -lsquirrel -lsqstdlib
+ else
+ # Unix like operating systems
+ CPU_BITS= $(shell getconf LONG_BIT)
+@@ -28,31 +27,31 @@ else
KERNELNAME =$(shell uname -s)
ifeq ($(KERNELNAME),Linux)
- CFLAGS+= -O3 -c -fmessage-length=0
- LDFLAGS=-s -zrelro -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
-+ LDFLAGS+= -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
++ CXXFLAGS+= -O3 -c -fmessage-length=0
++ LDFLAGS+=-s -zrelro -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
else ifeq ($(KERNELNAME), FreeBSD)
# To be done...
- CFLAGS+= -O3 -c -fmessage-length=0
-@@ -57,7 +56,7 @@
+- CFLAGS+= -O3 -c -fmessage-length=0
+- LDFLAGS=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
++ CXXFLAGS+= -O3 -c -fmessage-length=0
++ LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ else ifeq ($(KERNELNAME), Darwin)
+- CFLAGS+= -O3 -c -fmessage-length=0
+- LDFLAGS=-s -L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib
++ CXXFLAGS+= -O3 -c -fmessage-length=0
++ LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib
+ else
+ # Unknow kernel... trying default flags
+- CFLAGS+= -O3 -c -fmessage-length=0
+- LDFLAGS=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
++ CXXFLAGS+= -O3 -c -fmessage-length=0
++ LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ endif
+ endif
+
+
+ obj/%.o: src/%.cpp
+ @mkdir -p obj/z
+- $(CC) -o $@ -c $< $(CFLAGS)
++ $(CXX) -o $@ -c $< $(CXXFLAGS)
+
+ all: $(PROGNAME)
+
+ $(PROGNAME): $(OBJ) squirrel
+- $(LD) -o $(PROGNAME) $(OBJ) $(LDFLAGS)
++ $(CXX) -o $(PROGNAME) $(OBJ) $(LDFLAGS)
- squirrel:
-- cd src/sc_Squirrel3 ; make sq$(CPU_BITS)
-+ +make -C src/sc_Squirrel3 sq$(CPU_BITS)
- clean:
- @rm -rf obj
+diff --git a/src/sc_Squirrel3/sq/Makefile b/src/sc_Squirrel3/sq/Makefile
+index c2cfc7e..08fb2ef 100644
+--- a/src/sc_Squirrel3/sq/Makefile
++++ b/src/sc_Squirrel3/sq/Makefile
+@@ -12,16 +12,16 @@ SRCS= sq.c
+
+
+ sq32:
+- g++ -O2 -s -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
++ $(CXX) -O2 -s -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+
+ sqprof:
+- g++ -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
++ $(CXX) -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+
+ sq64:
+- g++ -O2 -s -m64 -fno-exceptions -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
++ $(CXX) -O2 -s -m64 -fno-exceptions -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+
+ sq64d:
+- g++ -O0 -g3 -m64 -fno-exceptions -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
++ $(CXX) -O0 -g3 -m64 -fno-exceptions -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+
+ .PHONY: clean mrproper
+
+diff --git a/src/sc_Squirrel3/sqstdlib/Makefile b/src/sc_Squirrel3/sqstdlib/Makefile
+index 643d7fc..41ee3f7 100644
+--- a/src/sc_Squirrel3/sqstdlib/Makefile
++++ b/src/sc_Squirrel3/sqstdlib/Makefile
+@@ -26,23 +26,23 @@ SRCS= \
+
+
+ sq32:
+- gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+- ar rc $(OUT) *.o
++ $(CC) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
++ $(AR) rc $(OUT) *.o
+ rm *.o
+
+ sqprof:
+- gcc -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+- ar rc $(OUT) *.o
++ $(CC) -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
++ $(AR) rc $(OUT) *.o
+ rm *.o
+
+ sq64:
+- gcc -O2 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+- ar rc $(OUT) *.o
++ $(CC) -O2 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
++ $(AR) rc $(OUT) *.o
+ rm *.o
+
+ sq64d:
+- gcc -O0 -g3 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+- ar rc $(OUT) *.o
++ $(CC) -O0 -g3 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
++ $(AR) rc $(OUT) *.o
+
+ .PHONY: clean mrproper
+
+diff --git a/src/sc_Squirrel3/squirrel/Makefile b/src/sc_Squirrel3/squirrel/Makefile
+index b03257b..be2c281 100644
+--- a/src/sc_Squirrel3/squirrel/Makefile
++++ b/src/sc_Squirrel3/squirrel/Makefile
+@@ -37,23 +37,23 @@ SRCS= \
+
+
+ sq32:
+- gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
+- ar rc $(OUT) *.o
++ $(CC) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
++ $(AR) rc $(OUT) *.o
+ rm *.o
+
+ sqprof:
+- gcc -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
+- ar rc $(OUT) *.o
++ $(CC) -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
++ $(AR) rc $(OUT) *.o
+ rm *.o
+
+ sq64:
+- gcc -O2 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
+- ar rc $(OUT) *.o
++ $(CC) -O2 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
++ $(AR) rc $(OUT) *.o
+ rm *.o
+
+ sq64d:
+- gcc -O0 -g3 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
+- ar rc $(OUT) *.o
++ $(CC) -O0 -g3 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
++ $(AR) rc $(OUT) *.o
+
+ .PHONY: clean mrproper
+
+--
+2.26.3
+
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: games-action/blackvoxel/files/, games-action/blackvoxel/
@ 2024-10-21 10:12 Viorel Munteanu
0 siblings, 0 replies; 5+ messages in thread
From: Viorel Munteanu @ 2024-10-21 10:12 UTC (permalink / raw
To: gentoo-commits
commit: a31478be4496ecabc9d9f198f2561f0bc0cfdb9e
Author: Abdelrahman Sarhan <abdulrahmanayman1 <AT> gmail <DOT> com>
AuthorDate: Mon Oct 21 03:35:33 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 03:35:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a31478be
games-action/blackvoxel: Patched makefile
Signed-off-by: Abdelrahman Sarhan <abdulrahmanayman1 <AT> gmail.com>
games-action/blackvoxel/blackvoxel-2.50.ebuild | 1 +
games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/games-action/blackvoxel/blackvoxel-2.50.ebuild b/games-action/blackvoxel/blackvoxel-2.50.ebuild
index 4cb5b62ec..9c9e5ecaf 100644
--- a/games-action/blackvoxel/blackvoxel-2.50.ebuild
+++ b/games-action/blackvoxel/blackvoxel-2.50.ebuild
@@ -27,6 +27,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
+ "${FILESDIR}"/${P}-makeopts.patch
"${FILESDIR}"/${P}-savedir.patch
"${FILESDIR}"/${P}-strict-aliasing.patch
)
diff --git a/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch b/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch
new file mode 100644
index 000000000..a1bbaa05f
--- /dev/null
+++ b/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch
@@ -0,0 +1,12 @@
+--- a/Makefile
++++ b/Makefile
+@@ -64,7 +64,9 @@
+ KERNELNAME =$(shell uname -s)
+
+ ifeq ($(KERNELNAME),Linux)
++ CXXFLAGS:= $(shell emerge --info | grep -w CXXFLAGS=".*" | cut -d '"' -f2)
+ CXXFLAGS+= -c -fmessage-length=0
++ LDFLAGS:= $(shell emerge --info | grep -w LDFLAGS=".*" | cut -d '"' -f2)
+ LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ else ifeq ($(KERNELNAME), FreeBSD)
+ # To be done...
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: games-action/blackvoxel/files/, games-action/blackvoxel/
@ 2024-10-21 10:12 Viorel Munteanu
0 siblings, 0 replies; 5+ messages in thread
From: Viorel Munteanu @ 2024-10-21 10:12 UTC (permalink / raw
To: gentoo-commits
commit: a6e84bb2593dbef40728c6b56f505e21b2b76601
Author: Abdelrahman Sarhan <abdulrahmanayman1 <AT> gmail <DOT> com>
AuthorDate: Mon Oct 21 05:44:01 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 05:44:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6e84bb2
games-action/blackvoxel: Patched makefile. First patch was broken.
Signed-off-by: Abdelrahman Sarhan <abdulrahmanayman1 <AT> gmail.com>
games-action/blackvoxel/blackvoxel-2.50.ebuild | 2 +-
games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch | 10 ++++++----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/games-action/blackvoxel/blackvoxel-2.50.ebuild b/games-action/blackvoxel/blackvoxel-2.50.ebuild
index 9c9e5ecaf..bb7e7e7fb 100644
--- a/games-action/blackvoxel/blackvoxel-2.50.ebuild
+++ b/games-action/blackvoxel/blackvoxel-2.50.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64"
DEPEND="
dev-libs/expat
media-libs/alsa-lib
- media-libs/glew:0
+ media-libs/glew
media-libs/libsdl
x11-libs/libX11
virtual/opengl
diff --git a/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch b/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch
index a1bbaa05f..05a14881c 100644
--- a/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch
+++ b/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch
@@ -4,9 +4,11 @@
KERNELNAME =$(shell uname -s)
ifeq ($(KERNELNAME),Linux)
-+ CXXFLAGS:= $(shell emerge --info | grep -w CXXFLAGS=".*" | cut -d '"' -f2)
- CXXFLAGS+= -c -fmessage-length=0
-+ LDFLAGS:= $(shell emerge --info | grep -w LDFLAGS=".*" | cut -d '"' -f2)
- LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+- CXXFLAGS+= -O3 -c -fmessage-length=0
++ UCXXFLAGS:= $(shell emerge --info | grep -w CXXFLAGS=".*" | cut -d '"' -f2)
++ CXXFLAGS+= $(UCXXFLAGS) -c -fmessage-length=0
++ ULDFLAGS:= $(shell emerge --info | grep -w LDFLAGS=".*" | cut -d '"' -f2)
++ LDFLAGS+= $(ULDFLAGS) -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+- LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
else ifeq ($(KERNELNAME), FreeBSD)
# To be done...
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: games-action/blackvoxel/files/, games-action/blackvoxel/
@ 2024-10-23 10:25 David Roman
0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2024-10-23 10:25 UTC (permalink / raw
To: gentoo-commits
commit: f69e5f5c73665fb06876579262657dfa770ea858
Author: Abdelrahman Sarhan <abdulrahmanayman1 <AT> gmail <DOT> com>
AuthorDate: Wed Oct 23 05:09:06 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Oct 23 05:10:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f69e5f5c
games-action/blackvoxel: Removed patch
Signed-off-by: Abdelrahman Sarhan <abdulrahmanayman1 <AT> gmail.com>
games-action/blackvoxel/blackvoxel-2.50.ebuild | 1 -
.../blackvoxel/files/blackvoxel-2.50-makeopts.patch | 15 ---------------
2 files changed, 16 deletions(-)
diff --git a/games-action/blackvoxel/blackvoxel-2.50.ebuild b/games-action/blackvoxel/blackvoxel-2.50.ebuild
index 16a152193..8c0bc0818 100644
--- a/games-action/blackvoxel/blackvoxel-2.50.ebuild
+++ b/games-action/blackvoxel/blackvoxel-2.50.ebuild
@@ -27,7 +27,6 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
- "${FILESDIR}"/${P}-makeopts.patch
"${FILESDIR}"/${P}-savedir.patch
"${FILESDIR}"/${P}-backported-ltofix.patch #For ver. 2.50 Remove for next ver.
)
diff --git a/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch b/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch
deleted file mode 100644
index 078d3ce64..000000000
--- a/games-action/blackvoxel/files/blackvoxel-2.50-makeopts.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/Makefile 2024-10-21 17:33:29.782931946 -0400
-+++ b/Makefile 2024-10-21 17:35:55.202026636 -0400
-@@ -64,8 +64,10 @@
- KERNELNAME =$(shell uname -s)
-
- ifeq ($(KERNELNAME),Linux)
-- CXXFLAGS+= -O3 -c -fmessage-length=0
-- LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
-+ UCXXFLAGS:= $(shell emerge --info | grep -w CXXFLAGS=".*" | cut -d '"' -f2)
-+ CXXFLAGS+= $(UCXXFLAGS) -c -fmessage-length=0
-+ ULDFLAGS:= $(shell emerge --info | grep -w LDFLAGS=".*" | cut -d '"' -f2)
-+ LDFLAGS+= $(ULDFLAGS) -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
- else ifeq ($(KERNELNAME), FreeBSD)
- # To be done...
- CXXFLAGS+= -O3 -c -fmessage-length=0
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-10-23 10:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 10:12 [gentoo-commits] repo/proj/guru:master commit in: games-action/blackvoxel/files/, games-action/blackvoxel/ Viorel Munteanu
-- strict thread matches above, loose matches on Subject: below --
2024-10-23 10:25 David Roman
2024-10-21 10:12 Viorel Munteanu
2021-05-03 10:11 Andrew Ammerlaan
2021-05-03 10:11 Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox