openbsd-ports/korean/hanterm-xf/patches/patch-xutf8_h
matthieu de0f5d85a1 Fixes for upcoming libX11 update which changes the symbol used to
protect X11/Xlib.h from multible inclusion and is been (ab)used
by those ports. No binary change.
ok ajacoutot@, landry@.
2011-05-30 19:08:35 +00:00

13 lines
369 B
Plaintext

$OpenBSD: patch-xutf8_h,v 1.1 2011/05/30 19:08:35 matthieu Exp $
--- xutf8.h.orig Thu May 19 21:28:00 2011
+++ xutf8.h Thu May 19 21:27:28 2011
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE O
THE SOFTWARE.
*/
-#ifndef _XLIB_H_
+#if !defined(_XLIB_H_) && !defined(_X11_XLIB_H_)
#error Please include <X11/Xlib.h> before "xutf8.h"
#endif