aboutsummaryrefslogtreecommitdiffstats
path: root/community/network-manager-applet/fix-without-selinux.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-12 15:24:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-12 15:33:50 +0000
commitc7d37e49e916eb28a2f2234fbc89e0fcfa105ddd (patch)
tree502e5a5ec90c642fd37c34230124af50657bb0c3 /community/network-manager-applet/fix-without-selinux.patch
parent73e6df9e67c2cec5628bd37a6bc574825a4b1bbf (diff)
downloadaports-c7d37e49e916eb28a2f2234fbc89e0fcfa105ddd.tar.bz2
aports-c7d37e49e916eb28a2f2234fbc89e0fcfa105ddd.tar.xz
community/network-manager-applet: upgrade to 1.7.1
Diffstat (limited to 'community/network-manager-applet/fix-without-selinux.patch')
-rw-r--r--community/network-manager-applet/fix-without-selinux.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/network-manager-applet/fix-without-selinux.patch b/community/network-manager-applet/fix-without-selinux.patch
new file mode 100644
index 0000000000..0134cc0610
--- /dev/null
+++ b/community/network-manager-applet/fix-without-selinux.patch
@@ -0,0 +1,22 @@
+diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
+index ca74d12..be211f2 100644
+--- a/src/connection-editor/nm-connection-editor.c
++++ b/src/connection-editor/nm-connection-editor.c
+@@ -31,7 +31,7 @@
+ #include <errno.h>
+ #include <gdk/gdkx.h>
+
+-#ifdef WITH_SELINUX
++#if WITH_SELINUX
+ #include <selinux/selinux.h>
+ #endif
+
+@@ -183,7 +183,7 @@ update_sensitivity (NMConnectionEditor *editor)
+ }
+ }
+
+-#ifdef WITH_SELINUX
++#if WITH_SELINUX
+ /* This is what the files in ~/.cert would get. */
+ static const char certcon[] = "unconfined_u:object_r:home_cert_t:s0";
+