Subject: CVS commit: [pkgsrc-2019Q2] pkgsrc/devel/libusb1
From: Benny Siegert
Date: 2019-08-10 14:32:34
Message id: 20190810123234.A15A3FBF4@cvs.NetBSD.org

Log Message:
Pullup ticket #6027 - requested by maya
devel/libusb1: clang build fix

Revisions pulled up:
- devel/libusb1/Makefile                                        1.19
- devel/libusb1/distinfo                                        1.11
- devel/libusb1/patches/patch-ub                                1.1

---
   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Tue Aug  6 08:50:28 UTC 2019

   Modified Files:
   	pkgsrc/devel/libusb1: Makefile distinfo
   Added Files:
   	pkgsrc/devel/libusb1/patches: patch-ub

   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.18.2.1modifypkgsrc/devel/libusb1/Makefile
1.10.2.1modifypkgsrc/devel/libusb1/distinfo
1.1.2.2addpkgsrc/devel/libusb1/patches/patch-ub