Package: pchar / 1.5-4
Metadata
Package | Version | Patches format |
---|---|---|
pchar | 1.5-4 | 3.0 (quilt) |
Patch series
view the series filePatch | 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 |
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. |