Package: infinipath-psm / 3.3+20.604758e7-6

Metadata

Package Version Patches format
infinipath-psm 3.3+20.604758e7-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix truncation warnings with gcc7.patch | (download)

psm_ep.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 fix truncation warnings with gcc7
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

This patch was originally created by
Johannes Brandstätter <jbrandst@2ds.eu> see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853451

0002 Include sys sysmacros.h to avoid warning about minor.patch | (download)

ipath/ipath_proto.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 include <sys/sysmacros.h> to avoid warning about minor
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

ipath_proto.c: In function ‘ipath_userinit’:
ipath_proto.c:539:13: error: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>. [-Werror]
     spctrl->spc_dev.spd_type = minor(st.st_rdev);

0003 gcc8.patch | (download)

psm_ep.c | 2 1 + 1 - 0 !
psm_utils.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix build with gcc 8
 - psm_utils.c: reserve enough memory for both input strings and the fixed part
 - psm_ep.c: e has sufficient space to copy including the NULL terminator,
             which fixes a warning about truncation of the input string
Bug-Debian: https://bugs.debian.org/897774