[mupen64plus] 191/262: Only use siginfo subsystem if system offers it
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
ecsv-guest pushed a commit to branch master
in repository mupen64plus.
commit 0a5547a1066d42c5cee3d9f9b659891f3be1b1c4
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date: Mon Jul 12 23:03:56 2010 +0200
Only use siginfo subsystem if system offers it
---
debian/changelog | 2 ++
debian/patches/optional_signinfo.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 21 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 363e57a..f5ad66b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ mupen64plus (1.5+dfsg1-13) UNRELEASED; urgency=low
* debian/patches:
- Add path_max.patch, Add dummy PATH_MAX on systems without it (Closes:
#588066)
+ - Add optional_signinfo.patch, Only use siginfo subsystem if system offers
+ it (Closes: #588066)
-- Sven Eckelmann <sven.eckelmann at gmx.de> Mon, 12 Jul 2010 22:38:17 +0200
diff --git a/debian/patches/optional_signinfo.patch b/debian/patches/optional_signinfo.patch
new file mode 100644
index 0000000..0b9c410
--- /dev/null
+++ b/debian/patches/optional_signinfo.patch
@@ -0,0 +1,18 @@
+Description: Only use siginfo subsystem if system offers it
+Bug-Debian: http://bugs.debian.org/588066
+Author: Sven Eckelmann <sven.eckelmann at gmx.de>
+
+---
+diff --git a/main/main.c b/main/main.c
+index 3cc7011c04b6d7c68361c9d86fb0365770cd769a..f9bef4f5e2484efed8007a627763a480e7174aa6 100644
+--- a/main/main.c
++++ b/main/main.c
+@@ -840,7 +840,7 @@ static int emulationThread( void *_arg )
+ signal( SIGSEGV, sighandler );
+ signal( SIGILL, sighandler );
+ signal( SIGFPE, sighandler );
+-#else
++#elif defined(SA_SIGINFO)
+ memset( &sa, 0, sizeof( struct sigaction ) );
+ sa.sa_sigaction = sighandler;
+ sa.sa_flags = SA_SIGINFO;
diff --git a/debian/patches/series b/debian/patches/series
index 6dd539b..26d328d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -43,3 +43,4 @@ rice-crash-vendorstring.patch
rice-ati-symbols.patch
link_gdk.patch
path_max.patch
+optional_signinfo.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus.git
More information about the Pkg-games-commits
mailing list