pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/lesstif Don't include Xm/Print.h into Xm/All.h.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a34430a9853
branches:  trunk
changeset: 375754:9a34430a9853
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Tue Feb 20 10:53:30 2018 +0000

description:
Don't include Xm/Print.h into Xm/All.h.

Xm/Print.h requires headers from libXp (which is dead, gone, not lamented)
and thus doesn't compile. Anything that specifically uses it is broken, as
is anything that assumes Xm/All.h will include it; but things that just use
Xm/All.h should not fail.

Such things include xpdf's configure script (PR 50039).

It isn't obvious to me why this package installs header files it
clearly never runs through the compiler, but for now at least that's
somebody else's problem.

PKGREVISION -> 6

diffstat:

 x11/lesstif/Makefile                                   |   4 +-
 x11/lesstif/distinfo                                   |   3 +-
 x11/lesstif/patches/patch-include_Motif-2.1_Xm_XmAll.h |  26 ++++++++++++++++++
 3 files changed, 30 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r 59c0a603d68f -r 9a34430a9853 x11/lesstif/Makefile
--- a/x11/lesstif/Makefile      Tue Feb 20 10:18:40 2018 +0000
+++ b/x11/lesstif/Makefile      Tue Feb 20 10:53:30 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.104 2015/07/04 16:18:42 joerg Exp $
+# $NetBSD: Makefile,v 1.105 2018/02/20 10:53:30 dholland Exp $
 
 DISTNAME=      lesstif-0.95.2
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=lesstif/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 59c0a603d68f -r 9a34430a9853 x11/lesstif/distinfo
--- a/x11/lesstif/distinfo      Tue Feb 20 10:18:40 2018 +0000
+++ b/x11/lesstif/distinfo      Tue Feb 20 10:53:30 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2015/11/04 03:28:44 agc Exp $
+$NetBSD: distinfo,v 1.19 2018/02/20 10:53:30 dholland Exp $
 
 SHA1 (lesstif-0.95.2.tar.bz2) = b894e544d529a235a6a665d48ca94a465f44a4e5
 RMD160 (lesstif-0.95.2.tar.bz2) = 643fd81b70b6e8617803ddc4350272ca89b4a71f
@@ -13,3 +13,4 @@
 SHA1 (patch-ar) = e4aefbc8c31bece408185d6bd9266f11d6852f7c
 SHA1 (patch-bm) = b32febe539b375a0ea8adfddeec01588927f9046
 SHA1 (patch-bn) = f96d95358a76db1a371bfc3ea7a3ba6b9d1d536f
+SHA1 (patch-include_Motif-2.1_Xm_XmAll.h) = c1d6ba9b36151ab01f6751916f38357c8f1929e6
diff -r 59c0a603d68f -r 9a34430a9853 x11/lesstif/patches/patch-include_Motif-2.1_Xm_XmAll.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/lesstif/patches/patch-include_Motif-2.1_Xm_XmAll.h    Tue Feb 20 10:53:30 2018 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-include_Motif-2.1_Xm_XmAll.h,v 1.1 2018/02/20 10:53:30 dholland Exp $
+
+Don't include Xm/Print.h in Xm/XmAll.h, because it requires headers from
+libXp that do not exist any longer.
+
+For some reason leaving this in does not make the lesstif build fail;
+it only causes failures for (some) users of lesstif.
+
+
+--- include/Motif-2.1/Xm/XmAll.h~      2002-04-26 20:33:00.000000000 +0000
++++ include/Motif-2.1/Xm/XmAll.h
+@@ -76,12 +76,12 @@
+ #include <Xm/Manager.h>
+ #include <Xm/Notebook.h>
+ #include <Xm/Primitive.h>
+-#include <Xm/Print.h>
++/*#include <Xm/Print.h>*/
+ #include <Xm/SpinB.h>
+ #include <Xm/Transfer.h>
+ 
+ /* 2.1 stuff */
+-#include <Xm/Print.h>
++/*#include <Xm/Print.h>*/
+ #include <Xm/SSpinB.h>
+ 
+ #endif /* _XM_XMALL_H */



Home | Main Index | Thread Index | Old Index