1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/japanese/tk80/files/patch-tkKinput2.c
Gabor Kovesdan 3b4a391d9f - Fix build with X.org 7 [1]
- Change MASTER_SITES [1]
- Fix maintainer's e-mail [1]
- Fix build with gcc4 [2]
- Fix wrongly implemented NOPORTDOCS
- Bump PORTREVISION

PR:		ports/106913 [1],
		ports/106914 [2]
Submitted by:	Takeshi Taguchi <taguchi@iij.ad.jp> (maintainer) [1] [2]
Approved by:	erwin (mentor)
2007-01-07 11:59:03 +00:00

23 lines
700 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- tkKinput2.c.orig Mon Dec 18 21:46:48 2006
+++ tkKinput2.c Mon Dec 18 22:14:27 2006
@@ -552,6 +552,8 @@
XEvent *event));
static int stopForwarding _ANSI_ARGS_ ((ClientData clientdata,
XErrorEvent *errEvent));
+static int checkProtocols _ANSI_ARGS_ ((Display *dpy,
+ Window window, ConversionAtoms *cap));
/*
*--------------------------------------------------------------
@@ -585,8 +587,10 @@
ConversionAtoms *cap;
ConversionContext *context;
int anyattr = False;
+ /* for gcc41
static int checkProtocols _ANSI_ARGS_ ((Display *dpy,
Window window, ConversionAtoms *cap));
+ */
cap = getAtoms(tkwin);