Package: lrzip
Version: 0.607+20110917+git79c2e9a-2
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

currently[1], lrzip does not compile on GNU/Hurd.
This is because it is not configured to use a fake mremap function, so it is
being used as if it would exist in libc.
The attached patch enables the use of fake_mremap as mremap also on GNU/Hurd.
(Ideally a configure check would do this job?)

[1] 
https://buildd.debian.org/status/fetch.php?pkg=lrzip&arch=hurd-i386&ver=0.607%2B20110917%2Bgit79c2e9a-2&stamp=1316559794

Thanks,
-- 
Pino
--- a/lrzip_private.h
+++ b/lrzip_private.h
@@ -91,7 +91,8 @@
 typedef struct md5_ctx md5_ctx;
 
 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
-	defined(__APPLE__) || defined(__CYGWIN__)
+	defined(__APPLE__) || defined(__CYGWIN__) || \
+	defined(__GNU__)
  #define mremap fake_mremap
 #endif
 

Reply via email to