summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-06-03 14:23:03 +0000
committerMichael Weber <xmw@gentoo.org>2012-06-03 14:23:03 +0000
commit879a923d9256edc30e42ee0fcc8c4515e9beb7e2 (patch)
tree85e71faa087a3285019fc60ddade7a425bbddef3 /sys-auth
parentKeyword ~mips (diff)
downloadgentoo-2-879a923d9256edc30e42ee0fcc8c4515e9beb7e2.tar.gz
gentoo-2-879a923d9256edc30e42ee0fcc8c4515e9beb7e2.tar.bz2
gentoo-2-879a923d9256edc30e42ee0fcc8c4515e9beb7e2.zip
Add gcc/unistd patch
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/fingerprint-gui/ChangeLog6
-rw-r--r--sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch70
-rw-r--r--sys-auth/fingerprint-gui/fingerprint-gui-1.04.ebuild8
3 files changed, 81 insertions, 3 deletions
diff --git a/sys-auth/fingerprint-gui/ChangeLog b/sys-auth/fingerprint-gui/ChangeLog
index 15ee278130e7..2234c4bffc08 100644
--- a/sys-auth/fingerprint-gui/ChangeLog
+++ b/sys-auth/fingerprint-gui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/fingerprint-gui
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog,v 1.1 2012/05/21 01:56:30 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog,v 1.2 2012/06/03 14:23:03 xmw Exp $
+
+ 03 Jun 2012; Michael Weber <xmw@gentoo.org> fingerprint-gui-1.04.ebuild,
+ +files/fingerprint-gui-1.04-unistd.patch:
+ Add gcc/unistd patch
*fingerprint-gui-1.04 (21 May 2012)
diff --git a/sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch b/sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch
new file mode 100644
index 000000000000..f65aa94d2d1d
--- /dev/null
+++ b/sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch
@@ -0,0 +1,70 @@
+--- fingerprint-gui-1.04/src/UserSettings.cpp
++++ fingerprint-gui-1.04/src/UserSettings.cpp
+@@ -30,6 +30,7 @@
+
+ #include <syslog.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <sys/mount.h>
+ #include <errno.h>
+
+--- fingerprint-gui-1.04/src/IdentifierGUI.cpp
++++ fingerprint-gui-1.04/src/IdentifierGUI.cpp
+@@ -25,6 +25,7 @@
+
+ #include <string>
+ #include <iostream>
++#include <unistd.h>
+ #include "IdentifierGUI.h"
+
+ #define KEEP_ON_TOP \
+--- fingerprint-gui-1.04/src/FingerprintPAM.cpp
++++ fingerprint-gui-1.04/src/FingerprintPAM.cpp
+@@ -37,6 +37,7 @@
+ #include <errno.h>
+ #include <pwd.h>
+ #include <string>
++#include <unistd.h>
+
+ #include "../include/Globals.h"
+
+--- fingerprint-gui-1.04/src/PluginDialog.cpp
++++ fingerprint-gui-1.04/src/PluginDialog.cpp
+@@ -25,6 +25,7 @@
+
+ #include <sys/poll.h>
+ #include <string>
++#include <unistd.h>
+ #include <qt4/QtCore/qthread.h>
+
+ #include "../include/PluginDialog.h"
+--- fingerprint-gui-1.04/src/PamGUI.cpp
++++ fingerprint-gui-1.04/src/PamGUI.cpp
+@@ -23,6 +23,7 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
++#include <unistd.h>
+ #include "PamGUI.h"
+ #include "FingerprintHelper.h"
+
+--- fingerprint-gui-1.04/src/PamNonGUI.cpp
++++ fingerprint-gui-1.04/src/PamNonGUI.cpp
+@@ -23,6 +23,7 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
++#include <unistd.h>
+ #include "PamNonGUI.h"
+ #include "FingerprintHelper.h"
+
+--- fingerprint-gui-1.04/src/FingerprintPlugin.cpp
++++ fingerprint-gui-1.04/src/FingerprintPlugin.cpp
+@@ -25,6 +25,7 @@
+
+ #include <syslog.h>
+ #include <string>
++#include <unistd.h>
+ #include <qt4/QtGui/qwidget.h>
+
+ #include "PluginDialog.h"
diff --git a/sys-auth/fingerprint-gui/fingerprint-gui-1.04.ebuild b/sys-auth/fingerprint-gui/fingerprint-gui-1.04.ebuild
index 10be5661c84c..be033abfcd33 100644
--- a/sys-auth/fingerprint-gui/fingerprint-gui-1.04.ebuild
+++ b/sys-auth/fingerprint-gui/fingerprint-gui-1.04.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/fingerprint-gui-1.04.ebuild,v 1.2 2012/05/21 14:32:58 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/fingerprint-gui-1.04.ebuild,v 1.3 2012/06/03 14:23:03 xmw Exp $
EAPI=4
-inherit multilib versionator qt4-r2
+inherit eutils multilib qt4-r2
DESCRIPTION="Use Fingerprint Devices with Linux"
HOMEPAGE="http://www.n-view.net/Appliance/fingerprint/"
@@ -28,6 +28,10 @@ QA_SONAME="/usr/lib/libbsapi.so /usr/lib64/libbsapi.so"
QA_PRESTRIPPED="/usr/lib/libbsapi.so /usr/lib64/libbsapi.so"
QA_FLAGS_IGNORED="/usr/lib/libbsapi.so /usr/lib64/libbsapi.so"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-unistd.patch
+}
+
src_configure() {
eqmake4 \
PREFIX="${EROOT}"usr \