File hashalot-glibc210.diff of Package cryptsetup

Index: hashalot-0.3/hashalot.c
===================================================================
--- hashalot-0.3.orig/hashalot.c
+++ hashalot-0.3/hashalot.c
@@ -22,6 +22,7 @@
 #include <unistd.h>
 #include <assert.h>
 #include <signal.h>
+#include <limits.h>
 
 #include <sys/types.h>
 #include <sys/mman.h>
Index: hashalot-0.3/Makefile.am
===================================================================
--- hashalot-0.3.orig/Makefile.am
+++ hashalot-0.3/Makefile.am
@@ -4,7 +4,7 @@ sbin_PROGRAMS = hashalot
 man_MANS = hashalot.1
 
 hashalot_CFLAGS = $(LIBGCRYPT_CFLAGS)
-hashalot_LDFLAGS = $(LIBGCRYPT_LIBS)
+hashalot_LDADD = $(LIBGCRYPT_LIBS)
 
 hashalot_SOURCES = hashalot.c rmd160.c rmd160.h sha512.c sha512.h
 
openSUSE Build Service is sponsored by