diff options
author | taca <taca> | 2001-07-01 13:42:06 +0000 |
---|---|---|
committer | taca <taca> | 2001-07-01 13:42:06 +0000 |
commit | eef5c8824ffc067661eefd01fdb24cd0ea05b957 (patch) | |
tree | 1cb32629faa1e8d760bcbd6d9dad4ae2bade81ac /security/ruby-sha1/patches | |
parent | 97d3c86d66fe5de33e448100d1b375d7aa5a631d (diff) | |
download | pkgsrc-eef5c8824ffc067661eefd01fdb24cd0ea05b957.tar.gz |
Importing ruby-sha1 package.
ruby-sha1 - A Ruby interface to the SHA-1 Secure Hash Algorithm
This is a Ruby extension which implements the SHA-1 Secure Hash
Algorithm by NIST (the US' National Institute of Standards and
Technology), described in FIPS PUB 180-1.
Diffstat (limited to 'security/ruby-sha1/patches')
-rw-r--r-- | security/ruby-sha1/patches/patch-aa | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/ruby-sha1/patches/patch-aa b/security/ruby-sha1/patches/patch-aa new file mode 100644 index 00000000000..e42602b26bb --- /dev/null +++ b/security/ruby-sha1/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/07/01 13:42:06 taca Exp $ + +--- extconf.rb.orig Fri Nov 3 05:08:42 2000 ++++ extconf.rb +@@ -1,15 +1,3 @@ + require 'mkmf' + +-i = 0x01020304 +- +-case [i].pack('l') +- when [i].pack('V') +- $CFLAGS += " -DLITTLE_ENDIAN" +- when [i].pack('N') +- $CFLAGS += " -DBIG_ENDIAN" +- else +- p "Sorry, your machine has an unusual byte order which is not supported." +- exit! +-end +- + create_makefile('sha1') |