Wed Apr 13 13:52:27 2016 UTC ()
Update to patch release 21.4.24. From the ChangeLog:

2015-03-24 Vin Shelton <acs@xemacs.org>

        * XEmacs 21.4.24 is released

2015-02-23  Vin Shelton  <acs@xemacs.org>

        * configure.in: Add LIBOSSAUDIO as appropriate.  Patch from netbsd
        via Hauke Fath.
        * configure: Rebuild.

2015-02-15  Vin Shelton  <acs@xemacs.org>

        * configure.in: Additional netbsd platform definitions.
        * configure: Rebuild.

I have used the opportunity for a bit of spring cleaning:

o remove build restrictions for powerpc and mips (hacks.mk, Makefile)
o drop the inactive X11 toolkit options - they were never used, and
  upstream does not support them for 21.4, anyway (options.mk)
o add comments to patch files
o upstream converted the texinfo files to v5 format. Patch the offenders
  to be v4 compatible


(hauke)
diff -r1.115 -r1.116 pkgsrc/editors/xemacs/Makefile
diff -r1.23 -r1.24 pkgsrc/editors/xemacs/distinfo
diff -r1.3 -r0 pkgsrc/editors/xemacs/hacks.mk
diff -r1.11 -r1.12 pkgsrc/editors/xemacs/options.mk
diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-Makefile.in.in
diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-lib-src_Makefile.in.in
diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-lwlib_Makefile.in.in
diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-src_Makefile.in.in
diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-src_unexelf.c
diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-src_unexfreebsd.c
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-configure
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-configure.in
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-lib-src_vcdiff
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-man_custom.texi
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-man_info.texi
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-man_lispref_edebug-inc.texi
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-man_lispref_packaging.texi
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-man_term.texi
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-man_widget.texi
diff -r1.1 -r0 pkgsrc/editors/xemacs/patches/patch-src_dired.c
diff -r0 -r1.1 pkgsrc/editors/xemacs/patches/patch-man_lispref_debugging.texi
diff -r0 -r1.1 pkgsrc/editors/xemacs/patches/patch-man_lispref_intro.texi
diff -r0 -r1.1 pkgsrc/editors/xemacs/patches/patch-man_xemacs_custom.texi
diff -r1.2 -r1.3 pkgsrc/editors/xemacs/patches/patch-src_config.h.in
diff -r1.2 -r0 pkgsrc/editors/xemacs/patches/patch-src_glyphs-eimage.c
diff -r1.4 -r1.5 pkgsrc/editors/xemacs/patches/patch-src_lisp.h

cvs diff -r1.115 -r1.116 pkgsrc/editors/xemacs/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/Makefile 2016/03/05 11:28:28 1.115
+++ pkgsrc/editors/xemacs/Makefile 2016/04/13 13:52:27 1.116
@@ -1,74 +1,66 @@ @@ -1,74 +1,66 @@
1# $NetBSD: Makefile,v 1.115 2016/03/05 11:28:28 jperkin Exp $ 1# $NetBSD: Makefile,v 1.116 2016/04/13 13:52:27 hauke Exp $
2 2
3PKGNAME?= ${DISTNAME} 3PKGNAME?= ${DISTNAME}
4COMMENT?= XEmacs text editor version 21 4COMMENT?= XEmacs text editor version 21
5 5
6DISTNAME= xemacs-21.4.23 6DISTNAME= xemacs-21.4.24
7PKGREVISION= 3 7#PKGREVISION= 1
8CATEGORIES= editors 8CATEGORIES= editors
9MASTER_SITES= ${MASTER_SITE_XEMACS:=${DISTNAME:C/[.][^.]*$//}/} 9MASTER_SITES= ${MASTER_SITE_XEMACS:=${DISTNAME:C/[.][^.]*$//}/}
10 10
11MAINTAINER= hauke@NetBSD.org 11MAINTAINER= hauke@NetBSD.org
12HOMEPAGE= http://www.xemacs.org/ 12HOMEPAGE= http://www.xemacs.org/
13LICENSE= gnu-gpl-v2 13LICENSE= gnu-gpl-v2
14 14
15CONFLICTS+= gnuserv-[0-9]* 15CONFLICTS+= gnuserv-[0-9]*
16CONFLICTS+= xemacs-[0-9]* 16CONFLICTS+= xemacs-[0-9]*
17CONFLICTS+= xemacs-nox11-[0-9]* 17CONFLICTS+= xemacs-nox11-[0-9]*
18 18
19BROKEN_ON_PLATFORM= *-*-mips* # fails purespace dumping 
20 
21USE_TOOLS+= makeinfo 19USE_TOOLS+= makeinfo
22 20
23HAS_CONFIGURE= yes 21HAS_CONFIGURE= yes
24 22
25DIST_SUBDIR= xemacs 23DIST_SUBDIR= xemacs
26PLIST_SUBST+= DISTNAME=${DISTNAME:Q} 24PLIST_SUBST+= DISTNAME=${DISTNAME:Q}
27FILES_SUBST+= DISTNAME=${DISTNAME:Q} 25FILES_SUBST+= DISTNAME=${DISTNAME:Q}
28MESSAGE_SUBST+= DISTNAME=${DISTNAME:Q} 26MESSAGE_SUBST+= DISTNAME=${DISTNAME:Q}
29INFO_FILES= yes 27INFO_FILES= yes
30 28
31.if defined(MANZ) 29.if defined(MANZ)
32PLIST_SUBST+= ELSUFX='.gz' 30PLIST_SUBST+= ELSUFX='.gz'
33.else 31.else
34PLIST_SUBST+= ELSUFX='' 32PLIST_SUBST+= ELSUFX=''
35.endif 33.endif
36 34
37.include "options.mk" 35.include "options.mk"
38 36
39CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} 37CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM}
40CONFIGURE_ARGS+= --prefix=${PREFIX:Q} 38CONFIGURE_ARGS+= --prefix=${PREFIX}
41CONFIGURE_ARGS+= --mandir=${PREFIX:Q}/${PKGMANDIR:Q}/man1 39CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}/man1
 40CONFIGURE_ARGS+= --infopath=${PREFIX}/${PKGINFODIR}
42CONFIGURE_ARGS+= --with-clash-detection 41CONFIGURE_ARGS+= --with-clash-detection
43CONFIGURE_ARGS+= --with-mule=yes 42CONFIGURE_ARGS+= --with-mule=yes
44CONFIGURE_ARGS+= --with-msw=no 43CONFIGURE_ARGS+= --with-msw=no
45CONFIGURE_ARGS+= --pdump 44CONFIGURE_ARGS+= --pdump
46CFLAGS+= -Dunix 45CFLAGS+= -Dunix
47 46
48# Use terminfo on NetBSD-6 and newer. 47# Use terminfo on NetBSD-6 and newer.
49# We cannot use terminfo.*.mk as XEmacs enforces a link to termcap, 48# We cannot use terminfo.*.mk as XEmacs enforces a link to termcap,
50# but this is fine for us. 49# but this is fine for us.
51.if (${OPSYS} == "NetBSD") && exists(/usr/include/term.h) 50.if (${OPSYS} == "NetBSD") && exists(/usr/include/term.h)
52CPPFLAGS+= -DTERMINFO 51CPPFLAGS+= -DTERMINFO
53.endif 52.endif
54 53
55.if ${X11_TYPE} != "modular" 
56INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR} 
57.else 
58INFOPATH= ${PREFIX}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR} 
59.endif 
60CONFIGURE_ARGS+= --infopath=${INFOPATH:Q} 
61 
62.if ${OPSYS} == "SunOS" 54.if ${OPSYS} == "SunOS"
63. if !exists(/usr/demo/SOUND/libaudio.a) && \ 55. if !exists(/usr/demo/SOUND/libaudio.a) && \
64 !exists(/usr/demo/SOUND/lib/libaudio.a) 56 !exists(/usr/demo/SOUND/lib/libaudio.a)
65CONFIGURE_ARGS+= --with_sound=none 57CONFIGURE_ARGS+= --with_sound=none
66. endif 58. endif
67.endif 59.endif
68 60
69.if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o) 61.if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o)
70CPPFLAGS+= -DDFLY_CRT_USRLIB 62CPPFLAGS+= -DDFLY_CRT_USRLIB
71.endif 63.endif
72 64
73CHECK_WRKREF_SKIP= bin/xemacs* 65CHECK_WRKREF_SKIP= bin/xemacs*
74REPLACE_SH= etc/check_cygwin_setup.sh 66REPLACE_SH= etc/check_cygwin_setup.sh

cvs diff -r1.23 -r1.24 pkgsrc/editors/xemacs/distinfo (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/distinfo 2016/03/29 19:32:53 1.23
+++ pkgsrc/editors/xemacs/distinfo 2016/04/13 13:52:27 1.24
@@ -1,25 +1,17 @@ @@ -1,25 +1,17 @@
1$NetBSD: distinfo,v 1.23 2016/03/29 19:32:53 hauke Exp $ 1$NetBSD: distinfo,v 1.24 2016/04/13 13:52:27 hauke Exp $
2 2
3SHA1 (xemacs/xemacs-21.4.23.tar.gz) = b57bc569cf8d376c1e2443b6ea1f40d30271e9a6 3SHA1 (xemacs/xemacs-21.4.24.tar.gz) = e9ff7693adbef333b78f51b4dfdddd296bad0fcc
4RMD160 (xemacs/xemacs-21.4.23.tar.gz) = 9df94c576b546a4df30c29ed3b5609ee816ad43c 4RMD160 (xemacs/xemacs-21.4.24.tar.gz) = 0e01971c0dd47d9dd401d02e508edf241208969b
5SHA512 (xemacs/xemacs-21.4.23.tar.gz) = 5f7b71c937ebcd7c16e42da8e0ac3d9619f8adc9e3b70707942285dd3a0b440d49c6f5ce929ec4a2b6f1093c7940354087221eac193233025b31b8b4b2ff2aee 5SHA512 (xemacs/xemacs-21.4.24.tar.gz) = b7a88d5a4a9f74f74c2067ed60f7ea87ac8ccad5d9c2c1033ecf07f540250191f8fa5f9e6d23d9fedd0f2ab1eb5ea6c29a7665a310ec512d85e2e4f337447213
6Size (xemacs/xemacs-21.4.23.tar.gz) = 8537366 bytes 6Size (xemacs/xemacs-21.4.24.tar.gz) = 8543879 bytes
7SHA1 (patch-Makefile.in.in) = ac8e41c0057a3c3aed0f02dc282423eb48158b7c 7SHA1 (patch-Makefile.in.in) = b09f11e040eccf66eb29a32fb69a6acca26f3356
8SHA1 (patch-configure) = a48c1a92098c67d6f3e87c0c0e9917bc545d5155 8SHA1 (patch-lib-src_Makefile.in.in) = 5e11bf2904145804f521fed0ef956da94e5f21bd
9SHA1 (patch-configure.in) = 6ae72ac1746b42fc7f9a451579a5288f53a2b21c 9SHA1 (patch-lwlib_Makefile.in.in) = 97fcf6de4299dfd5ba7a9827ee88bc037df0491e
10SHA1 (patch-lib-src_Makefile.in.in) = 865662811be6a92d5022f76e8325d0b194942791 10SHA1 (patch-man_lispref_debugging.texi) = 4d6f99c17bc8e25e700a663f7eff147b72fd9a14
11SHA1 (patch-lib-src_vcdiff) = bd42965219395cdae24d63972c23b3578229f375 11SHA1 (patch-man_lispref_intro.texi) = 5837f8a0e8057649921cdbddd8e8329165ec1104
12SHA1 (patch-lwlib_Makefile.in.in) = 2de9b7c45d7f5337d25138e518cd303b3c721fab 12SHA1 (patch-man_xemacs_custom.texi) = e564906bced48b0a7c788c217c02eafe167fee59
13SHA1 (patch-man_custom.texi) = 516baec86e2d04facd94ce07e8cdd7390b1fcd79 13SHA1 (patch-src_Makefile.in.in) = 8d2c262983ff16197c99429e7d4cc80cd8371775
14SHA1 (patch-man_info.texi) = eb40eb9b6392c558db8d831e02b7693aaadb83b9 14SHA1 (patch-src_config.h.in) = 25ac897560abad51d83b58818e1dc2e77a8519e4
15SHA1 (patch-man_lispref_edebug-inc.texi) = 8e0cb2c29886ca7eb0c9d18d750e1455fc0c0fae 15SHA1 (patch-src_lisp.h) = ed1210a179f7dce537634e3129acc93f9c9b5966
16SHA1 (patch-man_lispref_packaging.texi) = 8a778def392f5654122cc633177668b9c3d565fd 16SHA1 (patch-src_unexelf.c) = 5147a3f41d1188aaf08b99e768d8b93e9e28d305
17SHA1 (patch-man_term.texi) = 47aff3a7678d315e5ec24ddce1e2418ccb988ad4 17SHA1 (patch-src_unexfreebsd.c) = 8bcbd103884430cec31c584bc489e4ab98d79448
18SHA1 (patch-man_widget.texi) = 54076e3a3a14a2b26a9dc352a5359c6475d1f5c4 
19SHA1 (patch-src_Makefile.in.in) = 28098f18870c34165b37fe11e84cbd6f5584bc63 
20SHA1 (patch-src_config.h.in) = 9a031ace4ca6f89dacbf599484d9fcd410d7841f 
21SHA1 (patch-src_dired.c) = 98f1c076c29385e3d5052cdb84d067f6cec8bc22 
22SHA1 (patch-src_glyphs-eimage.c) = ea561758dd454003eb3274508087fd302d9d9fd4 
23SHA1 (patch-src_lisp.h) = 60a0a77ffb67500e078e2cf53512350386741316 
24SHA1 (patch-src_unexelf.c) = 738d09ea8a3d10b609e474b0efb8806d3e302bf9 
25SHA1 (patch-src_unexfreebsd.c) = 89ce80b21fa5d6cf8be98762183c6a8b0d8f71dd 

File Deleted: pkgsrc/editors/xemacs/hacks.mk

cvs diff -r1.11 -r1.12 pkgsrc/editors/xemacs/options.mk (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/options.mk 2015/02/15 13:13:24 1.11
+++ pkgsrc/editors/xemacs/options.mk 2016/04/13 13:52:27 1.12
@@ -1,147 +1,76 @@ @@ -1,147 +1,76 @@
1# $NetBSD: options.mk,v 1.11 2015/02/15 13:13:24 hauke Exp $ 1# $NetBSD: options.mk,v 1.12 2016/04/13 13:52:27 hauke Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs 3PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
4PKG_SUPPORTED_OPTIONS= ldap xface canna x11 debug 4PKG_SUPPORTED_OPTIONS= ldap xface canna x11 debug
5PKG_OPTIONS_OPTIONAL_GROUPS= toolkit 
6PKG_OPTIONS_GROUP.toolkit= lucid 
7 
8# GUI configuration is a mess... only support "lucid" for now. 
9#PKG_OPTIONS_GROUP.toolkit+= gtk motif xaw 
10#PKG_OPTIONS_LEGACY_VARS+= USE_ATHENA:xaw 
11#PKG_OPTIONS_LEGACY_VARS+= USE_GTK:gtk 
12#PKG_OPTIONS_LEGACY_VARS+= USE_MOTIF:motif 
13 5
14PKG_SUGGESTED_OPTIONS= x11 6PKG_SUGGESTED_OPTIONS= x11
15 7
16.include "../../mk/bsd.options.mk" 8.include "../../mk/bsd.options.mk"
17 9
18### 10###
19### Any of the "toolkit" options implies "x11". 11### Support drawing pretty X11 Lucid widgets
20### 
21.if !empty(PKG_OPTIONS:Mgtk) || !empty(PKG_OPTIONS:Mlucid) || \ 
22 !empty(PKG_OPTIONS:Mmotif) || !empty(PKG_OPTIONS:Mxaw) 
23. if empty(PKG_OPTIONS:Mx11) 
24PKG_OPTIONS+= x11 
25. endif 
26.endif 
27 
28### 
29### Default to using the Lucid X11 toolkit if none is specified. 
30### 
31.if !empty(PKG_OPTIONS:Mx11) 
32. if empty(PKG_OPTIONS:Mgtk) && empty(PKG_OPTIONS:Mlucid) && \ 
33 empty(PKG_OPTIONS:Mmotif) && empty(PKG_OPTIONS:Mxaw) 
34PKG_OPTIONS+= lucid 
35. endif 
36.endif 
37 
38.if !empty(PKG_OPTIONS:Mldap) 
39CONFIGURE_ARGS+= --with-ldap 
40. include "../../databases/openldap-client/buildlink3.mk" 
41.else 
42CONFIGURE_ARGS+= --without-ldap 
43.endif 
44 
45.if !empty(PKG_OPTIONS:Mxface) 
46CONFIGURE_ARGS+= --with-xface 
47. include "../../mail/faces/buildlink3.mk" 
48.else 
49CONFIGURE_ARGS+= --without-xface 
50.endif 
51 
52PLIST_VARS+= canna 
53.if !empty(PKG_OPTIONS:Mcanna) 
54. include "../../inputmethod/canna-lib/buildlink3.mk" 
55CONFIGURE_ARGS+= --with-canna 
56PLIST.canna= yes 
57.else 
58CONFIGURE_ARGS+= --without-canna 
59.endif 
60 
61### 
62### Support drawing pretty X11 widgets. 
63### 12###
64PLIST_VARS+= x11 13PLIST_VARS+= x11
65.if !empty(PKG_OPTIONS:Mx11) 14.if !empty(PKG_OPTIONS:Mx11)
66. include "../../mk/jpeg.buildlink3.mk" 15. include "../../mk/jpeg.buildlink3.mk"
67. include "../../graphics/png/buildlink3.mk" 16. include "../../graphics/png/buildlink3.mk"
68. include "../../graphics/tiff/buildlink3.mk" 17. include "../../graphics/tiff/buildlink3.mk"
69. include "../../x11/libXpm/buildlink3.mk" 18. include "../../x11/libXpm/buildlink3.mk"
 19. include "../../mk/xaw.buildlink3.mk"
70. include "../../x11/xbitmaps/buildlink3.mk" 20. include "../../x11/xbitmaps/buildlink3.mk"
71PLIST.x11= yes 21PLIST.x11= yes
72CONFIGURE_ARGS+= --with-x 22CONFIGURE_ARGS+= --with-x
73CONFIGURE_ARGS+= --with-jpeg 23CONFIGURE_ARGS+= --with-jpeg
74CONFIGURE_ARGS+= --with-png 24CONFIGURE_ARGS+= --with-png
75CONFIGURE_ARGS+= --with-tiff 25CONFIGURE_ARGS+= --with-tiff
76CONFIGURE_ARGS+= --with-xpm 26CONFIGURE_ARGS+= --with-xpm
77CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${X11BASE}/include 27CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${X11BASE}/include
78CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib:${X11BASE}/lib 28CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib:${X11BASE}/lib
79CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib:${X11BASE}/lib 29CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib:${X11BASE}/lib
 30# Lucid widgets
 31CONFIGURE_ARGS+= --with-toolbars=yes
 32CONFIGURE_ARGS+= --with-menubars=yes
 33CONFIGURE_ARGS+= --with-scrollbars=lucid
 34CONFIGURE_ARGS+= --with-dialogs=lucid
 35CONFIGURE_ARGS+= --with-widgets=lucid
 36CONFIGURE_ARGS+= --with-athena=xaw
 37CONFIGURE_ARGS+= --with-xim=xlib
80.else 38.else
81CONFIGURE_ARGS+= --without-x 39CONFIGURE_ARGS+= --without-x
82CONFIGURE_ARGS+= --without-jpeg 40CONFIGURE_ARGS+= --without-jpeg
83CONFIGURE_ARGS+= --without-png 41CONFIGURE_ARGS+= --without-png
84CONFIGURE_ARGS+= --without-tiff 42CONFIGURE_ARGS+= --without-tiff
85CONFIGURE_ARGS+= --without-xpm 43CONFIGURE_ARGS+= --without-xpm
86CONFIGURE_ARGS+= --site-includes=${PREFIX}/include 44CONFIGURE_ARGS+= --site-includes=${PREFIX}/include
87CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib 45CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib
88CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib 46CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib
89.endif 47.endif
90 48
91### 49.if !empty(PKG_OPTIONS:Mldap)
92### Support using GTK X11 widgets. 50CONFIGURE_ARGS+= --with-ldap
93### 51. include "../../databases/openldap-client/buildlink3.mk"
94.if !empty(PKG_OPTIONS:Mgtk) 52.else
95. include "../../x11/gtk/buildlink3.mk" 53CONFIGURE_ARGS+= --without-ldap
96CONFIGURE_ARGS+= --with-gtk 
97CONFIGURE_ARGS+= --with-menubars=yes 
98CONFIGURE_ARGS+= --with-scrollbars=yes 
99CONFIGURE_ARGS+= --with-dialogs=yes 
100CONFIGURE_ARGS+= --with-widgets=yes 
101CONFIGURE_ARGS+= --with-xim=yes 
102.endif 
103 
104### 
105### Support using Lucid X11 widgets. 
106### 
107.if !empty(PKG_OPTIONS:Mlucid) 
108. include "../../mk/xaw.buildlink3.mk" 
109CONFIGURE_ARGS+= --with-toolbars=yes 
110CONFIGURE_ARGS+= --with-menubars=yes 
111CONFIGURE_ARGS+= --with-scrollbars=lucid 
112CONFIGURE_ARGS+= --with-dialogs=lucid 
113CONFIGURE_ARGS+= --with-widgets=lucid 
114CONFIGURE_ARGS+= --with-athena=xaw 
115CONFIGURE_ARGS+= --with-xim=xlib 
116.endif 54.endif
117 55
118### 56.if !empty(PKG_OPTIONS:Mxface)
119### Support using Motif X11 widgets. 57CONFIGURE_ARGS+= --with-xface
120### 58. include "../../mail/faces/buildlink3.mk"
121.if !empty(PKG_OPTIONS:Mmotif) 59.else
122. include "../../mk/motif.buildlink3.mk" 60CONFIGURE_ARGS+= --without-xface
123CONFIGURE_ARGS+= --with-menubars=motif 
124CONFIGURE_ARGS+= --with-scrollbars=motif 
125CONFIGURE_ARGS+= --with-dialogs=motif 
126CONFIGURE_ARGS+= --with-widgets=motif 
127CONFIGURE_ARGS+= --with-xim=motif 
128.endif 61.endif
129 62
130### 63PLIST_VARS+= canna
131### Support using Athena X11 widgets. 64.if !empty(PKG_OPTIONS:Mcanna)
132### 65. include "../../inputmethod/canna-lib/buildlink3.mk"
133.if !empty(PKG_OPTIONS:Mxaw) 66CONFIGURE_ARGS+= --with-canna
134. include "../../mk/xaw.buildlink3.mk" 67PLIST.canna= yes
135CONFIGURE_ARGS+= --with-menubars=athena 68.else
136CONFIGURE_ARGS+= --with-scrollbars=athena 69CONFIGURE_ARGS+= --without-canna
137CONFIGURE_ARGS+= --with-dialogs=athena 
138CONFIGURE_ARGS+= --with-widgets=athena 
139CONFIGURE_ARGS+= --with-athena=xaw 
140CONFIGURE_ARGS+= --with-xim=xlib 
141.endif 70.endif
142 71
143PLIST_VARS+= debug 72PLIST_VARS+= debug
144.if !empty(PKG_OPTIONS:Mdebug) 73.if !empty(PKG_OPTIONS:Mdebug)
145CFLAGS+= -g3 74CFLAGS+= -g3
146INSTALL_UNSTRIPPED= yes 75INSTALL_UNSTRIPPED= yes
147.endif 76.endif

cvs diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-Makefile.in.in (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/patches/patch-Makefile.in.in 2015/02/04 09:19:20 1.1
+++ pkgsrc/editors/xemacs/patches/patch-Makefile.in.in 2016/04/13 13:52:27 1.2
@@ -1,14 +1,18 @@ @@ -1,14 +1,18 @@
1$NetBSD: patch-Makefile.in.in,v 1.1 2015/02/04 09:19:20 hauke Exp $ 1$NetBSD: patch-Makefile.in.in,v 1.2 2016/04/13 13:52:27 hauke Exp $
 2
 3Avoid picking up local config when checking features
 4
 5Install {c,e}tags man pages with xemada prefix
2 6
3--- Makefile.in.in.orig 2015-01-29 15:04:29.000000000 +0000 7--- Makefile.in.in.orig 2015-01-29 15:04:29.000000000 +0000
4+++ Makefile.in.in 8+++ Makefile.in.in
5@@ -407,7 +407,7 @@ lwlib/config.h: ${srcdir}/lwlib/config.h 9@@ -407,7 +407,7 @@ lwlib/config.h: ${srcdir}/lwlib/config.h
6 ## all. --cet 10 ## all. --cet
7  11
8 check-features: all 12 check-features: all
9- ${blddir}/src/${PROGNAME} -batch -l check-features.el 13- ${blddir}/src/${PROGNAME} -batch -l check-features.el
10+ ${blddir}/src/${PROGNAME} -vanilla -batch -l check-features.el 14+ ${blddir}/src/${PROGNAME} -vanilla -batch -l check-features.el
11  15
12 install-only: ${MAKE_SUBDIR} check-features install-arch-dep install-arch-indep 16 install-only: ${MAKE_SUBDIR} check-features install-arch-dep install-arch-indep
13  17
14@@ -495,8 +495,10 @@ install-arch-indep: mkdir info 18@@ -495,8 +495,10 @@ install-arch-indep: mkdir info

cvs diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-lib-src_Makefile.in.in (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/patches/patch-lib-src_Makefile.in.in 2015/02/04 09:19:20 1.1
+++ pkgsrc/editors/xemacs/patches/patch-lib-src_Makefile.in.in 2016/04/13 13:52:27 1.2
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1$NetBSD: patch-lib-src_Makefile.in.in,v 1.1 2015/02/04 09:19:20 hauke Exp $ 1$NetBSD: patch-lib-src_Makefile.in.in,v 1.2 2016/04/13 13:52:27 hauke Exp $
 2
 3Install selected files, using bsd.pkg.mk functionality
2 4
3--- lib-src/Makefile.in.in.orig 2015-01-29 15:04:29.000000000 +0000 5--- lib-src/Makefile.in.in.orig 2015-01-29 15:04:29.000000000 +0000
4+++ lib-src/Makefile.in.in 6+++ lib-src/Makefile.in.in
5@@ -237,7 +237,7 @@ do-blessmail: $(blessmail) 7@@ -237,7 +237,7 @@ do-blessmail: $(blessmail)
6  8
7 ## Install the internal utilities. Until they are installed, we can 9 ## Install the internal utilities. Until they are installed, we can
8 ## just run them directly from lib-src. 10 ## just run them directly from lib-src.
9-${archlibdir}: all 11-${archlibdir}: all
10+install-archlibdir: all 12+install-archlibdir: all
11 @echo; echo "Installing utilities run internally by XEmacs." 13 @echo; echo "Installing utilities run internally by XEmacs."
12 ./make-path ${archlibdir} 14 ./make-path ${archlibdir}
13 if test "`(cd ${archlibdir} && $(pwd))`" != "`$(pwd)`"; then \ 15 if test "`(cd ${archlibdir} && $(pwd))`" != "`$(pwd)`"; then \
14@@ -248,17 +248,23 @@ ${archlibdir}: all 16@@ -248,17 +248,23 @@ ${archlibdir}: all

cvs diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-lwlib_Makefile.in.in (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/patches/patch-lwlib_Makefile.in.in 2015/02/04 09:19:20 1.1
+++ pkgsrc/editors/xemacs/patches/patch-lwlib_Makefile.in.in 2016/04/13 13:52:27 1.2
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1$NetBSD: patch-lwlib_Makefile.in.in,v 1.1 2015/02/04 09:19:20 hauke Exp $ 1$NetBSD: patch-lwlib_Makefile.in.in,v 1.2 2016/04/13 13:52:27 hauke Exp $
 2
 3SunOS 5 bmake / gmake fixes
2 4
3--- lwlib/Makefile.in.in.orig 2015-01-29 15:04:29.000000000 +0000 5--- lwlib/Makefile.in.in.orig 2015-01-29 15:04:29.000000000 +0000
4+++ lwlib/Makefile.in.in 6+++ lwlib/Makefile.in.in
5@@ -59,9 +59,9 @@ cflags = $(CFLAGS) $(cppflags) 7@@ -59,9 +59,9 @@ cflags = $(CFLAGS) $(cppflags)
6  8
7 #ifdef SOLARIS2 9 #ifdef SOLARIS2
8 %.o : %.c 10 %.o : %.c
9-#else 11-#else
10-.c.o: 12-.c.o:
11+ $(CC) -c $(cflags) $< 13+ $(CC) -c $(cflags) $<
12 #endif 14 #endif
13+.c.o: 15+.c.o:
14 $(CC) -c $(cflags) $< 16 $(CC) -c $(cflags) $<

cvs diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-src_Makefile.in.in (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/patches/patch-src_Makefile.in.in 2015/02/04 09:19:20 1.1
+++ pkgsrc/editors/xemacs/patches/patch-src_Makefile.in.in 2016/04/13 13:52:27 1.2
@@ -1,14 +1,23 @@ @@ -1,14 +1,23 @@
1$NetBSD: patch-src_Makefile.in.in,v 1.1 2015/02/04 09:19:20 hauke Exp $ 1$NetBSD: patch-src_Makefile.in.in,v 1.2 2016/04/13 13:52:27 hauke Exp $
 2
 3Directly substitute the local value of etcdir (``../etc/'')
 4into src/Makefile.in.in. This allows for overriding etcdir via
 5INSTALL_MAKE_FLAGS at install-time so that destdir-style installation
 6will work.
 7
 8liboss support
 9
 10SunOS 5 bmake / gmake fixes
2 11
3--- src/Makefile.in.in.orig 2015-01-29 15:04:29.000000000 +0000 12--- src/Makefile.in.in.orig 2015-01-29 15:04:29.000000000 +0000
4+++ src/Makefile.in.in 13+++ src/Makefile.in.in
5@@ -72,8 +72,8 @@ CPPFLAGS=@CPPFLAGS@ 14@@ -72,8 +72,8 @@ CPPFLAGS=@CPPFLAGS@
6 LDFLAGS=@LDFLAGS@ 15 LDFLAGS=@LDFLAGS@
7  16
8 c_switch_all=@c_switch_all@ 17 c_switch_all=@c_switch_all@
9-ld_switch_all=@ld_switch_all@ 18-ld_switch_all=@ld_switch_all@
10-ld_libs_all=@ld_libs_all@ 19-ld_libs_all=@ld_libs_all@
11+ld_switch_all=@ld_switch_all@ @LDFLAGS@ 20+ld_switch_all=@ld_switch_all@ @LDFLAGS@
12+ld_libs_all=@ld_libs_all@ @LIBOSSAUDIO@ 21+ld_libs_all=@ld_libs_all@ @LIBOSSAUDIO@
13 ld_dynamic_link_flags=@ld_dynamic_link_flags@ 22 ld_dynamic_link_flags=@ld_dynamic_link_flags@
14  23

cvs diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-src_unexelf.c (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/patches/patch-src_unexelf.c 2015/02/04 09:19:20 1.1
+++ pkgsrc/editors/xemacs/patches/patch-src_unexelf.c 2016/04/13 13:52:27 1.2
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1$NetBSD: patch-src_unexelf.c,v 1.1 2015/02/04 09:19:20 hauke Exp $ 1$NetBSD: patch-src_unexelf.c,v 1.2 2016/04/13 13:52:27 hauke Exp $
 2
 3Build on NetBSD/alpha
2 4
3--- src/unexelf.c.orig 2015-01-29 15:04:29.000000000 +0000 5--- src/unexelf.c.orig 2015-01-29 15:04:29.000000000 +0000
4+++ src/unexelf.c 6+++ src/unexelf.c
5@@ -494,7 +494,7 @@ typedef struct { 7@@ -494,7 +494,7 @@ typedef struct {
6 # define ElfBitsW(bits, type) Elf/**/bits/**/_/**/type 8 # define ElfBitsW(bits, type) Elf/**/bits/**/_/**/type
7 # endif 9 # endif
8 # ifndef ELFSIZE 10 # ifndef ELFSIZE
9-# ifdef _LP64 11-# ifdef _LP64
10+# if defined(_LP64) || defined(__alpha__) 12+# if defined(_LP64) || defined(__alpha__)
11 # define ELFSIZE 64 13 # define ELFSIZE 64
12 # else 14 # else
13 # define ELFSIZE 32 15 # define ELFSIZE 32
14@@ -970,7 +970,7 @@ unexec (char *new_name, char *old_name,  16@@ -970,7 +970,7 @@ unexec (char *new_name, char *old_name,

cvs diff -r1.1 -r1.2 pkgsrc/editors/xemacs/patches/patch-src_unexfreebsd.c (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/patches/patch-src_unexfreebsd.c 2015/02/04 09:19:20 1.1
+++ pkgsrc/editors/xemacs/patches/patch-src_unexfreebsd.c 2016/04/13 13:52:27 1.2
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
1$NetBSD: patch-src_unexfreebsd.c,v 1.1 2015/02/04 09:19:20 hauke Exp $ 1$NetBSD: patch-src_unexfreebsd.c,v 1.2 2016/04/13 13:52:27 hauke Exp $
 2
 3Build on NetBSD/arm*
2 4
3--- src/unexfreebsd.c.orig 2015-01-29 15:04:29.000000000 +0000 5--- src/unexfreebsd.c.orig 2015-01-29 15:04:29.000000000 +0000
4+++ src/unexfreebsd.c 6+++ src/unexfreebsd.c
5@@ -289,7 +289,7 @@ copy_relocation_site (struct relocation_ 7@@ -289,7 +289,7 @@ copy_relocation_site (struct relocation_
6 /* We can get relocation sites in the bss region, for objects whose 8 /* We can get relocation sites in the bss region, for objects whose
7 contents are copied from a shared library. We don't need or want 9 contents are copied from a shared library. We don't need or want
8 to restore these at present. */ 10 to restore these at present. */
9-#ifndef sparc 11-#ifndef sparc
10+#if !defined(sparc) && !defined(__arm__) 12+#if !defined(sparc) && !defined(__arm__)
11 if (ri->r_copy) 13 if (ri->r_copy)
12 return; 14 return;
13 #else 15 #else

File Deleted: pkgsrc/editors/xemacs/patches/patch-configure

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-configure.in

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-lib-src_vcdiff

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-man_custom.texi

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-man_info.texi

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-man_lispref_edebug-inc.texi

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-man_lispref_packaging.texi

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-man_term.texi

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-man_widget.texi

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-src_dired.c

File Added: pkgsrc/editors/xemacs/patches/patch-man_lispref_debugging.texi
$NetBSD: patch-man_lispref_debugging.texi,v 1.1 2016/04/13 13:52:27 hauke Exp $

Fix makeinfo 4 build errors.

--- man/lispref/debugging.texi.orig	2015-03-25 11:25:33.000000000 +0000
+++ man/lispref/debugging.texi
@@ -725,7 +725,7 @@ the old indentation actually fit the int
 and you have put back those parentheses, @kbd{C-M-q} should not change
 anything.
 
-@node Compilation Errors,  , Syntax Errors, Debugging
+@node Compilation Errors, Edebug , Syntax Errors, Debugging
 @section Debugging Problems in Compilation
 
   When an error happens during byte compilation, it is normally due to

File Added: pkgsrc/editors/xemacs/patches/patch-man_lispref_intro.texi
$NetBSD: patch-man_lispref_intro.texi,v 1.1 2016/04/13 13:52:27 hauke Exp $

Fix makeinfo 4 build errors.

--- man/lispref/intro.texi.orig	2015-03-25 11:25:33.000000000 +0000
+++ man/lispref/intro.texi
@@ -4,7 +4,7 @@
 @c See the file lispref.texi for copying conditions.
 @setfilename ../../info/intro.info
 
-@node Copying, Introduction
+@node Copying, Introduction, Top, Top
 @unnumbered GNU GENERAL PUBLIC LICENSE
 @center Version 2, June 1991
 
@@ -400,7 +400,7 @@ consider it more useful to permit linkin
 library.  If this is what you want to do, use the GNU Library General
 Public License instead of this License.
 
-@node Introduction,  , Copying
+@node Introduction, Packaging , Copying, Top
 @chapter Introduction
 
   Most of the XEmacs text editor is written in the programming

File Added: pkgsrc/editors/xemacs/patches/patch-man_xemacs_custom.texi
$NetBSD: patch-man_xemacs_custom.texi,v 1.1 2016/04/13 13:52:27 hauke Exp $

Fix makeinfo 4 build errors.

--- man/xemacs/custom.texi.orig	2015-03-25 11:25:33.000000000 +0000
+++ man/xemacs/custom.texi
@@ -35,7 +35,7 @@ file to do the customization in each ses
                      behavior of XEmacs.
 @end menu
 
-@node Minor Modes, , Customization, Customization
+@node Minor Modes, Variables, Customization, Customization
 @section Minor Modes
 @cindex minor modes
 

cvs diff -r1.2 -r1.3 pkgsrc/editors/xemacs/patches/patch-src_config.h.in (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/patches/patch-src_config.h.in 2015/02/04 09:19:20 1.2
+++ pkgsrc/editors/xemacs/patches/patch-src_config.h.in 2016/04/13 13:52:27 1.3
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
1$NetBSD: patch-src_config.h.in,v 1.2 2015/02/04 09:19:20 hauke Exp $ 1$NetBSD: patch-src_config.h.in,v 1.3 2016/04/13 13:52:27 hauke Exp $
 2
 3Always use static inline to fix build with C99 compilers.
2 4
3--- src/config.h.in.orig 2015-01-29 15:04:29.000000000 +0000 5--- src/config.h.in.orig 2015-01-29 15:04:29.000000000 +0000
4+++ src/config.h.in 6+++ src/config.h.in
5@@ -853,7 +853,7 @@ on various systems. */ 7@@ -853,7 +853,7 @@ on various systems. */
6 /* Does the keyword `inline' exist? */ 8 /* Does the keyword `inline' exist? */
7 #undef inline 9 #undef inline
8  10
9-#if defined (__cplusplus) || ! defined (__GNUC__) 11-#if defined (__cplusplus) || ! defined (__GNUC__)
10+#if 1 12+#if 1
11 # define INLINE_HEADER inline static 13 # define INLINE_HEADER inline static
12 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) 14 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
13 # define INLINE_HEADER inline 15 # define INLINE_HEADER inline

File Deleted: pkgsrc/editors/xemacs/patches/Attic/patch-src_glyphs-eimage.c

cvs diff -r1.4 -r1.5 pkgsrc/editors/xemacs/patches/patch-src_lisp.h (expand / switch to unified diff)

--- pkgsrc/editors/xemacs/patches/patch-src_lisp.h 2016/03/29 19:32:53 1.4
+++ pkgsrc/editors/xemacs/patches/patch-src_lisp.h 2016/04/13 13:52:27 1.5
@@ -1,33 +1,22 @@ @@ -1,33 +1,22 @@
1$NetBSD: patch-src_lisp.h,v 1.4 2016/03/29 19:32:53 hauke Exp $ 1$NetBSD: patch-src_lisp.h,v 1.5 2016/04/13 13:52:27 hauke Exp $
2 2
3Don't try to define max_align_t in C11 or C++11 mode. 3Don't try to define max_align_t in C11 or C++11 mode.
4 4
5Fix CVE-2009-2688, via <https://bugzilla.redhat.com/show_bug.cgi?id=511994> 
6 
7--- src/lisp.h.orig 2015-01-29 15:04:29.000000000 +0000 5--- src/lisp.h.orig 2015-01-29 15:04:29.000000000 +0000
8+++ src/lisp.h 6+++ src/lisp.h
9@@ -195,6 +195,7 @@ void xfree (void *); 7@@ -195,6 +195,7 @@ void xfree (void *);
10  8
11 /* No type has a greater alignment requirement than max_align_t. 9 /* No type has a greater alignment requirement than max_align_t.
12 (except perhaps for types we don't use, like long double) */ 10 (except perhaps for types we don't use, like long double) */
13+#if (__STDC_VERSION__ - 0) < 201112L && (__cplusplus - 0) < 201103L 11+#if (__STDC_VERSION__ - 0) < 201112L && (__cplusplus - 0) < 201103L
14 typedef union 12 typedef union
15 { 13 {
16 struct { long l; } l; 14 struct { long l; } l;
17@@ -202,6 +203,7 @@ typedef union 15@@ -202,6 +203,7 @@ typedef union
18 struct { void (*f)(void); } f; 16 struct { void (*f)(void); } f;
19 struct { double d; } d; 17 struct { double d; } d;
20 } max_align_t; 18 } max_align_t;
21+#endif 19+#endif
22  20
23 #ifndef ALIGNOF 21 #ifndef ALIGNOF
24 # if defined (__GNUC__) && (__GNUC__ >= 2) 22 # if defined (__GNUC__) && (__GNUC__ >= 2)
25@@ -265,6 +267,8 @@ void assert_failed (const char *, int, c 
26 /*#define REGISTER register*/ 
27 /*#endif*/ 
28  
29+/* Mitigating CVE-2009-2688, see glyphs-eimage.c */ 
30+#define UINT_64_BIT uint64_t 
31  
32 /* EMACS_INT is the underlying integral type into which a Lisp_Object must fit. 
33 In particular, it must be large enough to contain a pointer.