--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/polkit/patches/05-mocklibc.patch Tue Jun 14 20:31:53 2016 -0700
@@ -0,0 +1,16 @@
+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;
+ }