components/desktop/polkit/patches/05-mocklibc.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 14 Jun 2016 20:31:53 -0700
changeset 6217 f2179bfee747
permissions -rw-r--r--
23245662 Deliver polkit 0.113 in Solaris PSARC/2016/312 PolKit

Solaris specific changes for compiling

--- polkit-0.113/test/mocklibc/src/netdb.c~	2014-01-14 14:42:25.000000000 -0800
+++ polkit-0.113/test/mocklibc/src/netdb.c	2015-10-03 17:14:18.150116510 -0700
@@ -51,7 +51,11 @@
   return 1;
 }
 
+#ifdef __sun
+int endnetgrent(void) {
+#else
 void endnetgrent(void) {
+#endif
   netgroup_free_all(global_netgroup_head);
   global_netgroup_head = NULL;
 }