Package: gettext / 0.21-4
Patch seriesview the series file
|01 use system help2man.patch | (download)||
replace embedded help2man scripts with wrappers. The gettext source code embeds two copies of GNU help2man. These are several years old as of this writing and may cause problems, e.g. by not supporting SOURCE_DATE_EPOCH. This patch replaces them with wrappers that invoke the system help2man, which has been added to the build-depends. This patch is not appropriate for upstream, but it would be reasonable to forward the bug report and ask them to use the system help2man when available.
|02 library dependencies.patch | (download)||
4 3 + 1 - 0 !
fix missing library dependencies in **/makefile.am. There are many errors in the Makefiles regarding which executables and libraries need to be linked with which dependency libraries, and which of automake's magic variables ought to be used to accomplish this. These errors are latent with the toolchain's default options, but are exposed by Debian's hardening options. This is a genuine upstream bug, and this patch could probably serve as a starting point for an upstream fix, but it probably breaks builds for Windows (due to wholesale removal of dodgy *_LINK settings), so they would need to do some more work on it.
|03 disable libtextstyle.patch | (download)||
3 1 + 2 - 0 !
completely disable libtextstyle. libtextstyle is not packaged for Debian and depends on libcroco, which is unmaintained and has known security bugs. Do not build the embedded copy, and do not look for any version of it on the system. Use the Gnulib module libtextstyle-dummy to satisfy the gettext-tools' use of it; this module is already available in the upstream sources but needs one (relatively trivial) missing feature added. This patch is not suitable for upstream. Upstream ought to split libtextstyle out to its own source tarball and overhaul it to remove the dependency on libcroco, at which point it could be packaged normally and gettext could build-depend on it normally, but I suspect they will not be in any hurry to do this.
|04 fix powerpc ftbfs.patch | (download)||
fix ftbfs problem in powerpc architectures Bug-Debian: https://bugs.debian.org/977763