[SCM] brutefir/master: Add DEP-3 header to 50-no-_init
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Wed Feb 26 01:41:37 UTC 2014
The following commit has been merged in the master branch:
commit 6106374743381d1cae6e9f2bd85dc1d5a40f6593
Author: Felipe Sateler <fsateler at debian.org>
Date: Tue Feb 25 22:41:29 2014 -0300
Add DEP-3 header to 50-no-_init
diff --git a/debian/patches/50-no-_init.patch b/debian/patches/50-no-_init.patch
index 8e4d1fc..d5662b4 100644
--- a/debian/patches/50-no-_init.patch
+++ b/debian/patches/50-no-_init.patch
@@ -1,3 +1,13 @@
+Author: Felipe Sateler <fsateler at debian.org>
+Description: Use constructor attribute instead of _init
+According to [1] the use of _init is dangerous, the constructor
+attribute should be used instead.
+
+This also enables the use of regular gcc instead of ld in linker lines
+in the makefile. This is useful to add support for LDFLAGS.
+
+[1] http://www.faqs.org/docs/Linux-HOWTO/Program-Library-HOWTO.html#INIT-AND-CLEANUP
+Forwarded: no
--- a/bfio_alsa.c
+++ b/bfio_alsa.c
@@ -655,9 +655,10 @@ bfio_write(int fd,
--
brutefir packaging
More information about the pkg-multimedia-commits
mailing list