Fri Sep 14 14:09:17 2012 UTC ()
raros.hpp defines _UNIX on ~everything except Windows, so remove
a chunk that shouldn't be necessary.


(wiz)
diff -r1.44 -r1.45 pkgsrc/archivers/unrar/distinfo
diff -r1.3 -r1.4 pkgsrc/archivers/unrar/patches/patch-ac

cvs diff -r1.44 -r1.45 pkgsrc/archivers/unrar/distinfo (expand / switch to unified diff)

--- pkgsrc/archivers/unrar/distinfo 2012/09/14 12:44:06 1.44
+++ pkgsrc/archivers/unrar/distinfo 2012/09/14 14:09:16 1.45
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.44 2012/09/14 12:44:06 wiz Exp $ 1$NetBSD: distinfo,v 1.45 2012/09/14 14:09:16 wiz Exp $
2 2
3SHA1 (unrarsrc-4.2.4.tar.gz) = 1cc29603fb4e4df16a3aa9bfc7da1afaf0923259 3SHA1 (unrarsrc-4.2.4.tar.gz) = 1cc29603fb4e4df16a3aa9bfc7da1afaf0923259
4RMD160 (unrarsrc-4.2.4.tar.gz) = 53a590ed2a71be86a0a7abfe9c37ddc8dc869800 4RMD160 (unrarsrc-4.2.4.tar.gz) = 53a590ed2a71be86a0a7abfe9c37ddc8dc869800
5Size (unrarsrc-4.2.4.tar.gz) = 164641 bytes 5Size (unrarsrc-4.2.4.tar.gz) = 164641 bytes
6SHA1 (patch-ac) = 14192cf81b59442d5b4c2e9212330d8998135ec2 6SHA1 (patch-ac) = 4ee81900eff28a01fa609e548a72cfad3f352700
7SHA1 (patch-consio.cpp) = 341dd714b165fabf3dec0213b9bb3e57dcc146f5 7SHA1 (patch-consio.cpp) = 341dd714b165fabf3dec0213b9bb3e57dcc146f5

cvs diff -r1.3 -r1.4 pkgsrc/archivers/unrar/patches/Attic/patch-ac (expand / switch to unified diff)

--- pkgsrc/archivers/unrar/patches/Attic/patch-ac 2012/03/09 10:31:49 1.3
+++ pkgsrc/archivers/unrar/patches/Attic/patch-ac 2012/09/14 14:09:17 1.4
@@ -1,27 +1,17 @@ @@ -1,27 +1,17 @@
1$NetBSD: patch-ac,v 1.3 2012/03/09 10:31:49 fhajny Exp $ 1$NetBSD: patch-ac,v 1.4 2012/09/14 14:09:17 wiz Exp $
2 2
3--- os.hpp.orig 2008-09-16 14:24:56.000000000 +0000 3--- os.hpp.orig 2008-09-16 14:24:56.000000000 +0000
4+++ os.hpp 4+++ os.hpp
5@@ -135,7 +135,8 @@ 
6  
7 #endif 
8  
9-#ifdef _UNIX 
10+/*#ifdef _UNIX */ 
11+#if defined(__unix) || defined(__unix__) || defined(_UNIX) 
12  
13 #define NM 1024 
14  
15@@ -212,6 +213,12 @@ 5@@ -212,6 +213,12 @@
16 #endif 6 #endif
17 #endif 7 #endif
18  8
19+#if defined(__i386) || defined(i386) || defined(__i386__) || defined(__amd64) || defined(amd64) || defined(__amd64__) 9+#if defined(__i386) || defined(i386) || defined(__i386__) || defined(__amd64) || defined(amd64) || defined(__amd64__)
20+ #ifndef LITTLE_ENDIAN 10+ #ifndef LITTLE_ENDIAN
21+ #define LITTLE_ENDIAN 11+ #define LITTLE_ENDIAN
22+ #endif 12+ #endif
23+#endif 13+#endif
24+ 14+
25 #endif 15 #endif
26  16
27 typedef const char* MSGID; 17 typedef const char* MSGID;