Skip to content

Commit

Permalink
unrar: Update to 7.1.1
Browse files Browse the repository at this point in the history
makefile: add new windows specific motw.o
  • Loading branch information
lazka committed Nov 18, 2024
1 parent 7b2c48c commit 9632189
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions mingw-w64-unrar/0001-fix-makefile.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- unrar/makefile.orig 2023-11-23 09:23:57.000000000 +0100
+++ unrar/makefile 2024-02-29 06:55:36.162424900 +0100
@@ -11,6 +11,16 @@
--- unrar/makefile.orig 2024-08-19 10:26:32.000000000 +0200
+++ unrar/makefile 2024-11-18 08:01:57.119759500 +0100
@@ -14,6 +14,16 @@
LDFLAGS=-pthread
DESTDIR=/usr

Expand All @@ -17,7 +17,7 @@
##########################

COMPILE=$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFINES)
@@ -19,7 +29,7 @@
@@ -22,7 +32,7 @@
WHAT=UNRAR

UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o qopen.o
Expand All @@ -26,18 +26,18 @@

OBJECTS=rar.o strlist.o strfn.o pathfn.o smallfn.o global.o file.o filefn.o filcreat.o \
archive.o arcread.o unicode.o system.o crypt.o crc.o rawread.o encname.o \
@@ -27,6 +37,10 @@
@@ -30,6 +40,10 @@
rijndael.o getbits.o sha1.o sha256.o blake2s.o hash.o extinfo.o extract.o volume.o \
list.o find.o unpack.o headers.o threadpool.o rs16.o cmddata.o ui.o
list.o find.o unpack.o headers.o threadpool.o rs16.o cmddata.o ui.o largepage.o

+ifeq ($(OS), Windows_NT)
+OBJECTS+=isnt.o
+OBJECTS+=isnt.o motw.o
+endif
+
.cpp.o:
$(COMPILE) -D$(WHAT) -c $<

@@ -39,15 +53,15 @@
@@ -42,15 +56,15 @@
clean:
@rm -f *.bak *~
@rm -f $(OBJECTS) $(UNRAR_OBJ) $(LIB_OBJ)
Expand All @@ -58,7 +58,7 @@

sfx: WHAT=SFX_MODULE
sfx: $(OBJECTS)
@@ -59,18 +73,18 @@
@@ -62,18 +76,18 @@
lib: CXXFLAGS+=$(LIBFLAGS)
lib: $(OBJECTS) $(LIB_OBJ)
@rm -f libunrar.*
Expand Down
6 changes: 3 additions & 3 deletions mingw-w64-unrar/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=unrar
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=7.0.9
pkgver=7.1.1
pkgrel=1
pkgdesc='The RAR uncompression program (mingw-w64)'
arch=(any)
Expand All @@ -19,8 +19,8 @@ source=("https://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz"
0001-fix-makefile.patch
0002-fix-redefinition.patch
0003-workaround-comsupp-library.patch)
sha256sums=('505c13f9e4c54c01546f2e29b2fcc2d7fabc856a060b81e5cdfe6012a9198326'
'b0372a589d4b9fb5d3e7373c2b2e1cee1444ae49d6eb8a58847e8b7ee3e30d48'
sha256sums=('2e9cbc9d1c250b40f4a7a6a363b6ccfa3703e190534979d18c8c4ac5ae35dafc'
'3746f9c07b6e41879787de69e9e31bbff2de36832e06a624818337b5c461f7cd'
'9882f163dfbf04ad6946e99690799bb5de50894688fbe3f3df00e5c54f74e0b2'
'707726b9280d7c929012e0c1d0af26b9fc86b8f3cb13ecd6c867e735adf722ba')

Expand Down

0 comments on commit 9632189

Please sign in to comment.