1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

Making libusb build on non-linux. It was built with -Werror, and I removed that.

There were compiler warnings in non-linux.

svn path=/nixpkgs/trunk/; revision=20456
This commit is contained in:
Lluís Batlle i Rossell 2010-03-06 22:34:21 +00:00
parent 11c20b3a2c
commit 329d46cbd6

View file

@ -2,6 +2,13 @@
stdenv.mkDerivation {
name = "libusb-0.1.12";
# On non-linux, we get warnings compiling, and we don't want the
# build to break.
patchPhase = ''
sed -i s/-Werror// Makefile.in
'';
src = fetchurl {
url = mirror://sourceforge/libusb/libusb-0.1.12.tar.gz;
md5 = "caf182cbc7565dac0fd72155919672e6";