aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/polkit/files
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-03-08 18:51:34 +0800
committerkwm <kwm@FreeBSD.org>2013-03-08 18:51:34 +0800
commit77aa43669359356c3cab5041fdfcd537e1cabf09 (patch)
tree961839899dce7f75292a08c079f548973bdbd40d /sysutils/polkit/files
parent0fdeab2269ff13fcc43d09958d528d0ce5ec786a (diff)
downloadfreebsd-ports-gnome-77aa43669359356c3cab5041fdfcd537e1cabf09.tar.gz
freebsd-ports-gnome-77aa43669359356c3cab5041fdfcd537e1cabf09.tar.zst
freebsd-ports-gnome-77aa43669359356c3cab5041fdfcd537e1cabf09.zip
* Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases. * Update vala to the newest stable release 0.18.1, also update a few ports in the gtk/gnome stack. * The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles. * Remove pkg-config run depends from glib20 and freetype2. This doesn't eliminate pkg-config run dependency completely, a second phase is needed and is planned. * Support for .:run. and .:build. for USE_GNOME components was added. Currently only libxml2 and libxslt support this mechanism. * Updates of the telepathy stack and empathy. * Trim makefile headers, convert ports to new options, trim off library versions for some ports. * Fix other ports so they build with the new glib version. Thanks to miwi and crees for helping out with some exp-runs. Approved by: portmgr (miwi & bapt) Obtained from: gnome team repo
Diffstat (limited to 'sysutils/polkit/files')
-rw-r--r--sysutils/polkit/files/patch-Makefile.in11
-rw-r--r--sysutils/polkit/files/patch-src_polkitagent_polkitagenthelperprivate.c12
-rw-r--r--sysutils/polkit/files/patch-src_polkitbackend_polkitbackendinteractiveauthority.c11
-rw-r--r--sysutils/polkit/files/patch-src_polkitbackend_polkitbackendlocalauthority.c23
-rw-r--r--sysutils/polkit/files/patch-src_programs_pkexec.c11
5 files changed, 57 insertions, 11 deletions
diff --git a/sysutils/polkit/files/patch-Makefile.in b/sysutils/polkit/files/patch-Makefile.in
new file mode 100644
index 000000000000..665c13c7d361
--- /dev/null
+++ b/sysutils/polkit/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2012-05-15 22:09:33.000000000 +0200
++++ Makefile.in 2012-05-15 22:10:16.000000000 +0200
+@@ -292,7 +292,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = actions data src docs po test
++SUBDIRS = actions data src docs po
+ NULL =
+ EXTRA_DIST = \
+ HACKING \
diff --git a/sysutils/polkit/files/patch-src_polkitagent_polkitagenthelperprivate.c b/sysutils/polkit/files/patch-src_polkitagent_polkitagenthelperprivate.c
new file mode 100644
index 000000000000..c5c5bd8dade8
--- /dev/null
+++ b/sysutils/polkit/files/patch-src_polkitagent_polkitagenthelperprivate.c
@@ -0,0 +1,12 @@
+--- src/polkitagent/polkitagenthelperprivate.c.orig 2011-02-23 18:18:11.000000000 +0000
++++ src/polkitagent/polkitagenthelperprivate.c 2011-02-23 18:18:41.000000000 +0000
+@@ -103,7 +103,7 @@ flush_and_wait ()
+ {
+ fflush (stdout);
+ fflush (stderr);
+- fdatasync (fileno(stdout));
+- fdatasync (fileno(stderr));
++ fsync (fileno(stdout));
++ fsync (fileno(stderr));
+ usleep (100 * 1000);
+ }
diff --git a/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendinteractiveauthority.c b/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendinteractiveauthority.c
new file mode 100644
index 000000000000..76a08f711bcc
--- /dev/null
+++ b/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendinteractiveauthority.c
@@ -0,0 +1,11 @@
+--- src/polkitbackend/polkitbackendinteractiveauthority.c.orig 2012-05-15 21:52:38.000000000 +0200
++++ src/polkitbackend/polkitbackendinteractiveauthority.c 2012-05-15 21:52:49.000000000 +0200
+@@ -279,7 +279,7 @@
+ static volatile GQuark domain = 0;
+
+ /* Force registering error domain */
+- domain = POLKIT_ERROR; domain;
++ domain = POLKIT_ERROR;
+
+ priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority);
+
diff --git a/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendlocalauthority.c b/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendlocalauthority.c
new file mode 100644
index 000000000000..f4a57022e5f9
--- /dev/null
+++ b/sysutils/polkit/files/patch-src_polkitbackend_polkitbackendlocalauthority.c
@@ -0,0 +1,23 @@
+--- src/polkitbackend/polkitbackendlocalauthority.c.orig 2012-05-15 21:52:35.000000000 +0200
++++ src/polkitbackend/polkitbackendlocalauthority.c 2012-05-15 21:53:07.000000000 +0200
+@@ -700,11 +700,7 @@
+ ret = NULL;
+ name = polkit_unix_netgroup_get_name (POLKIT_UNIX_NETGROUP (group));
+
+- if (setnetgrent (name) == 0)
+- {
+- g_warning ("Error looking up net group with name %s: %s", name, g_strerror (errno));
+- goto out;
+- }
++ setnetgrent (name);
+
+ for (;;)
+ {
+@@ -737,7 +733,6 @@
+
+ ret = g_list_reverse (ret);
+
+- out:
+ endnetgrent ();
+ return ret;
+ }
diff --git a/sysutils/polkit/files/patch-src_programs_pkexec.c b/sysutils/polkit/files/patch-src_programs_pkexec.c
deleted file mode 100644
index 620ebae15918..000000000000
--- a/sysutils/polkit/files/patch-src_programs_pkexec.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/programs/pkexec.c.orig 2010-01-18 02:52:40.000000000 -0500
-+++ src/programs/pkexec.c 2010-01-18 03:06:57.000000000 -0500
-@@ -438,7 +438,7 @@ main (int argc, char *argv[])
- goto out;
- }
-
-- original_cwd = g_strdup (get_current_dir_name ());
-+ original_cwd = g_strdup (getcwd (NULL, 0));
- if (original_cwd == NULL)
- {
- g_printerr ("Error getting cwd.\n");