Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d43ba13ce |
2 changed files with 54 additions and 1 deletions
48
unistd.patch
Normal file
48
unistd.patch
Normal file
|
|
@ -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"
|
||||
|
|
@ -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@redhat.com> - 0.2-4
|
||||
- Patch from upstream to include unistd
|
||||
|
||||
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
|
||||
- Rebuilt for c++ ABI breakage
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue