File: fix_Hurd_FTBFS.patch

package info (click to toggle)
dar 2.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,024 kB
  • sloc: cpp: 86,219; sh: 6,978; ansic: 895; makefile: 491; python: 242; csh: 115; perl: 43; sed: 16
file content (20 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: define PATH_MAX if it's not defined
 Fix the size to 1024 bytes.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2021-06-06

---

--- a/src/libdar/filesystem_hard_link_read.cpp
+++ b/src/libdar/filesystem_hard_link_read.cpp
@@ -105,6 +105,10 @@
 #include "fichier_local.hpp"
 #include "null_file.hpp"
 
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
 using namespace std;
 
 namespace libdar