Package: pchar / 1.5-7
Metadata
| Package | Version | Patches format |
|---|---|---|
| pchar | 1.5-7 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 1000 cxx const charp warning.patch | (download) |
Pctest.h |
2 1 + 1 - 0 ! |
avoid warnings from c++ regarding static strings being used as char* Make sure static strings are returned as const char* instead of char*. |
| 1010 cxx typo getifinfo.patch | (download) |
GetIfInfo.h |
2 1 + 1 - 0 ! |
fix typo in c++ header. |
| 1020 root required.patch | (download) |
README |
4 4 + 0 - 0 ! |
give more sensible message when running as non-root |
| 1030 destdir install.patch | (download) |
Makefile.in |
9 5 + 4 - 0 ! |
fix install rule to use destdir |
| 1040 abs problem.patch | (download) |
ResultTable.cc |
6 3 + 3 - 0 ! |
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. |
| 1050 code errors.patch | (download) |
PctestIpv4File.cc |
1 1 + 0 - 0 ! |
fix code errors discovered by clang |
| 1060 autoconf newer.patch | (download) |
configure.in |
129 56 + 73 - 0 ! |
update autoconf file to work with newer versions Rewrote several parts and require version 2.72, to get the build working again. Upgrade was partly done using autoupdate. The patch could use some work, but as upstream is no longer accepting patches, I did not try to make the changes generic and work outside Debian. |
| 2000 reproducible build.patch | (download) |
Makefile.in |
2 0 + 2 - 0 ! |
strip build date and hostname to enable reproducible building |
| 2010 hardening.patch | (download) |
Makefile.in |
9 7 + 2 - 0 ! |
use compile flags from dpkg-buildflags to enable hardening. |
| 2020 manpage mimics.patch | (download) |
pchar.8 |
2 1 + 1 - 0 ! |
fix minor typo in manual page Replaces mimicks with mimics. Discovered by Lintian. |
