[neon/3rdparty/indi/Neon/release-lts] debian/patches: refresh patch
Jonathan Riddell
null at kde.org
Wed Feb 17 15:55:49 GMT 2021
Git commit 0409f16397ed5451288b71357603e693ceee0ea5 by Jonathan Riddell.
Committed on 17/02/2021 at 15:55.
Pushed by jriddell into branch 'Neon/release-lts'.
refresh patch
M +22 -16 debian/patches/path_max.diff
https://invent.kde.org/neon/3rdparty/indi/commit/0409f16397ed5451288b71357603e693ceee0ea5
diff --git a/debian/patches/path_max.diff b/debian/patches/path_max.diff
index 8d0e1b0..d27ef4c 100644
--- a/debian/patches/path_max.diff
+++ b/debian/patches/path_max.diff
@@ -5,9 +5,11 @@ Description: Workaround PATH_MAX usages
Last-Update: 2018-03-08
Forwarded: no
---- a/libindi/libs/indibase/indiccd.cpp
-+++ b/libindi/libs/indibase/indiccd.cpp
-@@ -45,6 +45,10 @@
+Index: indi-1.8.8/libs/indibase/indiccd.cpp
+===================================================================
+--- indi-1.8.8.orig/libs/indibase/indiccd.cpp
++++ indi-1.8.8/libs/indibase/indiccd.cpp
+@@ -52,6 +52,10 @@
#include <zlib.h>
#include <sys/stat.h>
@@ -15,12 +17,14 @@ Forwarded: no
+#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
-@@ -27,6 +27,10 @@
+ const char * IMAGE_SETTINGS_TAB = "Image Settings";
+ const char * IMAGE_INFO_TAB = "Image Info";
+ const char * GUIDE_HEAD_TAB = "Guider Head";
+Index: indi-1.8.8/libs/indibase/indilogger.cpp
+===================================================================
+--- indi-1.8.8.orig/libs/indibase/indilogger.cpp
++++ indi-1.8.8/libs/indibase/indilogger.cpp
+@@ -28,6 +28,10 @@
#include <cstring>
#include <sys/stat.h>
@@ -31,16 +35,18 @@ Forwarded: no
namespace INDI
{
char Logger::Tags[Logger::nlevels][MAXINDINAME] = { "ERROR", "WARNING", "INFO", "DEBUG",
---- a/libindi/libs/indibase/indidetector.cpp
-+++ b/libindi/libs/indibase/indidetector.cpp
-@@ -36,6 +36,10 @@
- #include <zlib.h>
- #include <sys/stat.h>
+Index: indi-1.8.8/libs/indibase/indidetector.cpp
+===================================================================
+--- indi-1.8.8.orig/libs/indibase/indidetector.cpp
++++ indi-1.8.8/libs/indibase/indidetector.cpp
+@@ -1,6 +1,10 @@
+ /*******************************************************************************
+ Copyright(c) 2010, 2017 Ilia Platone, Jasem Mutlaq. All rights reserved.
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
- const char *CAPTURE_SETTINGS_TAB = "Capture Settings";
- const char *CAPTURE_INFO_TAB = "Capture Info";
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
More information about the Neon-commits
mailing list