pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/render Work around a bug in certain versions of Xm...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a89b257407cd
branches: trunk
changeset: 465007:a89b257407cd
user: sketch <sketch%pkgsrc.org@localhost>
date: Fri Dec 19 11:32:52 2003 +0000
description:
Work around a bug in certain versions of Xmd.h which do not correctly
check for __STDC__, breaking the SIZEOF() macro.
diffstat:
x11/render/distinfo | 3 ++-
x11/render/patches/patch-aa | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r faf0ae70ebcc -r a89b257407cd x11/render/distinfo
--- a/x11/render/distinfo Fri Dec 19 11:16:39 2003 +0000
+++ b/x11/render/distinfo Fri Dec 19 11:32:52 2003 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/09/19 16:33:57 wiz Exp $
+$NetBSD: distinfo,v 1.2 2003/12/19 11:32:52 sketch Exp $
SHA1 (render-0.8.tar.gz) = 73b88307fd318e0a1a7ed50c7cf7808d550cca99
Size (render-0.8.tar.gz) = 51478 bytes
+SHA1 (patch-aa) = 44f9efe2d49e07b7ff344034f7369fd10dada464
diff -r faf0ae70ebcc -r a89b257407cd x11/render/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/render/patches/patch-aa Fri Dec 19 11:32:52 2003 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2003/12/19 11:32:52 sketch Exp $
+
+--- renderproto.h.orig 2003-04-21 18:19:22.000000000 +0100
++++ renderproto.h 2003-12-16 15:32:39.752161000 +0000
+@@ -29,6 +29,17 @@
+ #include <X11/Xmd.h>
+ #include <X11/extensions/render.h>
+
++/* Work around bug in -r1.47 of XConsortium: Xmd.h, which breaks packages
++ * dependant on x11/render for certain versions of OpenWindows */
++#undef _SIZEOF
++#undef SIZEOF
++#if ((defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus)) && !defined(UNIXCPP)) || defined(ANSICPP) || defined(_LP64)
++#define _SIZEOF(x) sz_##x
++#define SIZEOF(x) _SIZEOF(x)
++#else
++#define SIZEOF(x) sz_/**/x
++#endif
++
+ #define Window CARD32
+ #define Drawable CARD32
+ #define Font CARD32
Home |
Main Index |
Thread Index |
Old Index