@@ -0,0 +1,18 @@
+--- rar.hpp.dist Thu Jun 12 14:16:15 2003
++++ rar.hpp Thu Jun 12 14:15:31 2003
+@@ -16,6 +16,7 @@
+ #include "int64.hpp"
+ #include "unicode.hpp"
+ #include "errhnd.hpp"
++#include "global.hpp"
+ #include "array.hpp"
+ #include "timefn.hpp"
+ #include "headers.hpp"
+@@ -71,7 +72,6 @@
+ #include "smallfn.hpp"
+ #include "ulinks.hpp"
+
+-#include "global.hpp"
+ #endif
@@ -33,10 +33,11 @@ Distribution: OpenPKG [PLUS]
Group: Archiver
License: freely distributable
Version: 3.2.2
-Release: 20030519
+Release: 20030612
# list of sources
Source0: http://files10.rarlab.com/rar/unrarsrc-%{version}.tar.gz
+Patch0: unrar.patch
# build information
Prefix: %{l_prefix}
@@ -53,6 +54,7 @@ AutoReqProv: no
%prep
%setup -q -n unrar
+ %patch -p0
%build
cxxflags="-O2"