summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2012-11-12 01:48:06 +0000
committerRichard Freeman <rich0@gentoo.org>2012-11-12 01:48:06 +0000
commit317ebdcc28c4a6b3b624fb1d7fb617ac68ca9c27 (patch)
tree11e47ae3658834ae9233b7c4cbac84cfbbd75942 /app-misc
parentVersion bump (diff)
downloadgentoo-2-317ebdcc28c4a6b3b624fb1d7fb617ac68ca9c27.tar.gz
gentoo-2-317ebdcc28c4a6b3b624fb1d7fb617ac68ca9c27.tar.bz2
gentoo-2-317ebdcc28c4a6b3b624fb1d7fb617ac68ca9c27.zip
fix missing include - 442660
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x08C170DE55EC123A)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/sleepyhead/ChangeLog6
-rw-r--r--app-misc/sleepyhead/files/common_gui.patch12
-rw-r--r--app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/app-misc/sleepyhead/ChangeLog b/app-misc/sleepyhead/ChangeLog
index 622d3c03cbb7..4a9ea529b680 100644
--- a/app-misc/sleepyhead/ChangeLog
+++ b/app-misc/sleepyhead/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/sleepyhead
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/ChangeLog,v 1.5 2012/07/27 15:07:55 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/ChangeLog,v 1.6 2012/11/12 01:48:06 rich0 Exp $
+
+ 12 Nov 2012; Richard Freeman <rich0@gentoo.org> sleepyhead-0.9.2.2-r1.ebuild,
+ +files/common_gui.patch:
+ fix missing include - 442660
27 Jul 2012; Michael Palimaka <kensington@gentoo.org>
sleepyhead-0.9.2.2-r1.ebuild, sleepyhead-0.9.2.2.ebuild:
diff --git a/app-misc/sleepyhead/files/common_gui.patch b/app-misc/sleepyhead/files/common_gui.patch
new file mode 100644
index 000000000000..6e41e0ac4ce9
--- /dev/null
+++ b/app-misc/sleepyhead/files/common_gui.patch
@@ -0,0 +1,12 @@
+diff --git a/common_gui.cpp b/common_gui.cpp
+index 0f38ce8..36b0b9e 100644
+--- a/common_gui.cpp
++++ b/common_gui.cpp
+@@ -6,6 +6,7 @@
+
+ #include "common_gui.h"
+ #include "qglobal.h"
++#include <unistd.h>
+
+ #ifdef Q_WS_WIN32
+ #include "windows.h"
diff --git a/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild b/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild
index 5bb3bb571239..1622407b42bc 100644
--- a/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild
+++ b/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild,v 1.2 2012/07/27 15:07:55 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild,v 1.3 2012/11/12 01:48:06 rich0 Exp $
EAPI=4
inherit eutils qt4-r2
@@ -38,6 +38,7 @@ src_prepare() {
epatch "${FILESDIR}/gitfix.patch"
epatch "${FILESDIR}/prs1-64fix.patch"
epatch "${FILESDIR}/prs1-code8fix.patch"
+ epatch "${FILESDIR}/common_gui.patch"
sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \
quazip/zip.c quazip/zip.h quazip/zlib.h