[SCM] KDE Base Runtime module packaging branch, master, updated. debian/16.04.0-1-11-ge37328b

Pino Toscano pino at moszumanska.debian.org
Sat Jun 18 09:49:38 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/kde-runtime.git;a=commitdiff;h=e37328b

The following commit has been merged in the master branch:
commit e37328bfe94bc150cbf63430c95176c2aadb0880
Author: Pino Toscano <pino at debian.org>
Date:   Sat Jun 18 11:49:17 2016 +0200

    fix build on Hurd
    
    provide a fallback definition of PATH_MAX in kio_nfs
---
 debian/changelog         |  2 ++
 debian/patches/hurd.diff | 19 +++++++++++++++++++
 debian/patches/series    |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 93e8f0a..3bb1e0a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ kde-runtime (4:16.04.2-0r1) UNRELEASED; urgency=medium
     required and policies, and build properly with that; patches
     upstream_set-cmake_min_req-to-match-kdelibs-policy-and-enable.patch and
     upstream_cmake-fix-add_definitions-according-to-new-policy.patch.
+  * Fix build on Hurd, by providing a fallback definition of PATH_MAX in
+    kio_nfs; patch hurd.diff.
 
  -- Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 18 Jun 2016 09:39:41 +0200
 
diff --git a/debian/patches/hurd.diff b/debian/patches/hurd.diff
new file mode 100644
index 0000000..9219886
--- /dev/null
+++ b/debian/patches/hurd.diff
@@ -0,0 +1,19 @@
+Author: Pino Toscano <pino at debian.org>
+Description: nfs: provide a fallback PATH_MAX definition
+ Define PATH_MAX to 4096 if not defined already -- this way kio_nfs can build
+ again on Hurd.
+Forwarded: not-needed
+Last-Update: 2016-06-18
+
+--- a/kde-runtime-16.04.2/kioslave/nfs/nfsv3.cpp
++++ b/kde-runtime-16.04.2/kioslave/nfs/nfsv3.cpp
+@@ -59,6 +59,9 @@
+ #define NFSVERS 3UL
+ 
+ #define NFS3_MAXDATA    32768
++#ifndef PATH_MAX
++# define PATH_MAX 4096
++#endif
+ #define NFS3_MAXPATHLEN PATH_MAX
+ 
+ NFSProtocolV3::NFSProtocolV3(NFSSlave* slave)
diff --git a/debian/patches/series b/debian/patches/series
index e08a99a..b1a3022 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+hurd.diff
 disable_usr_lib_install_rpath.diff
 use_the_correct_locale.patch
 use_always_present_path_to_test.patch

-- 
KDE Base Runtime module packaging



More information about the pkg-kde-commits mailing list