git: 89b6b25d78b0 - main - cad/librnd: update to 3.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Jul 2022 15:20:37 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=89b6b25d78b0eda117b37476248a68ee0873fd51 commit 89b6b25d78b0eda117b37476248a68ee0873fd51 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-07-18 06:20:24 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-07-18 15:17:40 +0000 cad/librnd: update to 3.2.0 ChangeLog: http://www.repo.hu/projects/librnd/releases/changelog-3.2.0.txt PR: 265283 Reported by: fuz@fuz.su (maintainer) --- cad/librnd/files/patch-tests_librnd_librnd__test.c | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/cad/librnd/files/patch-tests_librnd_librnd__test.c b/cad/librnd/files/patch-tests_librnd_librnd__test.c new file mode 100644 index 000000000000..1e362113a5fc --- /dev/null +++ b/cad/librnd/files/patch-tests_librnd_librnd__test.c @@ -0,0 +1,28 @@ +Index: tests/librnd/librnd_test.c +=================================================================== +--- tests/librnd/librnd_test.c.orig 2021-06-11 15:14:52 UTC ++++ tests/librnd/librnd_test.c +@@ -22,12 +22,23 @@ static void poly_test() + rnd_poly_valid(&pa); + } + ++/* workaround for symbols missing out because of the static linking done with ++ the test app. Won't ever happen to real apps as they don't static link */ ++#include <librnd/core/pixmap.h> ++static void (*workaround_fn)(); ++static void librnd_test_symbol_workaround(void) ++{ ++ workaround_fn = rnd_pixmap_reg_import; ++} ++ + int main(int argc, char *argv[]) + { + int n; + rnd_main_args_t ga; + + rnd_app.default_embedded_menu = ""; ++ ++ librnd_test_symbol_workaround(); + + rnd_fix_locale_and_env(); +