[med-svn] [theseus] 08/09: PATH_MAX needs extra include, go with manual constant
Andreas Tille
tille at debian.org
Thu Aug 24 19:12:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to tag debian/3.3.0-6
in repository theseus.
commit 988d3fbe4e805fa7df7fbaaea093680d3d4917e3
Author: Andreas Tille <tille at debian.org>
Date: Thu Aug 24 16:16:17 2017 +0200
PATH_MAX needs extra include, go with manual constant
---
debian/patches/gcc-7.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
index 592944a..3fef8f9 100644
--- a/debian/patches/gcc-7.patch
+++ b/debian/patches/gcc-7.patch
@@ -36,12 +36,12 @@ Description: Increase string length of string buffer to build with gcc-7
char aster;
--- a/GibbsMet.c
+++ b/GibbsMet.c
-@@ -2110,7 +2110,7 @@ GibbsMet(CdsArray *cdsA)
+@@ -2110,7 +2111,7 @@ GibbsMet(CdsArray *cdsA)
int i;
const int cnum = cdsA->cnum, vlen = cdsA->vlen;
int burn = algo->bayes;
- char paramfname[256], maxfname[256];
-+ char paramfname[PATH_MAX+16], maxfname[PATH_MAX+16];
++ char paramfname[4120], maxfname[4120];
//char tmpname[256];
double **theta = MatAlloc(cnum, 3);
double invtr, mlik, hmlik, blik, amlik, diff, ediff, liksi;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/theseus.git
More information about the debian-med-commit
mailing list