--- src/Makefile.in.orig	2018-04-19 01:35:57 -0400
+++ src/Makefile.in	2018-04-19 01:38:51 -0400
@@ -161,7 +161,8 @@
 	libgcrypt_la-sexp.lo libgcrypt_la-hwfeatures.lo \
 	libgcrypt_la-stdmem.lo libgcrypt_la-secmem.lo \
 	libgcrypt_la-missing-string.lo libgcrypt_la-fips.lo \
-	libgcrypt_la-hmac256.lo libgcrypt_la-context.lo
+	libgcrypt_la-hmac256.lo libgcrypt_la-context.lo \
+	../cipher/*.lo ../mpi/*.lo
 libgcrypt_la_OBJECTS = $(am_libgcrypt_la_OBJECTS)
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
*** ./random/random-drbg.c.ORIG	Mon Dec 18 20:14:47 2017
--- ./random/random-drbg.c	Mon Dec 18 20:15:36 2017
***************
*** 497,502 ****
--- 497,510 ----
    return (1 << 16);
  }
  
+ #ifndef SIZE_MAX
+ # if (__64BIT__)
+ #  define SIZE_MAX        UINT64_MAX
+ # else
+ #  define SIZE_MAX        UINT32_MAX
+ # endif
+ #endif
+ 
  static inline size_t
  drbg_max_addtl (void)
  {
--- 121,126 ----
--- ./src/Makefile.in.orig	2021-05-11 00:25:45 +0000
+++ ./src/Makefile.in	2021-05-11 00:27:01 +0000
@@ -533,9 +533,9 @@
 
 libgcrypt_la_LIBADD = $(gcrypt_res) \
         $(gcrypt_hwf_modules) \
-	../cipher/libcipher.la \
-	../random/librandom.la \
-	../mpi/libmpi.la \
+	../cipher/.libs/libcipher.a \
+	../random/.libs/librandom.a \
+	../mpi/.libs/libmpi.a \
 	../compat/libcompat.la $(DL_LIBS) $(GPG_ERROR_LIBS)
 
 dumpsexp_SOURCES = dumpsexp.c
