summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/glib/files')
-rw-r--r--dev-libs/glib/files/glib-2.12.4-gtimer-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/glib/files/glib-2.12.4-gtimer-fix.patch b/dev-libs/glib/files/glib-2.12.4-gtimer-fix.patch
new file mode 100644
index 000000000000..86555989a874
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.12.4-gtimer-fix.patch
@@ -0,0 +1,18 @@
+http://cvs.gnome.org/viewcvs/glib/glib/gtimer.c?r1=1.29.2.3&r2=1.29.2.4
+Fix a typo (read: build on G/FBSD)
+===================================================================
+RCS file: /cvs/gnome/glib/glib/gtimer.c,v
+retrieving revision 1.29.2.3
+retrieving revision 1.29.2.4
+diff -u -r1.29.2.3 -r1.29.2.4
+--- glib/gtimer.c 2006/10/01 05:51:15 1.29.2.3
++++ glib/gtimer.c 2006/10/06 18:44:33 1.29.2.4
+@@ -257,7 +257,7 @@
+
+ if (microseconds)
+ *microseconds = (elapsed / 10) % 1000000;
+-#elif HAVE_CLOCK_GETTIME
++#elif USE_CLOCK_GETTIME
+ if (timer->active)
+ GETTIME (timer->end);
+