kdepimlibs (4:4.4.5-2) 01_hurd_support.diff

Summary

 kholidays/parseholiday.c |    4 ++++
 kholidays/parseholiday.y |    4 ++++
 2 files changed, 8 insertions(+)

    
download this patch

Patch contents

Author: Pino Toscano <pino@kde.org>
Description: preliminary GNU/Hurd support
 Adds "support" for GNU/Hurd by defining PATH_MAX where needed.
 Not forwarded, better fixes should be done upstream.
Forwarded: no
Fixed-For: 4.5.0
--- a/kholidays/parseholiday.c
+++ b/kholidays/parseholiday.c
@@ -170,6 +170,10 @@
 
 #include <limits.h>
 
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
 /*** Macro definitions and constants ***/
 /*
  * Before you mail and complain that the following macro is incorrect,
--- a/kholidays/parseholiday.y
+++ b/kholidays/parseholiday.y
@@ -49,6 +49,10 @@
 
 #include <limits.h>
 
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
 /*** Macro definitions and constants ***/
 /*
  * Before you mail and complain that the following macro is incorrect,