[SCM] flac packaging branch, master,	updated. debian/1.2.1-1.2-16-g7873c9a
    fabian-guest at users.alioth.debian.org 
    fabian-guest at users.alioth.debian.org
       
    Mon Aug  3 14:57:47 UTC 2009
    
    
  
The following commit has been merged in the master branch:
commit 076ab87349b45f609c42bd9af0504fb92ceed70b
Author: Fabian Greffrath <fabian at debian-unofficial.org>
Date:   Mon Aug 3 16:41:32 2009 +0200
    debian/patches/09_noexec-stack.dpatch: New patch to indicate that libFLAC.so doesn\'t need an executable stack. Closes: #467544. Thanks: Russell Coker <russell at coker.com.au>.
diff --git a/debian/patches/09_noexec-stack.dpatch b/debian/patches/09_noexec-stack.dpatch
new file mode 100755
index 0000000..cae38dd
--- /dev/null
+++ b/debian/patches/09_noexec-stack.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 09_noexec-stack.dpatch by Russell Coker <russell at coker.com.au>
+##
+## DP: The following patch adds a section to the libFLAC.so file to indicate that
+## DP: it doesn't need an executable stack. This allows programs using it to run
+## DP: correctly on SE Linux systems, and with exec-shield.
+
+ at DPATCH@
+diff -urNad flac~/src/libFLAC/ia32/nasm.h flac/src/libFLAC/ia32/nasm.h
+--- flac~/src/libFLAC/ia32/nasm.h	2009-08-03 16:37:33.000000000 +0200
++++ flac/src/libFLAC/ia32/nasm.h	2009-08-03 16:38:29.000000000 +0200
+@@ -73,3 +73,6 @@
+ _%1:
+ %1:
+ %endmacro
++
++section .note.GNU-stack progbits noalloc noexec nowrite align=1
++
-- 
flac packaging
    
    
More information about the pkg-multimedia-commits
mailing list