Debian Patches

Status for pchar/1.5-6

Patch Description Author Forwarded Bugs Origin Last update
1000-cxx-const-charp-warning.patch Avoid warnings from C++ regarding static strings being used as char* Make sure static strings are returned as const char* instead of char*.

===================================================================
Petter Reinholdtsen <pere@debian.org> no 2012-02-16
1010-cxx-typo-getifinfo.patch Fix typo in C++ header. Petter Reinholdtsen <pere@debian.org> no 2012-02-16
1020-root-required.patch Give more sensible message when running as non-root
===================================================================
Petter Reinholdtsen <pere@debian.org> no debian 2013-10-12
1030-destdir-install.patch Fix install rule to use DESTDIR
===================================================================
Petter Reinholdtsen <pere@debian.org> no 2012-02-16
1040-abs-problem.patch Avoid ambiguous use of abs() causing build failure. Avoid failing build with GCC 7 due to abiguous use of abs(unsigned int).
The problem is this:
unsigned int a, b, c; c = abs(a - b);
The type of a - b here is unsigned int, and abs(unsigned int) do not
exist. I solved it by changing the calculation to use signed long
instead, as abs(long) exist and should be able to handle the entire
value range.

diff --git a/ResultTable.cc b/ResultTable.cc
index 52e5b3c..a8a2ac3 100644
Petter Reinholdtsen <pere@hungry.com> no debian 2017-08-05
1050-code-errors.patch Fix code errors discovered by clang
===================================================================
Petter Reinholdtsen <pere@hungry.com> no 2017-08-05
2000-reproducible-build.patch Strip build date and hostname to enable reproducible building
===================================================================
Reiner Herrmann <reiner@reiner-h.de> no
2010-hardening.patch Use compile flags from dpkg-buildflags to enable hardening.
===================================================================
Petter Reinholdtsen <pere@debian.org> no debian 2013-10-12
2020-manpage-mimics.patch Fix minor typo in manual page Replaces mimicks with mimics. Discovered by Lintian. Petter Reinholdtsen <pere@debian.org> no 2021-09-14

All known versions for source package 'pchar'

Links