aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libunrar
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2005-10-05 18:18:33 +0800
committervsevolod <vsevolod@FreeBSD.org>2005-10-05 18:18:33 +0800
commit1d7741288f237cdc389bb738c212f18140258364 (patch)
tree49229b4e265c22fa58bcccd9d99b59a93cbe0b1b /archivers/libunrar
parent1d2dffbd78ac71f8f20fc9fe293c578076349d03 (diff)
downloadfreebsd-ports-gnome-1d7741288f237cdc389bb738c212f18140258364.tar.gz
freebsd-ports-gnome-1d7741288f237cdc389bb738c212f18140258364.tar.zst
freebsd-ports-gnome-1d7741288f237cdc389bb738c212f18140258364.zip
Add missed patch to dll.hpp.
PR: 86932 Submitted by: Alex Samorukov (maintainer) Pointy hat to: mnag
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
+ {