[packages/umlinux-tools] - rel 6; fix build
arekm
arekm at pld-linux.org
Sun Oct 20 13:31:12 CEST 2019
commit 9f23b273746d24a3e9f121655f17b238d000d3e0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Oct 20 13:31:05 2019 +0200
- rel 6; fix build
build.patch | 10 ++++++++++
umlinux-tools.spec | 6 ++++--
2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/umlinux-tools.spec b/umlinux-tools.spec
index 378ad54..cea7d65 100644
--- a/umlinux-tools.spec
+++ b/umlinux-tools.spec
@@ -2,13 +2,14 @@ Summary: User Mode Linux tools
Summary(pl.UTF-8): Narzędzia dla Linuksa w przestrzeni użytkownika
Name: umlinux-tools
Version: 20070815
-Release: 5
+Release: 6
License: GPL v2
Group: Applications/Emulators
Source0: http://user-mode-linux.sourceforge.net/uml_utilities_%{version}.tar.bz2
# Source0-md5: b0468ac8b79cef53f36f5f9517907462
Patch0: %{name}-Makefile.patch
Patch1: no-hardcoded-libdir.patch
+Patch2: build.patch
URL: http://user-mode-linux.sourceforge.net/
BuildRequires: libfuse-devel
BuildRequires: ncurses-devel
@@ -25,11 +26,12 @@ Narzędzia dla Linuksa w przestrzeni użytkownika.
%setup -q -n tools-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -Wall" \
+ CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
LDFLAGS="%{rpmldflags}" \
LIB_DIR=%{_libdir}/uml
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..e84fb9c
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,10 @@
+--- tools-20070815/uml_net/host.c~ 2006-02-27 21:19:52.000000000 +0100
++++ tools-20070815/uml_net/host.c 2019-10-20 13:29:37.428999642 +0200
+@@ -10,6 +10,7 @@
+ #include <ctype.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include "output.h"
+ #include "host.h"
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/umlinux-tools.git/commitdiff/9f23b273746d24a3e9f121655f17b238d000d3e0
More information about the pld-cvs-commit
mailing list