Overview
Submit package home:Ximi1970:branches:Extra / tntnet to package Extra / tntnet
tntnet.spec
Changed
x
1
2
Url: http://www.tntnet.org/index.hms
3
Source0: tntnet-%{version}.tar.bz2
4
Source1: tntnet
5
+Patch0: tntnet-%{version}-gcc47.patch
6
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
7
Requires: %{libname} = %{version}-%{release}
8
BuildRequires: zip
9
10
11
%prep
12
%setup -q -n tntnet-%{version}
13
+%patch0 -p1
14
find . -name "Makefile.*" -exec %{__sed} -i -e "s|@CXXTOOLS_CONFIG@|cxxtools-config|g" {} \;
15
16
%build
17
tntnet-2.1-gcc47.patch
Added
13
1
2
+diff -urN tntnet-2.1.orig/framework/defcomp/static.cpp tntnet-2.1/framework/defcomp/static.cpp
3
+--- tntnet-2.1.orig/framework/defcomp/static.cpp 2012-03-31 20:38:58.000000000 +0200
4
++++ tntnet-2.1/framework/defcomp/static.cpp 2012-10-15 15:39:08.407234243 +0200
5
+@@ -41,6 +41,7 @@
6
+ #include <sys/types.h>
7
+ #include <sys/stat.h>
8
+ #include <config.h>
9
++#include <unistd.h>
10
+ #include <limits>
11
+
12
+ #if defined(HAVE_SENDFILE) && defined(HAVE_SYS_SENDFILE_H)
13
Refresh
Refresh
Login required, please
login
or
signup
in order to comment
Request History
Ximi1970 created request over 11 years ago
Patch for gcc 4.7
pbleser accepted request over 12 years ago