diff options
author | Cy Schubert <cy@FreeBSD.org> | 2023-02-14 20:44:25 -0800 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2023-02-15 08:55:01 -0800 |
commit | e66cede3bc7783eb15400af6f3da60fd8b37977e (patch) | |
tree | 23d48cebc2fe37c38e0fa50217077f10d885e060 /x11/xforward/files/patch-xforward.c | |
parent | dns/bind918: update to 9.18.12 (diff) |
x11/xforward: Permanently fix LLVM15 build error
Permanently fix:
xforward.c:528:87: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Cardinal' (aka 'unsigned int') [-Wint-conversion]
topshell = XtAppCreateShell(NULL,"Xforward",applicationShellWidgetClass, dpy, NULL,NULL);
^~~~
Diffstat (limited to 'x11/xforward/files/patch-xforward.c')
-rw-r--r-- | x11/xforward/files/patch-xforward.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/x11/xforward/files/patch-xforward.c b/x11/xforward/files/patch-xforward.c index c6f5b916b379..db2694922755 100644 --- a/x11/xforward/files/patch-xforward.c +++ b/x11/xforward/files/patch-xforward.c @@ -1,5 +1,5 @@ --- xforward.c.orig 1993-06-04 19:30:16.000000000 -0700 -+++ xforward.c 2012-04-27 13:20:20.603550383 -0700 ++++ xforward.c 2023-02-14 20:42:29.724713000 -0800 @@ -292,7 +292,7 @@ struct timeval timeout; struct pend_conn *cur,*prev; @@ -9,3 +9,12 @@ int exitstat,wopts,newoutgoing; /* for each entry, call waitpid */ +@@ -525,7 +525,7 @@ + app_con = XtCreateApplicationContext(); + dpy = XtOpenDisplay(app_con,disp_str,NULL,"Xforward", + NULL,0,&argc,argv); +- topshell = XtAppCreateShell(NULL,"Xforward",applicationShellWidgetClass, dpy, NULL,NULL); ++ topshell = XtAppCreateShell(NULL,"Xforward",applicationShellWidgetClass, dpy, NULL, (Cardinal)NULL); + sprintf(dialog_message,"Allow X connection from %s ?", + okhost_names[i]); + msg_str = XmStringCreateSimple(dialog_message); |