[SCM] synfig-synfig/master: New "hurd-path_max.patch" to fix FTBFS on GNU Hurd.

onlyjob at users.alioth.debian.org onlyjob at users.alioth.debian.org
Tue Nov 18 01:16:37 UTC 2014


The following commit has been merged in the master branch:
commit 99f077eae942218ab413a189a6d10e0b2a352b87
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Tue Nov 18 11:35:49 2014 +1100

    New "hurd-path_max.patch" to fix FTBFS on GNU Hurd.

diff --git a/debian/changelog b/debian/changelog
index 3c303c8..24fa5a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+synfig (0.64.2-2) unstable; urgency=medium
+
+  * New "hurd-path_max.patch" to fix FTBFS on GNU Hurd.
+
+ -- Dmitry Smirnov <onlyjob at debian.org>  Tue, 18 Nov 2014 11:35:00 +1100
+
 synfig (0.64.2-1) unstable; urgency=medium
 
   * New upstream release [October 2014].
diff --git a/debian/patches/hurd-path_max.patch b/debian/patches/hurd-path_max.patch
new file mode 100644
index 0000000..2f51d50
--- /dev/null
+++ b/debian/patches/hurd-path_max.patch
@@ -0,0 +1,20 @@
+Last-Update: 2014-11-18
+Forwarded: https://github.com/synfig/synfig/pull/144
+Author: Dmitry Smirnov <onlyjob at member.fsf.org>
+Description: define PATH_MAX if needed; necessary to fix FTBFS on GNU Hurd
+
+--- a/src/synfig/main.cpp
++++ b/src/synfig/main.cpp
+@@ -75,8 +75,12 @@
+ #endif
+ 
+ #endif
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ using namespace std;
+ using namespace etl;
+ using namespace synfig;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 30ed419..87ee4f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+hurd-path_max.patch
 no-mod_ffmpeg.patch

-- 
synfig-synfig packaging



More information about the pkg-multimedia-commits mailing list