Subject: CVS commit: pkgsrc/devel/libusb1
From: Maya Rashish
Date: 2019-08-06 10:50:28
Message id: 20190806085028.5D924FBF4@cvs.NetBSD.org

Log Message:
libusb1: patch some undefined behaviour, disable strict aliasing, change
-O2 to -O1 when building with clang.

This isn't in a separate hacks.mk file because I think that hides the
problem too much, it's an issue with the code in the package, not with
the compiler's choices.

Fixes functionality when built with clang.

From Shingo Nishioka in PR pkg/54441.

Files:
RevisionActionfile
1.19modifypkgsrc/devel/libusb1/Makefile
1.11modifypkgsrc/devel/libusb1/distinfo
1.1addpkgsrc/devel/libusb1/patches/patch-ub