mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix execution on 64bit platforms
PR: 134474 Submitted by: Pavel Gorshkov
This commit is contained in:
parent
e76ce15096
commit
1b95b8c7b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238337
2 changed files with 23 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= wmpinboard
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= deskutils afterstep windowmaker
|
||||
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
||||
|
|
22
deskutils/wmpinboard/files/patch-xmisc.c
Normal file
22
deskutils/wmpinboard/files/patch-xmisc.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- src/xmisc.c.orig 2009-05-27 17:03:25.000000000 +0400
|
||||
+++ src/xmisc.c 2009-05-27 16:42:40.000000000 +0400
|
||||
@@ -204,7 +204,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- if (XGetIMValues(xim, XNQueryInputStyle, &xim_styles, 0) || !xim_styles) {
|
||||
+ if (XGetIMValues(xim, XNQueryInputStyle, &xim_styles, NULL) || !xim_styles) {
|
||||
XCloseIM(xim);
|
||||
#ifdef DEBUG_IC
|
||||
fprintf(stderr, "Input method doesn't support any style.\n");
|
||||
@@ -258,7 +258,7 @@
|
||||
}
|
||||
|
||||
InputContext = XCreateIC(xim, XNInputStyle, input_style,
|
||||
- XNClientWindow, win, XNFocusWindow, win, 0);
|
||||
+ XNClientWindow, win, XNFocusWindow, win, NULL);
|
||||
|
||||
if (!InputContext) {
|
||||
XCloseIM(xim);
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue