[pkg-bacula-commits] [bacula] 01/01: hack to build on hurd / update debian/changelog this defines PATH_MAX if undefined in bpuginfo, it isn't installed anyway

Carsten Leonhardt leo at moszumanska.debian.org
Mon Dec 14 10:27:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

leo pushed a commit to branch experimental
in repository bacula.

commit e6fed1346b100c0e7b3518d3779378135541f01a
Author: Carsten Leonhardt <leo at debian.org>
Date:   Mon Dec 14 11:26:58 2015 +0100

    hack to build on hurd / update debian/changelog
    this defines PATH_MAX if undefined in bpuginfo, it isn't installed anyway
---
 debian/changelog                  |  4 +++-
 debian/patches/hack-build-on-hurd | 18 ++++++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fc26491..787a202 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-bacula (7.2.0+dfsg+git20151117-1) experimental; urgency=low
+bacula (7.2.0+git20151117+dfsg-1) experimental; urgency=low
 
   * New upstream release
     - Integrates fix for .bvfs_update (Closes: #737821)
@@ -6,6 +6,8 @@ bacula (7.2.0+dfsg+git20151117-1) experimental; urgency=low
        fix-manpage-bconsole8.patch, ppc64el-libtoolize.patch,
        fix-src-tools-make-clean.patch,
        debian/patches/fix-update-sqlite3-12to14.patch
+  * updated patch to support kfreebsd
+  * hack to compile on hurd
 
  --
 
diff --git a/debian/patches/hack-build-on-hurd b/debian/patches/hack-build-on-hurd
new file mode 100644
index 0000000..7b0a87c
--- /dev/null
+++ b/debian/patches/hack-build-on-hurd
@@ -0,0 +1,18 @@
+Description: hack building on hurd
+ defines PATH_MAX for an executable that isn't installed anyway
+Author: Carsten Leonhardt <leo at debian.org>
+Forwarded: http://bugs.bacula.org/view.php?id=2186
+Last-Update: 2015-12-14
+--- bacula-7.0.5+dfsg.orig/src/tools/bpluginfo.c
++++ bacula-7.0.5+dfsg/src/tools/bpluginfo.c
+@@ -41,6 +41,10 @@
+ #include "../stored/stored.h"
+ #include "assert_macro.h"
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ extern "C" {
+    typedef int (*loadPlugin) (void *binfo, void *bfuncs, void **pinfo,
+                void **pfuncs);
diff --git a/debian/patches/series b/debian/patches/series
index 9356469..98e4845 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ fix-scriptdir-examples-devices.patch
 fix-systemd-tmpfiles.d-location.patch
 add-basic-kfreebsd-support.patch
 enable-hardening-for-bat.patch
+hack-build-on-hurd

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git



More information about the pkg-bacula-commits mailing list