You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libbsd/libbsd-0.8.6-compat.patch

19 lines
807 B

diff -up libbsd-0.8.6/src/explicit_bzero.c.compat libbsd-0.8.6/src/explicit_bzero.c
--- libbsd-0.8.6/src/explicit_bzero.c.compat 2018-05-22 16:06:09.926108522 -0600
+++ libbsd-0.8.6/src/explicit_bzero.c 2018-05-22 16:06:43.102873673 -0600
@@ -17,3 +17,5 @@ explicit_bzero(void *buf, size_t len)
memset(buf, 0, len);
__explicit_bzero_hook(buf, len);
}
+
+asm(".symver explicit_bzero,explicit_bzero@LIBBSD_0.8");
diff -up libbsd-0.8.6/src/reallocarray.c.compat libbsd-0.8.6/src/reallocarray.c
--- libbsd-0.8.6/src/reallocarray.c.compat 2018-05-22 16:07:32.247007073 -0600
+++ libbsd-0.8.6/src/reallocarray.c 2018-05-22 16:08:10.687893640 -0600
@@ -36,3 +36,5 @@ reallocarray(void *optr, size_t nmemb, s
}
return realloc(optr, size * nmemb);
}
+
+asm(".symver reallocarray,reallocarray@LIBBSD_0.8");