summaryrefslogtreecommitdiff
path: root/app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch')
-rw-r--r--app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch b/app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch
deleted file mode 100644
index df5b6d605054..000000000000
--- a/app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Clang16 will not allow implicit function pointer types by default.
-
-Bug: https://bugs.gentoo.org/880941
-Upstream Bug report and patch: https://savannah.nongnu.org/bugs/index.php?63356
-
-Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
-
---- a/x11.c
-+++ b/x11.c
-@@ -2259,7 +2259,7 @@ x_preparse_args(int *pargc, char ***pargv)
- if (isEmpty(xvile_class))
- xvile_class = MY_CLASS;
-
-- XtSetErrorHandler(initial_error_handler);
-+ XtSetErrorHandler((__attribute__((noreturn)) XtErrorHandler)runtime_error_handler);
- memset(cur_win, 0, sizeof(*cur_win));
- cur_win->top_widget = XtVaAppInitialize(&cur_win->app_context,
- xvile_class,
-@@ -2269,7 +2269,7 @@ x_preparse_args(int *pargc, char ***pargv)
- Nval(XtNgeometry, NULL),
- Nval(XtNinput, TRUE),
- NULL);
-- XtSetErrorHandler(runtime_error_handler);
-+ XtSetErrorHandler((__attribute__((noreturn)) XtErrorHandler)runtime_error_handler);
- dpy = XtDisplay(cur_win->top_widget);
-
- XtVaGetValues(cur_win->top_widget,