summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-08-12 11:26:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-08-12 11:26:26 +0000
commit8cc86ea5ab8e9de7dd98c4f9369a6fc96b20d4e7 (patch)
treec4426087c8b178d40b0220181cb9afa3bc9de73f /dev-libs/cyberjack/files
parentLink to -lgthread-2.0 for symbol g_thread_init wrt #424505 by Andreas Prieß (diff)
downloadgentoo-2-8cc86ea5ab8e9de7dd98c4f9369a6fc96b20d4e7.tar.gz
gentoo-2-8cc86ea5ab8e9de7dd98c4f9369a6fc96b20d4e7.tar.bz2
gentoo-2-8cc86ea5ab8e9de7dd98c4f9369a6fc96b20d4e7.zip
Query udev.pc pkg-config file for correct udevdir. Fix building with sys-devel/gcc >= 4.7 wrt #423757 by Diego Elio Pettenò.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/cyberjack/files')
-rw-r--r--dev-libs/cyberjack/files/cyberjack-3.99.5_p03-gcc47.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/cyberjack/files/cyberjack-3.99.5_p03-gcc47.patch b/dev-libs/cyberjack/files/cyberjack-3.99.5_p03-gcc47.patch
new file mode 100644
index 000000000000..035d414a09d9
--- /dev/null
+++ b/dev-libs/cyberjack/files/cyberjack-3.99.5_p03-gcc47.patch
@@ -0,0 +1,34 @@
+http://bugs.gentoo.org/423757
+
+--- libcyberjack/checksuite/cm_distri.cpp
++++ libcyberjack/checksuite/cm_distri.cpp
+@@ -15,6 +15,7 @@
+ #include "cm_distri.h"
+ #include "checksuite.h"
+
++#include <unistd.h> /* unlink */
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <errno.h>
+--- tools/fox-dialog/main.cpp
++++ tools/fox-dialog/main.cpp
+@@ -9,6 +9,8 @@
+
+ #include <fx.h>
+
++#include <unistd.h> /* unlink */
++
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <pwd.h>
+--- tools/mac-ui-helper/main.m
++++ tools/mac-ui-helper/main.m
+@@ -31,6 +31,8 @@
+ #import "PinDialog.h"
+ #import "Delegate.h"
+
++#include <unistd.h> /* unlink */
++
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <pwd.h>