Étienne Mollier pushed to branch master at Debian Med / poa
Commits: 0ffe47c4 by Etienne Mollier at 2020-05-01T18:11:25+02:00 fix FTBFS with gcc-10 - - - - - 54a73db0 by Etienne Mollier at 2020-05-01T18:30:16+02:00 moved to autopkgtest per lintian warning - - - - - 5 changed files: - debian/README.test - debian/changelog - + debian/patches/gcc10.patch - debian/patches/series - debian/tests/run-unit-test Changes: ===================================== debian/README.test ===================================== @@ -3,6 +3,6 @@ Notes on how this package can be tested. This package can be tested by executing - sh run-unit-test + bash run-unit-test in order to confirm its integrity. ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +poa (2.0+20060928-8) UNRELEASED; urgency=medium + + * Team upload. + + [ Etienne Mollier ] + * fix FTBFS with gcc-10 (Closes: #957696) + * moved to from adtmp to autopkgtest per lintian warning + + -- Etienne Mollier <[email protected]> Fri, 01 May 2020 18:09:24 +0200 + poa (2.0+20060928-7) unstable; urgency=medium [ Steffen Moeller ] ===================================== debian/patches/gcc10.patch ===================================== @@ -0,0 +1,20 @@ +Description: fix FTBFS with gcc10 +Author: Etienne Mollier <[email protected]> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957696 +Forwarded: no +Last-Update: 2020-05-01 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- poa.orig/black_flag.h ++++ poa/black_flag.h +@@ -236,8 +236,8 @@ + int sourceline, + char sourcefile_revision[]); + +-char *Program_name; +-char *Program_version; ++extern char *Program_name; ++extern char *Program_version; + + void black_flag_init(char progname[],char progversion[]); + void black_flag_init_args(int narg,char *arg[],char progversion[]); ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ +gcc10.patch hardening.patch ===================================== debian/tests/run-unit-test ===================================== @@ -1,15 +1,18 @@ -#!/bin/sh -e +#!/bin/bash +set -e pkg=poa -if [ "$ADTTMP" = "" ] ; then - ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX) - trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM +export LC_ALL=C.UTF-8 +if [ "${AUTOPKGTEST_TMP}" = "" ] ; then + AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX) + trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM fi -cd $ADTTMP +cp -a /usr/share/doc/${pkg}/test_data/* "${AUTOPKGTEST_TMP}" + +cd "${AUTOPKGTEST_TMP}" -cp -a /usr/share/doc/${pkg}/test_data/* . gunzip -r * poa -read_fasta test1.fa -clustal clustal.aln blosum80.mat View it on GitLab: https://salsa.debian.org/med-team/poa/-/compare/28499a6b438209ee725ffae05fedbd891af6179a...54a73db054d703988e7b9e9de796ecdb5c3cd80d -- View it on GitLab: https://salsa.debian.org/med-team/poa/-/compare/28499a6b438209ee725ffae05fedbd891af6179a...54a73db054d703988e7b9e9de796ecdb5c3cd80d You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
