summaryrefslogtreecommitdiff
path: root/archivers/libunrar
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2005-10-05 10:18:33 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2005-10-05 10:18:33 +0000
commitaa6a44811a3c29f8ab491756a8ff19376d02f037 (patch)
tree28048b1fa2f2cd742262b39718d15f32da24b396 /archivers/libunrar
parentForgot to remove pmar-doc from games/Makefile and modules (diff)
Add missed patch to dll.hpp.
PR: 86932 Submitted by: Alex Samorukov (maintainer) Pointy hat to: mnag
Notes
Notes: svn path=/head/; revision=144280
Diffstat (limited to 'archivers/libunrar')
-rw-r--r--archivers/libunrar/Makefile1
-rw-r--r--archivers/libunrar/files/patch-dll.hpp18
2 files changed, 19 insertions, 0 deletions
diff --git a/archivers/libunrar/Makefile b/archivers/libunrar/Makefile
index 100ea533e562..755687e73e19 100644
--- a/archivers/libunrar/Makefile
+++ b/archivers/libunrar/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libunrar
PORTVERSION= 3.53
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://files1.rarlab.com/rar/ \
http://files2.rarlab.com/rar/ \
diff --git a/archivers/libunrar/files/patch-dll.hpp b/archivers/libunrar/files/patch-dll.hpp
new file mode 100644
index 000000000000..abb7e7fed10d
--- /dev/null
+++ b/archivers/libunrar/files/patch-dll.hpp
@@ -0,0 +1,18 @@
+--- dll.hpp.orig 2004-09-08 17:57:20.000000000 +0400
++++ dll.hpp 2004-10-22 10:43:08.000000000 +0400
+@@ -26,13 +26,13 @@
+
+ #define RAR_DLL_VERSION 4
+
+-#ifdef _UNIX
++//#ifdef _UNIX
+ #define CALLBACK
+ #define PASCAL
+ #define LONG long
+ #define HANDLE void *
+ #define UINT unsigned int
+-#endif
++//#endif
+
+ struct RARHeaderData
+ {