Witam,

Popełniłem dwie łatki dla truecrypt. Brakowało plików nagłówkowych w źródłach.

Pozdrawiam,
Krzysztof
--- truecrypt-6.0a-source/Platform/PlatformBase.h.org	2009-08-16 13:34:41.000000000 +0200
+++ truecrypt-6.0a-source/Platform/PlatformBase.h	2009-08-16 13:34:49.000000000 +0200
@@ -16,6 +16,7 @@
 #include <sstream>
 #include <string>
 #include <vector>
+#include <sys/types.h>
 
 using namespace std;
 
--- truecrypt-6.0a-source/Platform/Unix/FilesystemPath.cpp.org	2009-08-16 14:18:08.000000000 +0200
+++ truecrypt-6.0a-source/Platform/Unix/FilesystemPath.cpp	2009-08-16 14:18:38.000000000 +0200
@@ -10,7 +10,7 @@
 #include "Platform/SystemException.h"
 #include "Platform/StringConverter.h"
 #include <sys/stat.h>
-
+#include <stdio.h>
 namespace TrueCrypt
 {
 	void FilesystemPath::Delete () const
--- truecrypt.spec.org	2009-08-16 14:54:42.000000000 +0200
+++ truecrypt.spec	2009-08-16 14:54:55.000000000 +0200
@@ -23,6 +23,8 @@
 # Source0-md5:	7281d485a175c161e90526447d9d3fd0
 Source1:	http://ftp.wxwidgets.org/pub/%{wx_ver}/wxWidgets-%{wx_ver}.tar.bz2
 # Source1-md5:	e3455083afdf6404a569a8bf0701cf13
+Patch0:		PlatformBase.patch
+Patch1:		FilesystemPath.patch
 URL:		http://www.truecrypt.org/
 BuildRequires:	gcc >= 5:4.0.0
 BuildRequires:	libfuse-devel
@@ -72,6 +74,8 @@
 
 %prep
 %setup -q -n %{name}-%{version}-source -a1
+%patch0 -p1
+%patch1 -p1
 
 %build
 %if %{without gui}
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym