summaryrefslogtreecommitdiffstats
path: root/clock-network.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2015-01-11 16:03:58 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2015-01-11 16:03:58 -0600
commite19f5d68e5835eb93ae8e7b9e5de701a860987f8 (patch)
treef1aab77d1f1bfff01a115edf37cbc0adaf291768 /clock-network.patch
parent26ea386096c0cd7de55cc2226c46b63338c0ef39 (diff)
downloadgnome-panel-f20.tar.gz
gnome-panel-f20.tar.xz
gnome-panel-f20.zip
Revert "Package is retired, replaced by the GNOME Classic session in F19"f20
This reverts commit 26ea386096c0cd7de55cc2226c46b63338c0ef39.
Diffstat (limited to 'clock-network.patch')
-rw-r--r--clock-network.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/clock-network.patch b/clock-network.patch
new file mode 100644
index 0000000..db88b82
--- /dev/null
+++ b/clock-network.patch
@@ -0,0 +1,22 @@
+diff -up gnome-panel-2.26.1/applets/clock/clock-location.c.network gnome-panel-2.26.1/applets/clock/clock-location.c
+--- gnome-panel-2.26.1/applets/clock/clock-location.c.network 2009-04-15 17:28:26.760634154 -0400
++++ gnome-panel-2.26.1/applets/clock/clock-location.c 2009-04-15 17:43:41.869383882 -0400
+@@ -12,6 +12,9 @@
+ #include <time.h>
+ #include <unistd.h>
+ #include <math.h>
++#include <netinet/in.h>
++#include <arpa/nameser.h>
++#include <resolv.h>
+
+ #include <glib.h>
+ #include <gio/gio.h>
+@@ -695,6 +698,8 @@ state_notify (DBusPendingCall *pending,
+ DBUS_TYPE_UINT32, &result,
+ DBUS_TYPE_INVALID)) {
+ if (result == NM_STATE_CONNECTED) {
++ /* thank you, glibc */
++ res_init ();
+ update_weather_infos ();
+ }
+ }