summaryrefslogtreecommitdiff
path: root/system/polkit/fix-test-fgetpwent.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:02:02 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:02:02 -0600
commitee33a1a838ae6aa5bdb1de6688c79883d9e35fe3 (patch)
treeb5b4825c22251afb02abf8cf5bcf6a9e90b9291b /system/polkit/fix-test-fgetpwent.patch
parent0007a6ccd7d5975b19c9033eb7bc2ce3aa98f35b (diff)
downloadpackages-ee33a1a838ae6aa5bdb1de6688c79883d9e35fe3.tar.gz
packages-ee33a1a838ae6aa5bdb1de6688c79883d9e35fe3.tar.bz2
packages-ee33a1a838ae6aa5bdb1de6688c79883d9e35fe3.tar.xz
packages-ee33a1a838ae6aa5bdb1de6688c79883d9e35fe3.zip
system/polkit: add PAM-enabled PolicyKit
Diffstat (limited to 'system/polkit/fix-test-fgetpwent.patch')
-rw-r--r--system/polkit/fix-test-fgetpwent.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/polkit/fix-test-fgetpwent.patch b/system/polkit/fix-test-fgetpwent.patch
new file mode 100644
index 000000000..7bc6481cc
--- /dev/null
+++ b/system/polkit/fix-test-fgetpwent.patch
@@ -0,0 +1,20 @@
+--- polkit-0.105/test/mocklibc/src/pwd.c.old 2012-04-24 11:05:34.000000000 -0500
++++ polkit-0.105/test/mocklibc/src/pwd.c 2017-09-27 19:40:57.883227673 -0500
+@@ -16,6 +16,7 @@
+ * Author: Nikki VonHollen <vonhollen@gmail.com>
+ */
+
++#define _GNU_SOURCE
+ #include <pwd.h>
+
+ #include <stdio.h>
+--- polkit-0.105/test/mocklibc/src/grp.c.old 2012-04-24 11:05:34.000000000 -0500
++++ polkit-0.105/test/mocklibc/src/grp.c 2017-09-27 19:44:57.759238450 -0500
+@@ -16,6 +16,7 @@
+ * Author: Nikki VonHollen <vonhollen@gmail.com>
+ */
+
++#define _GNU_SOURCE
+ #include <grp.h>
+
+ #include <stdio.h>