1 --- inkscape-1.1.2_2022-02-04_0a00cf5339/src/path-prefix.cpp.~1~ 2022-02-04 20:12:19.000000000 +0000
2 +++ inkscape-1.1.2_2022-02-04_0a00cf5339/src/path-prefix.cpp 2022-03-12 03:18:41.926995059 +0000
5 g_warning("get_program_name() - g_file_read_link failed");
8 + const char *exec_name = getexecname();
9 + program_name = (gchar *) exec_name;
10 + if (!program_name) {
11 + g_warning("get_program_name() - getexecname failed");
13 #elif defined(__NetBSD__)
14 static const int name[] = {CTL_KERN, KERN_PROC_ARGS, -1, KERN_PROC_PATHNAME};
15 char path[MAXPATHLEN];