[packages/tora] - added missing header for gethostname(3) - rel 3
baggins
baggins at pld-linux.org
Sun Jul 14 14:43:29 CEST 2013
commit 63c5c51a0c3b70fd854b969fa8ba999555ec5429
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jul 14 14:43:09 2013 +0200
- added missing header for gethostname(3)
- rel 3
gethostname.patch | 11 +++++++++++
tora.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/tora.spec b/tora.spec
index 3008900..982dc63 100644
--- a/tora.spec
+++ b/tora.spec
@@ -7,7 +7,7 @@ Summary: A graphical toolkit for database developers and administrators
Summary(pl.UTF-8): Zestaw graficznych narzędzi dla programistów i administratorów baz danych
Name: tora
Version: 2.1.3
-Release: 2
+Release: 3
License: GPL v2
Group: Applications/Databases/Interfaces
Source0: http://downloads.sourceforge.net/tora/%{name}-%{version}.tar.gz
@@ -16,6 +16,7 @@ Source1: %{name}.desktop
Patch0: %{name}-postgresql.patch
Patch1: %{name}-gcc.patch
Patch2: %{name}-build.patch
+Patch3: gethostname.patch
URL: http://tora.sourceforge.net/
BuildRequires: QtCore-devel
BuildRequires: QtGui-devel
@@ -56,6 +57,7 @@ być obsługiwane poprzez ODBC.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
rm -f src/moc_*
diff --git a/gethostname.patch b/gethostname.patch
new file mode 100644
index 0000000..df1e296
--- /dev/null
+++ b/gethostname.patch
@@ -0,0 +1,11 @@
+--- /home/users/baggins/rpm/BUILD/tora-2.1.3/src/toreport.cpp~ 2010-01-14 17:39:02.000000000 +0100
++++ /home/users/baggins/rpm/BUILD/tora-2.1.3/src/toreport.cpp 2013-07-14 14:40:34.485230193 +0200
+@@ -47,6 +47,8 @@
+ #include "toextract.h"
+ #include "toreport.h"
+
++#include <unistd.h>
++
+ #include <qapplication.h>
+ #include <qdatetime.h>
+ #ifdef Q_OS_WIN32
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tora.git/commitdiff/63c5c51a0c3b70fd854b969fa8ba999555ec5429
More information about the pld-cvs-commit
mailing list