[packages/gemrb] don't rewrite source file location

atler atler at pld-linux.org
Sun Sep 1 22:30:02 CEST 2024


commit 89ed39b7a5aaba98881120ed82167f83431fd2ce
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Sep 1 22:25:32 2024 +0200

    don't rewrite source file location

 flags.patch | 14 ++++++++++++++
 gemrb.spec  |  2 ++
 2 files changed, 16 insertions(+)
---
diff --git a/gemrb.spec b/gemrb.spec
index e2344b4..e4d1ad7 100644
--- a/gemrb.spec
+++ b/gemrb.spec
@@ -12,6 +12,7 @@ Group:		Applications/Emulators
 Source0:	https://downloads.sourceforge.net/gemrb/%{name}-%{version}-sources.tar.gz
 # Source0-md5:	c64c502ae714ed7ff8b3057cd8937a01
 Patch0:		%{name}-config_file.patch
+Patch1:		flags.patch
 URL:		http://gemrb.sourceforge.net/
 BuildRequires:	OpenAL-devel
 %{!?with_gles:BuildRequires:	OpenGL-devel}
@@ -49,6 +50,7 @@ Linux/Unix, MacOS i Windows. Silnik posiada kilka ulepszeń.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %{__sed} -i -e '1s,/usr/bin/python$,%{__python3},' admin/extend2da.py
 
diff --git a/flags.patch b/flags.patch
new file mode 100644
index 0000000..3ac6ea3
--- /dev/null
+++ b/flags.patch
@@ -0,0 +1,14 @@
+--- gemrb-0.9.3/cmake/Helpers.cmake.orig	2024-07-10 21:03:20.000000000 +0200
++++ gemrb-0.9.3/cmake/Helpers.cmake	2024-09-01 22:23:10.738016629 +0200
+@@ -46,11 +46,6 @@
+ 				"-Wno-error=cast-align"
+ 				"-Wmissing-declarations"
+ 			)
+-		ELSEIF(IS_RELEASE_VERSION)
+-			ADD_FLAG_IF_SUPPORTED(
+-				FLAG "-ffile-prefix-map"
+-				VALUE "${CMAKE_SOURCE_DIR}=."
+-			)		
+ 		ENDIF ()
+ 
+ 		STRING(JOIN " "
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gemrb.git/commitdiff/89ed39b7a5aaba98881120ed82167f83431fd2ce



More information about the pld-cvs-commit mailing list