summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2006-10-09 12:23:29 +0000
committerMart Raudsepp <leio@gentoo.org>2006-10-09 12:23:29 +0000
commit3388792e26bfaef54d69615196d0c58a39b1c62f (patch)
tree4e6053625e9d538abe075b5894b2dda8005879bd /dev-libs/glib/files
parentMask again -fomit-frame-poointer as per bug #150413 and 148965. (diff)
downloadgentoo-2-3388792e26bfaef54d69615196d0c58a39b1c62f.tar.gz
gentoo-2-3388792e26bfaef54d69615196d0c58a39b1c62f.tar.bz2
gentoo-2-3388792e26bfaef54d69615196d0c58a39b1c62f.zip
Fix gtimer build on Gentoo/FreeBSD, bug #150557
(Portage version: 2.1.2_pre2-r6)
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);
+