[packages/scummvm] - generate nasm debug info in dwarf format
baggins
baggins at pld-linux.org
Tue Jul 16 01:08:55 CEST 2013
commit f0f97b62af3ecd20819b29da954f94caede2126e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jul 16 01:08:38 2013 +0200
- generate nasm debug info in dwarf format
dwarf-debug.patch | 11 +++++++++++
scummvm.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/scummvm.spec b/scummvm.spec
index 7895697..b5807a0 100644
--- a/scummvm.spec
+++ b/scummvm.spec
@@ -12,6 +12,7 @@ Source1: http://downloads.sourceforge.net/scummvm/%{name}-tools-%{version_tools}
# Source1-md5: 9a5c74a49707c513e8853004e3a699e4
Source2: %{name}.desktop
Patch0: %{name}-wx-config.patch
+Patch1: dwarf-debug.patch
URL: http://scummvm.org/
BuildRequires: SDL-devel >= 1.2.2
BuildRequires: alsa-lib-devel >= 0.9
@@ -599,6 +600,7 @@ Motyw modern dla ScummVM.
%prep
%setup -q -a 1
+%patch1 -p1
cd scummvm-tools-%{version_tools}
%patch0 -p2
cd ..
diff --git a/dwarf-debug.patch b/dwarf-debug.patch
new file mode 100644
index 0000000..fb7009e
--- /dev/null
+++ b/dwarf-debug.patch
@@ -0,0 +1,11 @@
+--- scummvm-1.6.0/configure~ 2013-05-26 22:21:47.000000000 +0200
++++ scummvm-1.6.0/configure 2013-07-16 01:07:53.563063545 +0200
+@@ -3786,7 +3786,7 @@
+ NASMFLAGS="$NASMFLAGS -f aout"
+ ;;
+ *)
+- NASMFLAGS="$NASMFLAGS -f elf"
++ NASMFLAGS="$NASMFLAGS -f elf -F dwarf"
+ ;;
+ esac
+ _nasm=yes
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/scummvm.git/commitdiff/f0f97b62af3ecd20819b29da954f94caede2126e
More information about the pld-cvs-commit
mailing list