[SCM] Debian packaging of allegro4.4 branch, master, updated. upstream/4.4.2-128-ga0c3ec6

Andreas Rönnquist gusnan at gusnan.se
Fri Apr 27 19:44:59 UTC 2012


The following commit has been merged in the master branch:
commit a0c3ec6317d582402a8d8496f12fd9682cd04c40
Author: Andreas Rönnquist <gusnan at gusnan.se>
Date:   Fri Apr 27 21:44:51 2012 +0200

    Import 020_non-executable-stack.diff from Allegro 4.2

diff --git a/debian/patches/fix_non_executable_stack.patch b/debian/patches/fix_non_executable_stack.patch
new file mode 100644
index 0000000..a83044e
--- /dev/null
+++ b/debian/patches/fix_non_executable_stack.patch
@@ -0,0 +1,15 @@
+--- a/src/i386/asmdefs.inc
++++ b/src/i386/asmdefs.inc
+@@ -80,7 +80,11 @@
+  */
+ #define IRQ_STACKS      8
+ 
+-
++/* Tell GCC our stack is not executable
++ */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+ 
+ #endif   /* ifndef ALLEGRO_ASMDEFS_INC */
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 1014af7..35c5edb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix_non_executable_stack.patch
 fix_addons_shared_linkage.patch
 fix_format_not_string_literal_error.patch
 fix_endianness_spelling.patch

-- 
Debian packaging of allegro4.4



More information about the Pkg-games-commits mailing list