diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2022-06-25 18:36:43 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2022-06-25 18:37:33 +0200 |
commit | 83169a31d6ad82a729b692c963721d486a8a52ec (patch) | |
tree | 5519d1f2b88780c3e626ee69d3e95929ca5549c1 /sci-electronics/xnec2c/files | |
parent | profiles/arch/riscv: Drop dev-python/subprocess-tee[test-full] mask (diff) | |
download | gentoo-83169a31d6ad82a729b692c963721d486a8a52ec.tar.gz gentoo-83169a31d6ad82a729b692c963721d486a8a52ec.tar.bz2 gentoo-83169a31d6ad82a729b692c963721d486a8a52ec.zip |
sci-electronics/xnec2c: drop 4.1.1, 4.4.5, 4.4.7
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'sci-electronics/xnec2c/files')
-rw-r--r-- | sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch b/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch deleted file mode 100644 index a995463224b0..000000000000 --- a/sci-electronics/xnec2c/files/xnec2c-4.4.5-musl.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff --git a/src/mathlib.c b/src/mathlib.c -index 5354240..b28033e 100644 ---- a/src/mathlib.c -+++ b/src/mathlib.c -@@ -155,9 +155,6 @@ int open_mathlib(mathlib_t *lib) - return 0; - } - -- if (dlinfo(lib->handle, RTLD_DI_LMID, &lib->lmid) == -1) -- printf("dlinfo: %s: %s\n", lib->lib, dlerror()); -- - // Call the init() function if configured - if (lib->init != NULL) - lib->init(lib); -@@ -217,14 +214,7 @@ void init_mathlib() - mathlibs[libidx].available = 1; - - // At this point the library load was successful, provide detail: -- if (mathlibs[libidx].handle != NULL) -- { -- char lpath[PATH_MAX]; -- dlinfo(mathlibs[libidx].handle, RTLD_DI_ORIGIN, lpath); -- printf(" loaded ok: %s/%s\n", lpath, mathlibs[libidx].lib); -- } -- else -- printf(" loaded ok.\n"); -+ printf(" loaded ok.\n"); - - // Set the default to the first one we find: - if (current_mathlib == NULL) -diff --git a/src/utils.c b/src/utils.c -index b803402..1462df2 100644 ---- a/src/utils.c -+++ b/src/utils.c -@@ -17,7 +17,7 @@ - * https://www.xnec2c.org/ - */ - --#include <execinfo.h> -+//#include <execinfo.h> - - #include "utils.h" - #include "shared.h" -@@ -736,18 +736,7 @@ void _print_backtrace(char **strings) - // Return an array of backtrace strings. The value returned must be free()'ed. - char **_get_backtrace() - { -- void *array[10]; -- char **strings; -- int size; -- -- size = backtrace(array, 10); -- strings = backtrace_symbols(array, size); -- -- // This wastes an array entry, but allows _print_backtrace() to find -- // the end of the list without realloc'ing space for a NULL: -- strings[size-1] = NULL; -- -- return strings; -+ return NULL; - } - - void print_backtrace(char *msg) |