[packages/libvpd] - added include patch (missing include)

qboosh qboosh at pld-linux.org
Sun Mar 24 10:19:34 CET 2013


commit e1cfd4ee1e7aaed834376f9d3c9f2bcb411036f9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 24 10:19:32 2013 +0100

    - added include patch (missing include)

 libvpd-include.patch | 10 ++++++++++
 libvpd.spec          |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/libvpd.spec b/libvpd.spec
index adefc80..3bf15ca 100644
--- a/libvpd.spec
+++ b/libvpd.spec
@@ -9,6 +9,7 @@ Source0:	http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
 # Source0-md5:	1d08639c2fe1878e9c685cbc2e344f7f
 Patch0:		%{name}-pc.patch
 Patch1:		%{name}-nolink.patch
+Patch2:		%{name}-include.patch
 URL:		http://linux-diag.sourceforge.net/Lsvpd.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -93,6 +94,7 @@ Statyczna biblioteka libvpd_cxx.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
diff --git a/libvpd-include.patch b/libvpd-include.patch
new file mode 100644
index 0000000..ccc40e6
--- /dev/null
+++ b/libvpd-include.patch
@@ -0,0 +1,10 @@
+--- libvpd-2.2.1/src/helper_functions.cpp.orig	2013-03-24 10:07:58.011786547 +0100
++++ libvpd-2.2.1/src/helper_functions.cpp	2013-03-24 10:10:28.103372654 +0100
+@@ -24,6 +24,7 @@
+ #include <libvpd-2/helper_functions.hpp>
+ #include <cstdio>
+ #include <fcntl.h>
++#include <unistd.h>
+ #include <cstdlib>
+ #include <cstring>
+ #include <fstream>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvpd.git/commitdiff/e1cfd4ee1e7aaed834376f9d3c9f2bcb411036f9



More information about the pld-cvs-commit mailing list