aboutsummaryrefslogtreecommitdiff
path: root/archivers/libunrar
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-11-09 16:36:08 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-11-09 16:36:08 +0000
commit6d7a1267838d634a163b87ba59783934231fd750 (patch)
tree0b0b1c407b7cb26c320488ee02da1997fdd5eccc /archivers/libunrar
parent1420ea0da1a58fce96d96f2c2c37c76e0da87e3f (diff)
downloadports-6d7a1267838d634a163b87ba59783934231fd750.tar.gz
ports-6d7a1267838d634a163b87ba59783934231fd750.zip
- Update to 3.8.5
PR: 128624 Submitted by: Alex Samorukov <samm@os2.kiev.ua> (maintainer)
Notes
Notes: svn path=/head/; revision=222613
Diffstat (limited to 'archivers/libunrar')
-rw-r--r--archivers/libunrar/Makefile2
-rw-r--r--archivers/libunrar/distinfo6
-rw-r--r--archivers/libunrar/files/patch-dll.hpp11
-rw-r--r--archivers/libunrar/files/patch-makefile.unix21
4 files changed, 22 insertions, 18 deletions
diff --git a/archivers/libunrar/Makefile b/archivers/libunrar/Makefile
index 7fef1879c5f5..b6a95b732c8b 100644
--- a/archivers/libunrar/Makefile
+++ b/archivers/libunrar/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libunrar
-PORTVERSION= 3.7.8
+PORTVERSION= 3.8.5
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
diff --git a/archivers/libunrar/distinfo b/archivers/libunrar/distinfo
index 15be360b83c6..baa1bd0487b3 100644
--- a/archivers/libunrar/distinfo
+++ b/archivers/libunrar/distinfo
@@ -1,3 +1,3 @@
-MD5 (unrarsrc-3.7.8.tar.gz) = b783f1932bc0c73902c6399f7c2c6f43
-SHA256 (unrarsrc-3.7.8.tar.gz) = 10476e8f0152830922d1038cbc852ec08cdbcd9945fa6b4b8aca16bb736084e9
-SIZE (unrarsrc-3.7.8.tar.gz) = 131120
+MD5 (unrarsrc-3.8.5.tar.gz) = 875688e6a144a3f75d2a6a0da3e43f8b
+SHA256 (unrarsrc-3.8.5.tar.gz) = 9173a68f7ec106248a4942653b9bd2ca8e3c8d288b543d1462dda6d52b11338a
+SIZE (unrarsrc-3.8.5.tar.gz) = 135670
diff --git a/archivers/libunrar/files/patch-dll.hpp b/archivers/libunrar/files/patch-dll.hpp
index abb7e7fed10d..d78aea5bb571 100644
--- a/archivers/libunrar/files/patch-dll.hpp
+++ b/archivers/libunrar/files/patch-dll.hpp
@@ -1,18 +1,19 @@
---- 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 @@
+--- dll.hpp 2008-11-06 01:37:37.000000000 +0100
++++ dll.hpp 2008-11-06 01:38:47.000000000 +0100
+@@ -28,14 +28,14 @@
#define RAR_DLL_VERSION 4
-#ifdef _UNIX
-+//#ifdef _UNIX
++// #ifdef _UNIX
#define CALLBACK
#define PASCAL
#define LONG long
#define HANDLE void *
+ #define LPARAM long
#define UINT unsigned int
-#endif
-+//#endif
++// #endif
struct RARHeaderData
{
diff --git a/archivers/libunrar/files/patch-makefile.unix b/archivers/libunrar/files/patch-makefile.unix
index 4c5aced77d80..436368432457 100644
--- a/archivers/libunrar/files/patch-makefile.unix
+++ b/archivers/libunrar/files/patch-makefile.unix
@@ -1,21 +1,21 @@
---- makefile.unix.orig Sat Apr 30 04:00:12 2005
-+++ makefile.unix Fri Sep 23 16:22:04 2005
-@@ -6,10 +6,10 @@
- #
+--- makefile.unix.orig 2008-10-09 15:43:06.000000000 +0200
++++ makefile.unix 2008-11-06 01:43:52.000000000 +0100
+@@ -7,10 +7,11 @@
# Linux using GCC
--CXX=g++
--CXXFLAGS=-O2
+ #CXX=g++
+-#CXXFLAGS=-O2
-DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+CXXFLAGS=$(CFLAGS) -fPIC -DPIC
+DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DGUI -DSILENT
STRIP=strip
+ DESTDIR=/usr
+RANLIB=ranlib
# Linux using LCC
#CXX=lcc
-@@ -86,7 +86,7 @@
- LINK=$(CXX)
+@@ -100,7 +101,7 @@
+ WHAT=UNRAR
UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o
-LIB_OBJ=filestr.o scantree.o dll.o
@@ -23,7 +23,7 @@
OBJECTS=rar.o strlist.o strfn.o pathfn.o int64.o savepos.o global.o file.o filefn.o filcreat.o \
archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o \
-@@ -114,6 +114,12 @@
+@@ -131,9 +132,15 @@
$(STRIP) default.sfx
lib: WHAT=RARDLL
@@ -39,3 +39,6 @@
+ @rm -f libunrar.a
+ $(AR) rc libunrar.a $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ)
+ $(RANLIB) libunrar.a
+
+ install-unrar:
+ install unrar $(DESTDIR)/bin