[SCM] libindi packaging branch, experimental, updated. debian/1.4.1+dfsg-1-4-gfb3b0b9
Pino Toscano
pino at moszumanska.debian.org
Sat Nov 25 07:47:09 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/krap/libindi.git;a=commitdiff;h=fb3b0b9
The following commit has been merged in the experimental branch:
commit fb3b0b9ae783a1407ae510a11fa2e8bf6ccb0289
Author: Pino Toscano <pino at debian.org>
Date: Sat Nov 25 08:46:52 2017 +0100
workaround PATH_MAX
---
debian/changelog | 1 +
debian/patches/path_max.diff | 33 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 35 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f6a2590..f9f24e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ libindi (1.4.1+dfsg-2) UNRELEASED; urgency=medium
one libusb.h include; patch upstream_Fix-libusb.h-include.patch.
* Include termios.h instead of termio.h for portability; patch
use_termios.diff.
+ * Workaround PATH_MAX usages; patch path_max.diff.
-- Debian Krap Maintainers <debian-qt-kde at lists.debian.org> Sat, 25 Nov 2017 08:23:43 +0100
diff --git a/debian/patches/path_max.diff b/debian/patches/path_max.diff
new file mode 100644
index 0000000..8e16736
--- /dev/null
+++ b/debian/patches/path_max.diff
@@ -0,0 +1,33 @@
+Author: Pino Toscano <pino at debian.org>
+Description: Workaround PATH_MAX usages
+ Workaround the unconditional usage of PATH_MAX, by providing a fallback value
+ for it.
+Last-Update: 2017-11-25
+Forwarded: no
+
+--- a/libindi/libs/indibase/indiccd.cpp
++++ b/libindi/libs/indibase/indiccd.cpp
+@@ -41,6 +41,10 @@
+ class StreamRecorder {};
+ #endif
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ const char *IMAGE_SETTINGS_TAB = "Image Settings";
+ const char *IMAGE_INFO_TAB = "Image Info";
+ const char *GUIDE_HEAD_TAB = "Guider Head";
+--- a/libindi/libs/indibase/indilogger.cpp
++++ b/libindi/libs/indibase/indilogger.cpp
+@@ -28,6 +28,10 @@
+ #include <indicom.h>
+ #include "indilogger.h"
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ namespace INDI
+ {
+
diff --git a/debian/patches/series b/debian/patches/series
index 08851de..b25815f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
upstream_cmake-rewrite-libusb-1.0-search.patch
upstream_Fix-libusb.h-include.patch
use_termios.diff
+path_max.diff
--
libindi packaging
More information about the pkg-kde-commits
mailing list