Files
pkgsrc-ng/x11/p5-Tk/patches/patch-aj
2013-09-26 17:14:40 +02:00

16 lines
403 B
Plaintext

$NetBSD: patch-aj,v 1.2 2012/01/22 19:00:34 abs Exp $
X11R7 uses a different include guard.
--- pTk/Xlib.h.orig 2011-06-13 12:16:52.000000000 +0000
+++ pTk/Xlib.h
@@ -1,5 +1,8 @@
#ifndef _XLIB
#define _XLIB
+#if defined(_X11_XLIB_H_) && !defined(_XLIB_H_)
+#define _XLIB_H_
+#endif
#ifndef _XLIB_H_
#ifndef _X11_XLIB_H_
extern XFontStruct *XLoadQueryFont _ANSI_ARGS_((Display *, const char *));