diff options
author | hasso <hasso@pkgsrc.org> | 2009-04-07 10:59:48 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-04-07 10:59:48 +0000 |
commit | be66c8a50473a5eada403ed2424689dce8c73689 (patch) | |
tree | a989760dd3a3d3187c5d18a40daa532a3b9e2762 | |
parent | 1110bdeff2927975efd5b31b50feb8b94061000d (diff) | |
download | pkgsrc-be66c8a50473a5eada403ed2424689dce8c73689.tar.gz |
Make it compile on DragonFly master.
-rw-r--r-- | x11/qt3-libs/distinfo | 4 | ||||
-rw-r--r-- | x11/qt3-libs/patches/patch-ac | 20 |
2 files changed, 17 insertions, 7 deletions
diff --git a/x11/qt3-libs/distinfo b/x11/qt3-libs/distinfo index 8a036989c81..926be2119f6 100644 --- a/x11/qt3-libs/distinfo +++ b/x11/qt3-libs/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.48 2007/12/16 13:42:10 tron Exp $ +$NetBSD: distinfo,v 1.49 2009/04/07 10:59:48 hasso Exp $ SHA1 (qt-x11-free-3.3.8.tar.bz2) = 91b192cb8e80679607d24ae35d6e20ed68d149d7 RMD160 (qt-x11-free-3.3.8.tar.bz2) = 7b8e4e35f49014eac4fcfe91b7ec0a45c5569cf4 Size (qt-x11-free-3.3.8.tar.bz2) = 14360483 bytes SHA1 (patch-aa) = 0247c3694db7bf29556e00809b5d7f26817f3055 SHA1 (patch-ab) = 4dfee5c06bc322646465f43fe850126873d7bb75 -SHA1 (patch-ac) = 1914c348846ae2ab0358e554d29ba49a0be90d52 +SHA1 (patch-ac) = aca8761d8adb87624340d7d75df22e91bef8182b SHA1 (patch-ad) = 366c411ad5cb8227d5e40165d877c627dbf9c670 SHA1 (patch-ae) = 2ec0b408edd78daa03c02c654e0ce515933f36e7 SHA1 (patch-af) = 7ac1629afd6de928d35d0a410795ca45451d5b18 diff --git a/x11/qt3-libs/patches/patch-ac b/x11/qt3-libs/patches/patch-ac index 8145d0fcf37..f7925f7a14a 100644 --- a/x11/qt3-libs/patches/patch-ac +++ b/x11/qt3-libs/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.5 2004/04/16 14:30:45 recht Exp $ +$NetBSD: patch-ac,v 1.6 2009/04/07 10:59:48 hasso Exp $ ---- src/tools/qdir_unix.cpp.orig 2004-02-18 14:22:42.000000000 +0100 -+++ src/tools/qdir_unix.cpp 2004-04-15 01:49:24.000000000 +0200 +--- src/tools/qdir_unix.cpp.orig 2007-02-02 16:01:05 +0200 ++++ src/tools/qdir_unix.cpp 2009-04-07 13:10:26 +0300 @@ -36,6 +36,16 @@ **********************************************************************/ @@ -19,7 +19,17 @@ $NetBSD: patch-ac,v 1.5 2004/04/16 14:30:45 recht Exp $ #include "qdir.h" #ifndef QT_NO_DIR -@@ -88,10 +98,19 @@ +@@ -53,6 +63,9 @@ + #include <limits.h> + #include <errno.h> + ++#ifndef MAXNAMLEN ++#define MAXNAMLEN NAME_MAX ++#endif + + void QDir::slashify( QString& ) + { +@@ -88,10 +101,19 @@ QString QDir::canonicalPath() const bool QDir::mkdir( const QString &dirName, bool acceptAbsPath ) const { @@ -42,7 +52,7 @@ $NetBSD: patch-ac,v 1.5 2004/04/16 14:30:45 recht Exp $ int status = ::mkdir( QFile::encodeName(filePath(name,acceptAbsPath)), 0777 ); #else -@@ -103,7 +122,24 @@ +@@ -103,7 +125,24 @@ bool QDir::mkdir( const QString &dirName bool QDir::rmdir( const QString &dirName, bool acceptAbsPath ) const { |