tags 607978 + patch kthxbye This patch should fix the FTBFS on kFreeBSD. Please be aware that the issue is not (yet) fixed upstream since the upstream fix is conditional on __FreeBSD__ and not __FreeBSD_kernel__. I have sent Con Kolivas a patch to fix this as well.
-- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
diff --git a/rzip.h b/rzip.h index f605f9c..3094d57 100644 --- a/rzip.h +++ b/rzip.h @@ -192,6 +191,10 @@ static inline i64 get_ram(void) } #endif +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + #define mremap fake_mremap +#endif + #define FLAG_SHOW_PROGRESS 2 #define FLAG_KEEP_FILES 4 #define FLAG_TEST_ONLY 8
signature.asc
Description: Digital signature