1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

spiped: add patch to fix linux build

The build fails with permission denied on /dev/stderr, which I imagine
is due to the fact it's in a chroot build. So disable all that for now.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-04-08 06:22:44 -05:00
parent d9c8db4a20
commit ccd104940c
2 changed files with 28 additions and 0 deletions

View file

@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [ openssl ];
patches = [ ./no-dev-stderr.patch ];
installPhase = ''
mkdir -p $out/bin $out/share/man/man1
make install BINDIR=$out/bin MAN1DIR=$out/share/man/man1

View file

@ -0,0 +1,26 @@
From 7a2bbb0d0098d7a33ad3794d0199879ad50e755a Mon Sep 17 00:00:00 2001
From: Austin Seipp <aseipp@pobox.com>
Date: Tue, 8 Apr 2014 06:21:41 -0500
Subject: [PATCH] Remove use of /dev/stderr
Signed-off-by: Austin Seipp <aseipp@pobox.com>
---
POSIX/posix-l.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/POSIX/posix-l.sh b/POSIX/posix-l.sh
index b3f0e31..71d6fe8 100755
--- a/POSIX/posix-l.sh
+++ b/POSIX/posix-l.sh
@@ -7,8 +7,6 @@ for LIB in rt xnet; do
fi
printf "%s" "-l${LIB}";
FIRST=NO;
- else
- echo "WARNING: POSIX violation: make's CC doesn't understand -l${LIB}" >/dev/stderr
fi
rm -f a.out
done
--
1.8.3.2