[scummvm/f16] new upstream release add option to NASMFLAGS to generate DWARF debug symbols

Christian Krause chkr at fedoraproject.org
Thu Nov 17 10:51:36 UTC 2011


commit 7d3708e7c9596aaa4da915963a5a335d5849feab
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Thu Nov 17 11:51:31 2011 +0100

    new upstream release
    add option to NASMFLAGS to generate DWARF debug symbols

 scummvm-1.4.0-nasm.patch |   12 ++++++++++++
 scummvm.spec             |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/scummvm-1.4.0-nasm.patch b/scummvm-1.4.0-nasm.patch
new file mode 100644
index 0000000..14fc317
--- /dev/null
+++ b/scummvm-1.4.0-nasm.patch
@@ -0,0 +1,12 @@
+diff -uNr scummvm-1.4.0.old/configure scummvm-1.4.0/configure
+--- scummvm-1.4.0.old/configure	2011-11-03 19:06:06.000000000 +0100
++++ scummvm-1.4.0/configure	2011-11-12 11:31:47.168287345 +0100
+@@ -3482,7 +3482,7 @@
+ 					NASMFLAGS="$NASMFLAGS -f aout"
+ 				;;
+ 				*)
+-					NASMFLAGS="$NASMFLAGS -f elf"
++					NASMFLAGS="$NASMFLAGS -f elf -F dwarf"
+ 				;;
+ 			esac
+ 			_nasm=yes
diff --git a/scummvm.spec b/scummvm.spec
index fc7de45..683592c 100644
--- a/scummvm.spec
+++ b/scummvm.spec
@@ -9,6 +9,9 @@ Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
 #######		Icons extracted from icons/scummvm.ico with the gimp
 Source1:	scummvm-icons.tar.gz
 Patch0:		scummvm-1.2.0-nostrip.patch
+# add option to NASMFLAGS to generate DWARF debug symbols
+# https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3439302&group_id=37116
+Patch1:		scummvm-1.4.0-nasm.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	SDL-devel libvorbis-devel flac-devel zlib-devel
 BuildRequires:	fluidsynth-devel desktop-file-utils
@@ -33,6 +36,7 @@ Vision's Gobliiins; Westwood Studios' The Legend of Kyrandia
 %prep
 %setup -q -a 1
 %patch0 -p1 -b .nostrip
+%patch1 -p1 -b .nasm
 sed -i 's/%{name}.xpm/%{name}/' dists/%{name}.desktop
 sed -i 's/Application;Game;AdventureGame;/Game;Emulator;/' \
 	dists/%{name}.desktop
@@ -100,8 +104,9 @@ fi
 
 
 %changelog
-* Thu Nov 10 2011 cooly at gnome.eu.org - 1.4.0-1
+* Thu Nov 17 2011 Christian Krause <chkr at fedoraproject.org> - 1.4.0-1
 - new upstream release
+- add option to NASMFLAGS to generate DWARF debug symbols
 
 * Mon Jul 25 2011 Christian Krause <chkr at fedoraproject.org> - 1.3.1-1
 - new upstream release


More information about the scm-commits mailing list