From 9a389e839f68e94a47ebd4fcdc81534c2026aa82 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 18 Jul 2013 03:41:00 +0200 Subject: [PATCH] libtomcrypt: aes_enc.o wasn't compiled properly; fixes missing symbols. --- srcpkgs/libtomcrypt/patches/libtomcrypt_1.17-2.diff | 11 ++++++++++- srcpkgs/libtomcrypt/template | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libtomcrypt/patches/libtomcrypt_1.17-2.diff b/srcpkgs/libtomcrypt/patches/libtomcrypt_1.17-2.diff index a8aaddfc7b3..9e4f2374579 100644 --- a/srcpkgs/libtomcrypt/patches/libtomcrypt_1.17-2.diff +++ b/srcpkgs/libtomcrypt/patches/libtomcrypt_1.17-2.diff @@ -121,7 +121,7 @@ +This manual page was written by Michael Stapelberg , +for the Debian project (and may be used by others). --- a/makefile.shared.orig 2007-05-12 16:46:25.000000000 +0200 -+++ b/makefile.shared 2013-05-27 17:00:13.143450243 +0200 ++++ b/makefile.shared 2013-07-18 03:38:06.551390390 +0200 @@ -9,7 +9,7 @@ VERSION=0:117 @@ -131,6 +131,15 @@ # ranlib tools ifndef RANLIB +@@ -231,7 +231,7 @@ default:library + + #ciphers come in two flavours... enc+dec and enc + src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c +- $(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o ++ libtool --mode=compile --tag=CC @@CC@@ $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o + + #These are the rules to make certain object files. + src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c @@ -248,15 +248,16 @@ testprof/$(LIBTEST): objs: $(OBJECTS) diff --git a/srcpkgs/libtomcrypt/template b/srcpkgs/libtomcrypt/template index 2519a9e0764..5ecc770de7e 100644 --- a/srcpkgs/libtomcrypt/template +++ b/srcpkgs/libtomcrypt/template @@ -1,7 +1,7 @@ # Template file for 'libtomcrypt' pkgname=libtomcrypt version=1.17 -revision=3 +revision=4 patch_args="-Np1" hostmakedepends="libtool" short_desc="Fairly comprehensive, modular and portable cryptographic toolkit"