?mode=patch&uid=2010070707294813606
Open Patch: 2010070707294813606 (by stf)
+ giftnuss
+ stf
Votecheck 'core-strong': Missing 1 qualified vote(s) (clifford, fake, teha)
package/base/dump/dump.conf
Stefan Fiedler:
	dump: disable selinux feature if not available

Stefan Fiedler:
	dump: disable selinux feature if not available

--- package/base/dump/dump.conf	(Revision 191)
+++ package/base/dump/dump.conf	(Revision 192)
@@ -21,7 +21,7 @@
 # --- ROCK-COPYRIGHT-NOTE-END ---
 
 # this fixes the build
-var_append GCC_WRAPPER_INSERT " " "-Wl,-lpthread"
+var_append GCC_WRAPPER_APPEND " " "-Wl,-lpthread"
 
 unset LD
 confopt="$confopt --enable-static \
@@ -31,3 +31,9 @@
 	--with-bingrp=root \
 	--with-binmode=0755 \
 	--with-manmode=644"
+
+# this feature is enabled by default but requires selinux headers
+if ! pkginstalled selinux ; then
+	var_append extraconfopt " " "--disable-transselinux"
+fi
+ 

[Download this patch]