From 11137cda7747b9392a43fc1afa562f03d270cf45 Mon Sep 17 00:00:00 2001 From: jwise Date: Tue, 30 Mar 2004 16:49:32 +0000 Subject: Fix build against newest X11. for some obscure reason, src/modules/x11/dataentry.c explicitly unset NeedFunctionPrototypes, which can no longer safely be done in recent X11 sources (as _Xconst is only defined if this is set, yet is used everywhere). --- math/R/distinfo | 3 ++- math/R/patches/patch-at | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 math/R/patches/patch-at (limited to 'math/R') diff --git a/math/R/distinfo b/math/R/distinfo index da7b669b610..454ee2910aa 100644 --- a/math/R/distinfo +++ b/math/R/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2004/01/05 12:20:57 markd Exp $ +$NetBSD: distinfo,v 1.16 2004/03/30 16:49:32 jwise Exp $ SHA1 (R-1.8.1.tgz) = 397511dcef3a04ebb67ef23988f5c32eee72fe95 Size (R-1.8.1.tgz) = 9407628 bytes @@ -21,3 +21,4 @@ SHA1 (patch-ap) = b75680bae0d75f417c74d2137ba4b43ec1428131 SHA1 (patch-aq) = 512d7613bbba00c0cb3e4543812f734159e12a92 SHA1 (patch-ar) = 5cc4a77c253a77a564433187babb0135ccb84eaf SHA1 (patch-as) = 37db149821a49c86463683f3b82e8a763bbfcd1b +SHA1 (patch-at) = d972e1072a7f6a30b5fbc2e5fa076bc5bdec5952 diff --git a/math/R/patches/patch-at b/math/R/patches/patch-at new file mode 100644 index 00000000000..d924dd4b33b --- /dev/null +++ b/math/R/patches/patch-at @@ -0,0 +1,8 @@ +$NetBSD: patch-at,v 1.1 2004/03/30 16:49:32 jwise Exp $ + +--- src/modules/X11/dataentry.c.orig ++++ src/modules/X11/dataentry.c +32c32 +< #define NeedFunctionPrototypes 0 +--- +> /* #define NeedFunctionPrototypes 0 */ -- cgit v1.2.3