summaryrefslogtreecommitdiff
path: root/security/nettle2/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/nettle2/files')
-rw-r--r--security/nettle2/files/patch-Makefile.in10
-rw-r--r--security/nettle2/files/patch-configure11
-rw-r--r--security/nettle2/files/patch-examples_nettle-openssl.c29
3 files changed, 0 insertions, 50 deletions
diff --git a/security/nettle2/files/patch-Makefile.in b/security/nettle2/files/patch-Makefile.in
deleted file mode 100644
index 5e9e5bd2c686..000000000000
--- a/security/nettle2/files/patch-Makefile.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.in.orig Fri Oct 24 14:28:03 2003
-+++ Makefile.in Fri Oct 24 14:29:11 2003
-@@ -1067,7 +1067,6 @@ $(SHLIBFORLINK): $(SHLIBOBJECTS)
- install-shared: $(SHLIBFORLINK)
- $(INSTALL_DATA) $(SHLIBFORLINK) $(DESTDIR)$(libdir)/$(SHLIBFILE)
- (cd $(DESTDIR)$(libdir) \
-- && ln -sf $(SHLIBFILE) $(SHLIBSONAME) \
- && ln -sf $(SHLIBFILE) $(SHLIBFORLINK) )
-
- %.html : %.texinfo
diff --git a/security/nettle2/files/patch-configure b/security/nettle2/files/patch-configure
deleted file mode 100644
index 96c78f36792e..000000000000
--- a/security/nettle2/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Oct 24 14:27:53 2003
-+++ configure Fri Oct 24 14:28:43 2003
-@@ -3160,7 +3160,7 @@ fi
- SHLIBCFLAGS="-fpic"
- SHLIBFORLINK=libnettle.so
- SHLIBSONAME='$(SHLIBFORLINK).$(SHLIBMAJOR)'
--SHLIBFILE='$(SHLIBSONAME).$(SHLIBMINOR)'
-+SHLIBFILE='$(SHLIBSONAME)'
- SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME)'
-
- echo "enable_shared: $enable_shared"
diff --git a/security/nettle2/files/patch-examples_nettle-openssl.c b/security/nettle2/files/patch-examples_nettle-openssl.c
deleted file mode 100644
index dbd034518587..000000000000
--- a/security/nettle2/files/patch-examples_nettle-openssl.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- examples/nettle-openssl.c.orig Fri Nov 8 16:05:20 2002
-+++ examples/nettle-openssl.c Thu May 1 12:52:10 2003
-@@ -93,7 +93,7 @@
- openssl_des_set_key(void *ctx, unsigned length, const uint8_t *key)
- {
- assert(length == 8);
-- des_key_sched((char *) key, ctx);
-+ des_key_sched((const_DES_cblock *)key, ctx);
- }
-
- #define DES_BLOCK_SIZE 8
-@@ -105,7 +105,7 @@
- assert (!(length % DES_BLOCK_SIZE));
- while (length)
- {
-- des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_ENCRYPT);
-+ des_ecb_encrypt((const_DES_cblock *)src, (DES_cblock *)dst, ctx, DES_ENCRYPT);
- length -= DES_BLOCK_SIZE;
- dst += DES_BLOCK_SIZE;
- src += DES_BLOCK_SIZE;
-@@ -119,7 +119,7 @@
- assert (!(length % DES_BLOCK_SIZE));
- while (length)
- {
-- des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_DECRYPT);
-+ des_ecb_encrypt((const_DES_cblock *) src, (DES_cblock *) dst, ctx, DES_DECRYPT);
- length -= DES_BLOCK_SIZE;
- dst += DES_BLOCK_SIZE;
- src += DES_BLOCK_SIZE;