summary refs log tree commit diff
path: root/pkgs/development/libraries/nettle/cygwin.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-09-18 15:01:47 +0000
committerLudovic Courtès <ludo@gnu.org>2009-09-18 15:01:47 +0000
commit519b26bd4d90486464c807f199ccdd0cffaaaec5 (patch)
tree6f9d9fd59e76ac23c7e3e9739e891e7b1099a533 /pkgs/development/libraries/nettle/cygwin.patch
parent26dc84f99a8c2dfb7d00879bebff3e6324cc1944 (diff)
downloadnixpkgs-519b26bd4d90486464c807f199ccdd0cffaaaec5.tar
nixpkgs-519b26bd4d90486464c807f199ccdd0cffaaaec5.tar.gz
nixpkgs-519b26bd4d90486464c807f199ccdd0cffaaaec5.tar.bz2
nixpkgs-519b26bd4d90486464c807f199ccdd0cffaaaec5.tar.lz
nixpkgs-519b26bd4d90486464c807f199ccdd0cffaaaec5.tar.xz
nixpkgs-519b26bd4d90486464c807f199ccdd0cffaaaec5.tar.zst
nixpkgs-519b26bd4d90486464c807f199ccdd0cffaaaec5.zip
GNU Nettle: Tentative patch for Cygwin.
svn path=/nixpkgs/trunk/; revision=17250
Diffstat (limited to 'pkgs/development/libraries/nettle/cygwin.patch')
-rw-r--r--pkgs/development/libraries/nettle/cygwin.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/libraries/nettle/cygwin.patch b/pkgs/development/libraries/nettle/cygwin.patch
new file mode 100644
index 00000000000..d5036237c8d
--- /dev/null
+++ b/pkgs/development/libraries/nettle/cygwin.patch
@@ -0,0 +1,12 @@
+Cygwin sucks.  Patch suggested by Niel Möller.
+
+--- nettle-2.0/examples/setup-env	2009-06-08 20:27:12.000000000 +0200
++++ nettle-2.0/examples/setup-env	2009-09-18 16:58:03.000000000 +0200
+@@ -3,5 +3,5 @@
+ set -e
+ 
+ if [ -x rsa-keygen ] ; then
+-  ./rsa-keygen -r rsa-decrypt -o testkey || exit 1
++  ./rsa-keygen -r rsa-decrypt.exe -o testkey || exit 1
+ fi
+