rev 16910 - in trunk/packages/kdelibs/debian: . patches

Pino Toscano pino-guest at alioth.debian.org
Sat Feb 13 14:08:46 UTC 2010


Author: pino-guest
Date: 2010-02-13 14:08:40 +0000 (Sat, 13 Feb 2010)
New Revision: 16910

Added:
   trunk/packages/kdelibs/debian/patches/29_hurd_support.diff
Modified:
   trunk/packages/kdelibs/debian/changelog
   trunk/packages/kdelibs/debian/patches/series
Log:
add patch 29_hurd_support.diff to hopefully fix (even if not in the most elegant way) the compilation on GNU/Hurd


Modified: trunk/packages/kdelibs/debian/changelog
===================================================================
--- trunk/packages/kdelibs/debian/changelog	2010-02-13 11:38:38 UTC (rev 16909)
+++ trunk/packages/kdelibs/debian/changelog	2010-02-13 14:08:40 UTC (rev 16910)
@@ -61,8 +61,12 @@
   [ Karl Ferdinand Ebert ]
   * update German translation.
 
- -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 12 Feb 2010 01:50:25 +0100
+  [ Pino Toscano ]
+  * Add patch 29_hurd_support.diff to hopefully fix (even if not in the most
+    elegant way) the compilation on GNU/Hurd.
 
+ -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 13 Feb 2010 15:03:30 +0100
+
 kde4libs (4:4.3.4-1) unstable; urgency=low
 
   * New upstream release.

Added: trunk/packages/kdelibs/debian/patches/29_hurd_support.diff
===================================================================
--- trunk/packages/kdelibs/debian/patches/29_hurd_support.diff	                        (rev 0)
+++ trunk/packages/kdelibs/debian/patches/29_hurd_support.diff	2010-02-13 14:08:40 UTC (rev 16910)
@@ -0,0 +1,31 @@
+Author: Pino Toscano <pino at kde.org>
+Description: preliminary GNU/Hurd support
+ Adds "support" for GNU/Hurd by defining MAXPATHLEN and PATH_MAX where needed.
+ Not forwarded, better fixes should be done upstream.
+Forwarded: no
+--- a/kdecore/kernel/kstandarddirs.cpp
++++ b/kdecore/kernel/kstandarddirs.cpp
+@@ -66,6 +66,10 @@
+ #include <QtCore/QFileInfo>
+ #include <QtCore/QSettings>
+ 
++#ifndef MAXPATHLEN
++# define MAXPATHLEN 1024
++#endif
++
+ class KStandardDirs::KStandardDirsPrivate
+ {
+ public:
+--- a/kinit/lnusertemp.c
++++ b/kinit/lnusertemp.c
+@@ -36,6 +36,10 @@
+ #include <limits.h>
+ #endif
+ 
++#ifndef PATH_MAX
++# define PATH_MAX 1024
++#endif
++
+ int check_tmp_dir(const char *tmp_dir, int check_ownership);
+ int create_link(const char *file, const char *tmp_dir);
+ int build_link(const char* tmp, const char *tmp_prefix, const char *kde_prefix);

Modified: trunk/packages/kdelibs/debian/patches/series
===================================================================
--- trunk/packages/kdelibs/debian/patches/series	2010-02-13 11:38:38 UTC (rev 16909)
+++ trunk/packages/kdelibs/debian/patches/series	2010-02-13 14:08:40 UTC (rev 16910)
@@ -14,3 +14,4 @@
 26_fixmanpage.diff
 27_konsole_kfreebsd_fix.diff
 28_find_kde3_html_documentation.diff
+29_hurd_support.diff




More information about the pkg-kde-commits mailing list