The following commit has been merged in the master branch:
commit 2f6366ac13878ce010d26f031d5e0fbaa04acc7f
Author: Andreas Rönnquist <[email protected]>
Date:   Tue Oct 2 10:52:44 2012 +0200

    Add fix-fallback-path-max patch

diff --git a/debian/patches/fix-fallback-path-max.patch 
b/debian/patches/fix-fallback-path-max.patch
new file mode 100644
index 0000000..931d482
--- /dev/null
+++ b/debian/patches/fix-fallback-path-max.patch
@@ -0,0 +1,15 @@
+Index: allegro5/src/file_stdio.c
+===================================================================
+--- allegro5.orig/src/file_stdio.c     2012-10-02 10:45:19.907039239 +0200
++++ allegro5/src/file_stdio.c  2012-10-02 10:51:02.179038474 +0200
+@@ -37,6 +37,10 @@
+ #include <sys/stat.h>
+ #endif
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ 
+ /* forward declaration */
+ const struct ALLEGRO_FILE_INTERFACE _al_file_interface_stdio;
diff --git a/debian/patches/series b/debian/patches/series
index b768d12..963a23c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix-fallback-path-max.patch
 fix-manpages.patch
 fix-manpage-generation-script.patch
 adjust-some-primitive-tests.patch

-- 
Packaging for Allegro 5

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to