* [gentoo-commits] gentoo-x86 commit in x11-misc/qtnotifydaemon/files: qtnotifydaemon-1.0.14-build.patch
@ 2012-08-06 15:23 Michael Palimaka (kensington)
0 siblings, 0 replies; only message in thread
From: Michael Palimaka (kensington) @ 2012-08-06 15:23 UTC (permalink / raw
To: gentoo-commits
kensington 12/08/06 15:23:23
Added: qtnotifydaemon-1.0.14-build.patch
Log:
Add upstream metadata. Fix underlinking and build with GCC 4.7 wrt bug #429654.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Revision Changes Path
1.1 x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch?rev=1.1&content-type=text/plain
Index: qtnotifydaemon-1.0.14-build.patch
===================================================================
Fixes build with GCC 4.7, as well as the gold linker.
--- main.cpp
+++ main.cpp
@@ -22,6 +22,7 @@
#include <signal.h>
#include <sys/stat.h>
#include <pwd.h>
+#include <unistd.h>
#include "dbus.h"
#include "notifywidget.h"
#include "notifyarea.h"
--- notifyarea.cpp
+++ notifyarea.cpp
@@ -22,6 +22,7 @@
#include <QSystemTrayIcon> //alex
#include <QDesktopWidget>
#include <fstream>
+#include <unistd.h>
#include "notifyarea.h"
#include "notifywidget.h"
#include "dbus.h"
--- qtnotifydaemon.pro
+++ qtnotifydaemon.pro
@@ -13,6 +13,7 @@
INCLUDEPATH += .
QT += dbus
RESOURCES += images.qrc
+LIBS += -lX11
# Input
SOURCES += main.cpp notifywidget.cpp dbus.cpp notifyarea.cpp message.cpp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-06 15:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-06 15:23 [gentoo-commits] gentoo-x86 commit in x11-misc/qtnotifydaemon/files: qtnotifydaemon-1.0.14-build.patch Michael Palimaka (kensington)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox