[packages/cursedmenu] - rel 6; build fixed
arekm
arekm at pld-linux.org
Sat Dec 12 13:22:53 CET 2015
commit d5b08fb1e464b2126c556dedfcfac4aa45514116
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Dec 12 13:22:49 2015 +0100
- rel 6; build fixed
cursedmenu-build.patch | 11 +++++++++++
cursedmenu.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/cursedmenu.spec b/cursedmenu.spec
index 1eca3ed..d4d8d38 100644
--- a/cursedmenu.spec
+++ b/cursedmenu.spec
@@ -2,12 +2,13 @@ Summary: ncurses based menu system for character based sessions
Summary(pl.UTF-8): oparty o ncurses system menu dla sesji terminalowych
Name: cursedmenu
Version: 1.0.4
-Release: 5
+Release: 6
License: GPL v3
Group: Applications
Source0: http://dl.sourceforge.net/cursedmenu/%{name}-%{version}.tar.bz2
# Source0-md5: 31e9353ba603b95df3b742bfa3a0ed87
Patch0: %{name}-gcc43.patch
+Patch1: %{name}-build.patch
URL: http://cursedmenu.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -31,6 +32,7 @@ tekstowych, takich jak telnet, ssh czy rlogin.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
CPPFLAGS="%{rpmcflags} -I/usr/include/ncurses"
diff --git a/cursedmenu-build.patch b/cursedmenu-build.patch
new file mode 100644
index 0000000..2bd0859
--- /dev/null
+++ b/cursedmenu-build.patch
@@ -0,0 +1,11 @@
+--- cursedmenu-1.0.4/src/ActionLogger.cc~ 2015-12-12 13:21:02.000000000 +0100
++++ cursedmenu-1.0.4/src/ActionLogger.cc 2015-12-12 13:21:47.173512693 +0100
+@@ -25,6 +25,8 @@
+ #include <string>
+ #include <time.h>
+ #include <stdio.h>
++#include <sys/types.h>
++#include <unistd.h>
+ #include "ActionLogger.hh"
+ #include "../config.h"
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cursedmenu.git/commitdiff/d5b08fb1e464b2126c556dedfcfac4aa45514116
More information about the pld-cvs-commit
mailing list