[vios-proxy/f17] Patch from upstream to include unistd
Nuno Santos
nsantos at fedoraproject.org
Thu Jun 14 18:09:17 UTC 2012
commit 5d43ba13ce56bc18069703d545a0b827428ffd32
Author: Nuno Santos <nsantos at redhat.com>
Date: Thu Jun 14 14:09:13 2012 -0400
Patch from upstream to include unistd
unistd.patch | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
vios-proxy.spec | 7 ++++++-
2 files changed, 54 insertions(+), 1 deletions(-)
---
diff --git a/unistd.patch b/unistd.patch
new file mode 100644
index 0000000..bf2e13c
--- /dev/null
+++ b/unistd.patch
@@ -0,0 +1,48 @@
+diff --git a/src/vios_gchannel.cpp b/src/vios_gchannel.cpp
+index 0b05b71..73f5b67 100644
+--- a/src/vios_gchannel.cpp
++++ b/src/vios_gchannel.cpp
+@@ -25,6 +25,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <memory.h>
++#include <unistd.h>
+
+ #include "vios_gchannel.h"
+ #include "vios_framing.h"
+diff --git a/src/vios_ghost.cpp b/src/vios_ghost.cpp
+index 9be2291..8047d30 100644
+--- a/src/vios_ghost.cpp
++++ b/src/vios_ghost.cpp
+@@ -31,6 +31,7 @@
+ #include <sys/time.h>
+ #include <sys/param.h>
+ #include <signal.h>
++#include <unistd.h>
+
+ #include "vios_ghost.h"
+ #include "vios_gchannel.h"
+diff --git a/src/vios_hchannel.cpp b/src/vios_hchannel.cpp
+index d75356a..6ca069c 100644
+--- a/src/vios_hchannel.cpp
++++ b/src/vios_hchannel.cpp
+@@ -23,6 +23,7 @@
+ #include <fcntl.h>
+ #include <memory.h>
+ #include <sys/un.h>
++#include <unistd.h>
+
+ #include "vios_hchannel.h"
+ #include "vios_hguest.h"
+diff --git a/src/vios_hguest.cpp b/src/vios_hguest.cpp
+index d255388..2061bfb 100644
+--- a/src/vios_hguest.cpp
++++ b/src/vios_hguest.cpp
+@@ -29,6 +29,7 @@
+ #include <sys/time.h>
+ #include <sys/param.h>
+ #include <signal.h>
++#include <unistd.h>
+
+ #include "vios_hguest.h"
+ #include "vios_hchannel.h"
diff --git a/vios-proxy.spec b/vios-proxy.spec
index 7ea2d98..9f54747 100644
--- a/vios-proxy.spec
+++ b/vios-proxy.spec
@@ -1,12 +1,13 @@
Name: vios-proxy
Version: 0.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Network proxy between a QEMU host and QEMU guests using virtioserial channels
Group: System Environment/Daemons
License: ASL 2.0
URL: http://git.fedorahosted.org/git/?p=vios-proxy.git
Source0: http://fedorahosted.org/released/vios-proxy/%{name}-%{version}.tar.gz
+Patch0: unistd.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: boost-devel
@@ -58,6 +59,7 @@ QEMU virtioserial channels.
%prep
%setup -q
+%patch0 -p1
pushd src
cmake -D CMAKE_INSTALL_PREFIX:STRING="%{_prefix}" -D CMAKE_CXX_FLAGS:STRING="%{optflags}" .
popd
@@ -93,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man1/vios-proxy-guest.1.gz
%changelog
+* Thu Jun 14 2012 Nuno Santos <nsantos at redhat.com> - 0.2-4
+- Patch from upstream to include unistd
+
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2-3
- Rebuilt for c++ ABI breakage
More information about the scm-commits
mailing list