This is an automated email from the git hooks/post-receive script. apo pushed a commit to branch master in repository micropolis-activity.
commit 85f0efc880e5214e6fb7f6254f87f7f05622dade Author: Markus Koschany <a...@debian.org> Date: Tue Mar 13 20:26:51 2018 +0100 Add glibc-2.27.patch and fix FTBFS with glibc 2.27. Closes: #891338 --- debian/patches/glibc-2.27.patch | 45 +++++++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 46 insertions(+) diff --git a/debian/patches/glibc-2.27.patch b/debian/patches/glibc-2.27.patch new file mode 100644 index 0000000..ee4fd33 --- /dev/null +++ b/debian/patches/glibc-2.27.patch @@ -0,0 +1,45 @@ +From: Markus Koschany <a...@debian.org> +Date: Tue, 13 Mar 2018 20:25:31 +0100 +Subject: glibc 2.27 + +Remove SVID error handling to fix FTBFS with glibc 2.27. + +Forwarded: no +Bug-Debian: https://bugs.debian.org/891338 +--- + src/tclx/src/tclxfmat.c | 21 +-------------------- + 1 file changed, 1 insertion(+), 20 deletions(-) + +diff --git a/src/tclx/src/tclxfmat.c b/src/tclx/src/tclxfmat.c +index 19d42c3..2146566 100644 +--- a/src/tclx/src/tclxfmat.c ++++ b/src/tclx/src/tclxfmat.c +@@ -119,27 +119,8 @@ static int + ReturnFPMathError (interp) + Tcl_Interp *interp; + { +- char *errorMsg; + +- switch (G_errorType) { +- case DOMAIN: +- errorMsg = "domain"; +- break; +- case SING: +- errorMsg = "singularity"; +- break; +- case OVERFLOW: +- errorMsg = "overflow"; +- break; +- case UNDERFLOW: +- errorMsg = "underflow"; +- break; +- case TLOSS: +- case PLOSS: +- errorMsg = "loss of significance"; +- break; +- } +- Tcl_AppendResult (interp, "floating point ", errorMsg, " error", ++ Tcl_AppendResult (interp, "floating point error", + (char *) NULL); + G_gotTclFPMathErr = FALSE; /* Clear the flag. */ + return TCL_ERROR; diff --git a/debian/patches/series b/debian/patches/series index 84a189b..900caed 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ zerfleddert.20100109.patch micropolis-path.patch makefile.patch clang-FTBFS.patch +glibc-2.27.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/micropolis-activity.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits