[freenx-client] Fix FTBFS.

Jon Ciesla limb at fedoraproject.org
Tue Jul 31 19:21:15 UTC 2012


commit 273163ccda4d1a479b581f6dc78439b5b499c68a
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Tue Jul 31 14:20:39 2012 -0500

    Fix FTBFS.

 freenx-client-0.9-includes.patch |   10 ++++++++++
 freenx-client.spec               |    7 ++++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/freenx-client-0.9-includes.patch b/freenx-client-0.9-includes.patch
new file mode 100644
index 0000000..3d141f7
--- /dev/null
+++ b/freenx-client-0.9-includes.patch
@@ -0,0 +1,10 @@
+--- nxcl/lib/notQt.h~	2012-07-31 13:51:49.000000000 -0500
++++ nxcl/lib/notQt.h	2012-07-31 13:53:57.910083180 -0500
+@@ -35,6 +35,7 @@
+ extern "C" {
+ #include <sys/poll.h>
+ }
++#include <unistd.h>
+ #define NOTQTPROCESS_MAIN_APP 0
+ #define NOTQTPROCESS_FAILURE -1
+ 
diff --git a/freenx-client.spec b/freenx-client.spec
index e60a9b8..1903087 100644
--- a/freenx-client.spec
+++ b/freenx-client.spec
@@ -1,13 +1,14 @@
 Summary: Free client libraries and binaries for the NX protocol
 Name: freenx-client
 Version: 0.9
-Release: 14%{?dist}
+Release: 15%{?dist}
 License: GPLv2+
 Group: Applications/Internet
 URL: http://freenx.berlios.de/
 Source0: http://download.berlios.de/freenx/%{name}-%{version}.tar.bz2
 Source1: qtnx.desktop
 Patch0: freenx-client-0.9-fixes.patch
+Patch1: freenx-client-0.9-includes.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: autoconf >= 2.59c, automake >= 1.10, libtool
 BuildRequires: gcc-c++
@@ -64,6 +65,7 @@ to Seb James' nxcl library.
 %prep
 %setup -q
 %patch0 -p1 -b .fixes
+%patch1 -p0 -b .includes
 cat >> qtnx/qtnx.pro << EOF
 QMAKE_CXXFLAGS += -I`pwd`/nxcl/lib
 LIBS += -L`pwd`/nxcl/lib -lnxcl
@@ -119,6 +121,9 @@ rm -rf %{buildroot}
 %{_datadir}/applications/*qtnx.desktop
 
 %changelog
+* Tue Jul 31 2012 Jon Ciesla <limburgher at gmail.com> - 0.9-15
+- Fix FTBFS.
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list