pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Fix wine directory reading correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba4b781a1768
branches:  trunk
changeset: 537475:ba4b781a1768
user:      reinoud <reinoud%pkgsrc.org@localhost>
date:      Wed Jan 09 17:46:41 2008 +0000

description:
Fix wine directory reading correctly.

patch-ac was wrong since __NetBSD_Version should have been
__NetBSD_Version__. Also the NetBSD compat getdirentries() returned struct
dirent12s having 32 bit ino_t and not the included struct dirent having 64
bit ino_t.

diffstat:

 doc/CHANGES-2008                |   3 ++-
 emulators/wine/Makefile         |   3 ++-
 emulators/wine/distinfo         |   4 ++--
 emulators/wine/patches/patch-ac |  11 ++++++-----
 4 files changed, 12 insertions(+), 9 deletions(-)

diffs (75 lines):

diff -r c3a3266f1ed4 -r ba4b781a1768 doc/CHANGES-2008
--- a/doc/CHANGES-2008  Wed Jan 09 17:44:39 2008 +0000
+++ b/doc/CHANGES-2008  Wed Jan 09 17:46:41 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2008,v 1.71 2008/01/09 14:43:19 ghen Exp $
+$NetBSD: CHANGES-2008,v 1.72 2008/01/09 17:46:41 reinoud Exp $
 
 Changes to the packages collection and infrastructure in 2008:
 
@@ -124,3 +124,4 @@
        Updated editors/vim-share to 7.1.212 [martti 2008-01-09]
        Updated misc/rlwrap to 0.30 [heinz 2008-01-09]
        Updated www/nginx to 0.5.35 [ghen 2008-01-09]
+       Updated emulators/wine to 0.9.44nb1 [reinoud 2008-01-09]
diff -r c3a3266f1ed4 -r ba4b781a1768 emulators/wine/Makefile
--- a/emulators/wine/Makefile   Wed Jan 09 17:44:39 2008 +0000
+++ b/emulators/wine/Makefile   Wed Jan 09 17:46:41 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.139 2007/10/14 13:01:05 rillig Exp $
+# $NetBSD: Makefile,v 1.140 2008/01/09 17:46:41 reinoud Exp $
 
 DISTNAME=      wine-0.9.44
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  http://ibiblio.org/pub/linux/system/emulators/wine/ \
                ${MASTER_SITE_SOURCEFORGE:=wine/}
diff -r c3a3266f1ed4 -r ba4b781a1768 emulators/wine/distinfo
--- a/emulators/wine/distinfo   Wed Jan 09 17:44:39 2008 +0000
+++ b/emulators/wine/distinfo   Wed Jan 09 17:46:41 2008 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.74 2007/08/29 14:42:25 adam Exp $
+$NetBSD: distinfo,v 1.75 2008/01/09 17:46:41 reinoud Exp $
 
 SHA1 (wine-0.9.44.tar.bz2) = 77f820444198688085b3148ca0054bdf8aebf839
 RMD160 (wine-0.9.44.tar.bz2) = 4d726aea99b12ecf757785e22f531bb03a1a79b7
 Size (wine-0.9.44.tar.bz2) = 12377043 bytes
 SHA1 (patch-aa) = 3b84f2f7693b79ed5de432a6ab8faf4ec258f57a
 SHA1 (patch-ab) = 66c1f1ec98674d15c7a72e8ac16105c28aa25e91
-SHA1 (patch-ac) = 02747108dc33328b9905b642bf9817d675916cbb
+SHA1 (patch-ac) = e28e9ea8563546a41672f16c8e111e5d37ffbe92
 SHA1 (patch-ad) = 978bdd94b75a2d671d5ed97d7664ff60488683cd
 SHA1 (patch-ae) = a4f39995baf5511ddc70b4e1c006a159a86eeb22
 SHA1 (patch-af) = ff365b8c6f60adfe0cc47113db53de1dd27bb064
diff -r c3a3266f1ed4 -r ba4b781a1768 emulators/wine/patches/patch-ac
--- a/emulators/wine/patches/patch-ac   Wed Jan 09 17:44:39 2008 +0000
+++ b/emulators/wine/patches/patch-ac   Wed Jan 09 17:46:41 2008 +0000
@@ -1,22 +1,23 @@
-$NetBSD: patch-ac,v 1.37 2007/08/29 14:42:25 adam Exp $
+$NetBSD: patch-ac,v 1.38 2008/01/09 17:46:41 reinoud Exp $
 
---- dlls/ntdll/directory.c.orig        2007-08-10 18:18:12.000000000 +0200
+--- dlls/ntdll/directory.c.orig        2007-08-24 16:34:33.000000000 +0200
 +++ dlls/ntdll/directory.c
-@@ -128,6 +128,19 @@ static inline int getdents64( int fd, ch
+@@ -128,6 +128,20 @@ static inline int getdents64( int fd, ch
  #endif  /* linux */
  
  #define IS_OPTION_TRUE(ch) ((ch) == 'y' || (ch) == 'Y' || (ch) == 't' || (ch) == 'T' || (ch) == '1')
-+#if defined(__NetBSD_Version) && __NetBSD_Version >= 399000800
++#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 399000800
 +/*
 + * workaround for obsolete getdirentries() which returns
 + * the old 32-bit inode struct dirent, while dirent.h has the
 + * new 64-bit inode struct dirent inode since 3.99.8
 + */
-+int getdirentries(int fd, char *buf, int nbytes, long *basep)
++int compat_netbsd_getdirentries(int fd, char *buf, int nbytes, long *basep)
 +{
 +        *basep = (long)lseek(fd, 0, SEEK_CUR);
 +        return getdents(fd, buf, (size_t)nbytes);
 +}
++#define getdirentries compat_netbsd_getdirentries
 +#endif
 +
  #define IS_SEPARATOR(ch)   ((ch) == '\\' || (ch) == '/')



Home | Main Index | Thread Index | Old Index