File libmcrypt-2.5.8-notdynamic.diff of Package libmcrypt

--- libmcrypt-idea-0.9/modules/algorithms/idea.c	2001-09-16 20:40:45.000000000 +0200
+++ libmcrypt-idea-0.9/modules/algorithms/idea.c@	2003-01-10 16:20:50.000000000 +0100
@@ -25,7 +25,6 @@
 #define mulMod        0x10001	/* 2**16 + 1                                    */
 #define ones           0xFFFF	/* 2**16 - 1                                    */
 
-#ifdef USE_LTDL
 #define _mcrypt_set_key idea_LTX__mcrypt_set_key
 #define _mcrypt_encrypt idea_LTX__mcrypt_encrypt
 #define _mcrypt_decrypt idea_LTX__mcrypt_decrypt
@@ -37,7 +36,6 @@
 #define _mcrypt_get_algorithms_name idea_LTX__mcrypt_get_algorithms_name
 #define _mcrypt_self_test idea_LTX__mcrypt_self_test
 #define _mcrypt_algorithm_version idea_LTX__mcrypt_algorithm_version
-#endif
 
 /******************************************************************************/
 /* Multiplication in the multiplicative group, a = a * b                      */
--- libmcrypt-mars-0.9/modules/algorithms/mars.c	2001-09-16 20:45:20.000000000 +0200
+++ libmcrypt-mars-0.9/modules/algorithms/mars.c@	2003-01-10 16:23:01.000000000 +0100
@@ -19,8 +19,8 @@
 
 #include "../../lib/libdefs.h"
 #include "../../lib/mcrypt_modules.h"
+#include "mars.h"
 
-#ifdef USE_LTDL
 #define _mcrypt_set_key mars_LTX__mcrypt_set_key
 #define _mcrypt_encrypt mars_LTX__mcrypt_encrypt
 #define _mcrypt_decrypt mars_LTX__mcrypt_decrypt
@@ -32,7 +32,6 @@
 #define _mcrypt_get_algorithms_name mars_LTX__mcrypt_get_algorithms_name
 #define _mcrypt_self_test mars_LTX__mcrypt_self_test
 #define _mcrypt_algorithm_version mars_LTX__mcrypt_algorithm_version
-#endif
 
 /*
 Algorithm mars (mars.c)
@@ -56,10 +55,6 @@
 Mean:          371 cycles =    69.0 mbits/sec
 */
 
-#include "../../lib/libdefs.h"
-#include "../../lib/mcrypt_modules.h"
-#include "mars.h"
-
 static word32 s_box[] = {
 	0x09d0c479, 0x28c8ffe0, 0x84aa6c39, 0x9dad7287,	/* 0x000    */
 	0x7dff9be3, 0xd4268361, 0xc96da1d4, 0x7974cc93,
--- libmcrypt-rc6-0.9/modules/algorithms/rc6.c	2001-09-16 20:54:18.000000000 +0200
+++ libmcrypt-rc6-0.9/modules/algorithms/rc6.c@	2003-01-10 16:23:13.000000000 +0100
@@ -42,7 +42,6 @@
 #include "../../lib/mcrypt_modules.h"
 #include "rc6.h"
 
-#ifdef USE_LTDL
 #define _mcrypt_set_key rc6_LTX__mcrypt_set_key
 #define _mcrypt_encrypt rc6_LTX__mcrypt_encrypt
 #define _mcrypt_decrypt rc6_LTX__mcrypt_decrypt
@@ -54,7 +53,6 @@
 #define _mcrypt_get_algorithms_name rc6_LTX__mcrypt_get_algorithms_name
 #define _mcrypt_self_test rc6_LTX__mcrypt_self_test
 #define _mcrypt_algorithm_version rc6_LTX__mcrypt_algorithm_version
-#endif
 
 #define f_rnd(i,a,b,c,d)                    \
         u = rotl32(d * (d + d + 1), 5);       \
--- libmcrypt-skipjack-0.9/modules/algorithms/skipjack.c	2001-09-16 20:43:05.000000000 +0200
+++ libmcrypt-skipjack-0.9/modules/algorithms/skipjack.c@	2003-01-10 16:23:53.000000000 +0100
@@ -4,7 +4,6 @@
 #include "../../lib/mcrypt_modules.h"
 #include "skipjack.h"
 
-#ifdef USE_LTDL
 #define _mcrypt_set_key skipjack_LTX__mcrypt_set_key
 #define _mcrypt_encrypt skipjack_LTX__mcrypt_encrypt
 #define _mcrypt_decrypt skipjack_LTX__mcrypt_decrypt
@@ -16,7 +15,6 @@
 #define _mcrypt_get_algorithms_name skipjack_LTX__mcrypt_get_algorithms_name
 #define _mcrypt_self_test skipjack_LTX__mcrypt_self_test
 #define _mcrypt_algorithm_version skipjack_LTX__mcrypt_algorithm_version
-#endif
 
 #define BLOCKSIZE 8
 #define KEYSIZE 10