File: hurd-fixes.patch

package info (click to toggle)
boinc 8.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104,688 kB
  • sloc: cpp: 172,875; php: 115,929; pascal: 56,058; xml: 17,863; python: 8,752; javascript: 6,538; sh: 5,343; objc: 2,322; ansic: 2,200; makefile: 2,166; perl: 1,843; sql: 831; java: 429; lisp: 47; csh: 30
file content (18 lines) | stat: -rw-r--r-- 493 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: defining PATH_MAX to fix hurd build
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: 2017-09-17

Index: boinc/clientgui/BOINCGUIApp.cpp
===================================================================
--- boinc.orig/clientgui/BOINCGUIApp.cpp
+++ boinc/clientgui/BOINCGUIApp.cpp
@@ -53,6 +53,9 @@
 #include "sg_BoincSimpleFrame.h"
 #include "DlgGenericMessage.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
 
 bool s_bSkipExitConfirmation = false;