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 compatiblediff -r1.115 -r1.116 pkgsrc/editors/xemacs/Makefile
(hauke)
@@ -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 | |||
3 | PKGNAME?= ${DISTNAME} | 3 | PKGNAME?= ${DISTNAME} | |
4 | COMMENT?= XEmacs text editor version 21 | 4 | COMMENT?= XEmacs text editor version 21 | |
5 | 5 | |||
6 | DISTNAME= xemacs-21.4.23 | 6 | DISTNAME= xemacs-21.4.24 | |
7 | PKGREVISION= 3 | 7 | #PKGREVISION= 1 | |
8 | CATEGORIES= editors | 8 | CATEGORIES= editors | |
9 | MASTER_SITES= ${MASTER_SITE_XEMACS:=${DISTNAME:C/[.][^.]*$//}/} | 9 | MASTER_SITES= ${MASTER_SITE_XEMACS:=${DISTNAME:C/[.][^.]*$//}/} | |
10 | 10 | |||
11 | MAINTAINER= hauke@NetBSD.org | 11 | MAINTAINER= hauke@NetBSD.org | |
12 | HOMEPAGE= http://www.xemacs.org/ | 12 | HOMEPAGE= http://www.xemacs.org/ | |
13 | LICENSE= gnu-gpl-v2 | 13 | LICENSE= gnu-gpl-v2 | |
14 | 14 | |||
15 | CONFLICTS+= gnuserv-[0-9]* | 15 | CONFLICTS+= gnuserv-[0-9]* | |
16 | CONFLICTS+= xemacs-[0-9]* | 16 | CONFLICTS+= xemacs-[0-9]* | |
17 | CONFLICTS+= xemacs-nox11-[0-9]* | 17 | CONFLICTS+= xemacs-nox11-[0-9]* | |
18 | 18 | |||
19 | BROKEN_ON_PLATFORM= *-*-mips* # fails purespace dumping | |||
20 | ||||
21 | USE_TOOLS+= makeinfo | 19 | USE_TOOLS+= makeinfo | |
22 | 20 | |||
23 | HAS_CONFIGURE= yes | 21 | HAS_CONFIGURE= yes | |
24 | 22 | |||
25 | DIST_SUBDIR= xemacs | 23 | DIST_SUBDIR= xemacs | |
26 | PLIST_SUBST+= DISTNAME=${DISTNAME:Q} | 24 | PLIST_SUBST+= DISTNAME=${DISTNAME:Q} | |
27 | FILES_SUBST+= DISTNAME=${DISTNAME:Q} | 25 | FILES_SUBST+= DISTNAME=${DISTNAME:Q} | |
28 | MESSAGE_SUBST+= DISTNAME=${DISTNAME:Q} | 26 | MESSAGE_SUBST+= DISTNAME=${DISTNAME:Q} | |
29 | INFO_FILES= yes | 27 | INFO_FILES= yes | |
30 | 28 | |||
31 | .if defined(MANZ) | 29 | .if defined(MANZ) | |
32 | PLIST_SUBST+= ELSUFX='.gz' | 30 | PLIST_SUBST+= ELSUFX='.gz' | |
33 | .else | 31 | .else | |
34 | PLIST_SUBST+= ELSUFX='' | 32 | PLIST_SUBST+= ELSUFX='' | |
35 | .endif | 33 | .endif | |
36 | 34 | |||
37 | .include "options.mk" | 35 | .include "options.mk" | |
38 | 36 | |||
39 | CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} | 37 | CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} | |
40 | CONFIGURE_ARGS+= --prefix=${PREFIX:Q} | 38 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
41 | CONFIGURE_ARGS+= --mandir=${PREFIX:Q}/${PKGMANDIR:Q}/man1 | 39 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}/man1 | |
40 | CONFIGURE_ARGS+= --infopath=${PREFIX}/${PKGINFODIR} | |||
42 | CONFIGURE_ARGS+= --with-clash-detection | 41 | CONFIGURE_ARGS+= --with-clash-detection | |
43 | CONFIGURE_ARGS+= --with-mule=yes | 42 | CONFIGURE_ARGS+= --with-mule=yes | |
44 | CONFIGURE_ARGS+= --with-msw=no | 43 | CONFIGURE_ARGS+= --with-msw=no | |
45 | CONFIGURE_ARGS+= --pdump | 44 | CONFIGURE_ARGS+= --pdump | |
46 | CFLAGS+= -Dunix | 45 | CFLAGS+= -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) | |
52 | CPPFLAGS+= -DTERMINFO | 51 | CPPFLAGS+= -DTERMINFO | |
53 | .endif | 52 | .endif | |
54 | 53 | |||
55 | .if ${X11_TYPE} != "modular" | |||
56 | INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR} | |||
57 | .else | |||
58 | INFOPATH= ${PREFIX}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR} | |||
59 | .endif | |||
60 | CONFIGURE_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) | |
65 | CONFIGURE_ARGS+= --with_sound=none | 57 | CONFIGURE_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) | |
70 | CPPFLAGS+= -DDFLY_CRT_USRLIB | 62 | CPPFLAGS+= -DDFLY_CRT_USRLIB | |
71 | .endif | 63 | .endif | |
72 | 64 | |||
73 | CHECK_WRKREF_SKIP= bin/xemacs* | 65 | CHECK_WRKREF_SKIP= bin/xemacs* | |
74 | REPLACE_SH= etc/check_cygwin_setup.sh | 66 | REPLACE_SH= etc/check_cygwin_setup.sh |
@@ -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 | |||
3 | SHA1 (xemacs/xemacs-21.4.23.tar.gz) = b57bc569cf8d376c1e2443b6ea1f40d30271e9a6 | 3 | SHA1 (xemacs/xemacs-21.4.24.tar.gz) = e9ff7693adbef333b78f51b4dfdddd296bad0fcc | |
4 | RMD160 (xemacs/xemacs-21.4.23.tar.gz) = 9df94c576b546a4df30c29ed3b5609ee816ad43c | 4 | RMD160 (xemacs/xemacs-21.4.24.tar.gz) = 0e01971c0dd47d9dd401d02e508edf241208969b | |
5 | SHA512 (xemacs/xemacs-21.4.23.tar.gz) = 5f7b71c937ebcd7c16e42da8e0ac3d9619f8adc9e3b70707942285dd3a0b440d49c6f5ce929ec4a2b6f1093c7940354087221eac193233025b31b8b4b2ff2aee | 5 | SHA512 (xemacs/xemacs-21.4.24.tar.gz) = b7a88d5a4a9f74f74c2067ed60f7ea87ac8ccad5d9c2c1033ecf07f540250191f8fa5f9e6d23d9fedd0f2ab1eb5ea6c29a7665a310ec512d85e2e4f337447213 | |
6 | Size (xemacs/xemacs-21.4.23.tar.gz) = 8537366 bytes | 6 | Size (xemacs/xemacs-21.4.24.tar.gz) = 8543879 bytes | |
7 | SHA1 (patch-Makefile.in.in) = ac8e41c0057a3c3aed0f02dc282423eb48158b7c | 7 | SHA1 (patch-Makefile.in.in) = b09f11e040eccf66eb29a32fb69a6acca26f3356 | |
8 | SHA1 (patch-configure) = a48c1a92098c67d6f3e87c0c0e9917bc545d5155 | 8 | SHA1 (patch-lib-src_Makefile.in.in) = 5e11bf2904145804f521fed0ef956da94e5f21bd | |
9 | SHA1 (patch-configure.in) = 6ae72ac1746b42fc7f9a451579a5288f53a2b21c | 9 | SHA1 (patch-lwlib_Makefile.in.in) = 97fcf6de4299dfd5ba7a9827ee88bc037df0491e | |
10 | SHA1 (patch-lib-src_Makefile.in.in) = 865662811be6a92d5022f76e8325d0b194942791 | 10 | SHA1 (patch-man_lispref_debugging.texi) = 4d6f99c17bc8e25e700a663f7eff147b72fd9a14 | |
11 | SHA1 (patch-lib-src_vcdiff) = bd42965219395cdae24d63972c23b3578229f375 | 11 | SHA1 (patch-man_lispref_intro.texi) = 5837f8a0e8057649921cdbddd8e8329165ec1104 | |
12 | SHA1 (patch-lwlib_Makefile.in.in) = 2de9b7c45d7f5337d25138e518cd303b3c721fab | 12 | SHA1 (patch-man_xemacs_custom.texi) = e564906bced48b0a7c788c217c02eafe167fee59 | |
13 | SHA1 (patch-man_custom.texi) = 516baec86e2d04facd94ce07e8cdd7390b1fcd79 | 13 | SHA1 (patch-src_Makefile.in.in) = 8d2c262983ff16197c99429e7d4cc80cd8371775 | |
14 | SHA1 (patch-man_info.texi) = eb40eb9b6392c558db8d831e02b7693aaadb83b9 | 14 | SHA1 (patch-src_config.h.in) = 25ac897560abad51d83b58818e1dc2e77a8519e4 | |
15 | SHA1 (patch-man_lispref_edebug-inc.texi) = 8e0cb2c29886ca7eb0c9d18d750e1455fc0c0fae | 15 | SHA1 (patch-src_lisp.h) = ed1210a179f7dce537634e3129acc93f9c9b5966 | |
16 | SHA1 (patch-man_lispref_packaging.texi) = 8a778def392f5654122cc633177668b9c3d565fd | 16 | SHA1 (patch-src_unexelf.c) = 5147a3f41d1188aaf08b99e768d8b93e9e28d305 | |
17 | SHA1 (patch-man_term.texi) = 47aff3a7678d315e5ec24ddce1e2418ccb988ad4 | 17 | SHA1 (patch-src_unexfreebsd.c) = 8bcbd103884430cec31c584bc489e4ab98d79448 | |
18 | SHA1 (patch-man_widget.texi) = 54076e3a3a14a2b26a9dc352a5359c6475d1f5c4 | |||
19 | SHA1 (patch-src_Makefile.in.in) = 28098f18870c34165b37fe11e84cbd6f5584bc63 | |||
20 | SHA1 (patch-src_config.h.in) = 9a031ace4ca6f89dacbf599484d9fcd410d7841f | |||
21 | SHA1 (patch-src_dired.c) = 98f1c076c29385e3d5052cdb84d067f6cec8bc22 | |||
22 | SHA1 (patch-src_glyphs-eimage.c) = ea561758dd454003eb3274508087fd302d9d9fd4 | |||
23 | SHA1 (patch-src_lisp.h) = 60a0a77ffb67500e078e2cf53512350386741316 | |||
24 | SHA1 (patch-src_unexelf.c) = 738d09ea8a3d10b609e474b0efb8806d3e302bf9 | |||
25 | SHA1 (patch-src_unexfreebsd.c) = 89ce80b21fa5d6cf8be98762183c6a8b0d8f71dd |
@@ -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 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs | |
4 | PKG_SUPPORTED_OPTIONS= ldap xface canna x11 debug | 4 | PKG_SUPPORTED_OPTIONS= ldap xface canna x11 debug | |
5 | PKG_OPTIONS_OPTIONAL_GROUPS= toolkit | |||
6 | PKG_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 | |||
14 | PKG_SUGGESTED_OPTIONS= x11 | 6 | PKG_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) | |||
24 | PKG_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) | |||
34 | PKG_OPTIONS+= lucid | |||
35 | . endif | |||
36 | .endif | |||
37 | ||||
38 | .if !empty(PKG_OPTIONS:Mldap) | |||
39 | CONFIGURE_ARGS+= --with-ldap | |||
40 | . include "../../databases/openldap-client/buildlink3.mk" | |||
41 | .else | |||
42 | CONFIGURE_ARGS+= --without-ldap | |||
43 | .endif | |||
44 | ||||
45 | .if !empty(PKG_OPTIONS:Mxface) | |||
46 | CONFIGURE_ARGS+= --with-xface | |||
47 | . include "../../mail/faces/buildlink3.mk" | |||
48 | .else | |||
49 | CONFIGURE_ARGS+= --without-xface | |||
50 | .endif | |||
51 | ||||
52 | PLIST_VARS+= canna | |||
53 | .if !empty(PKG_OPTIONS:Mcanna) | |||
54 | . include "../../inputmethod/canna-lib/buildlink3.mk" | |||
55 | CONFIGURE_ARGS+= --with-canna | |||
56 | PLIST.canna= yes | |||
57 | .else | |||
58 | CONFIGURE_ARGS+= --without-canna | |||
59 | .endif | |||
60 | ||||
61 | ### | |||
62 | ### Support drawing pretty X11 widgets. | |||
63 | ### | 12 | ### | |
64 | PLIST_VARS+= x11 | 13 | PLIST_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" | |
71 | PLIST.x11= yes | 21 | PLIST.x11= yes | |
72 | CONFIGURE_ARGS+= --with-x | 22 | CONFIGURE_ARGS+= --with-x | |
73 | CONFIGURE_ARGS+= --with-jpeg | 23 | CONFIGURE_ARGS+= --with-jpeg | |
74 | CONFIGURE_ARGS+= --with-png | 24 | CONFIGURE_ARGS+= --with-png | |
75 | CONFIGURE_ARGS+= --with-tiff | 25 | CONFIGURE_ARGS+= --with-tiff | |
76 | CONFIGURE_ARGS+= --with-xpm | 26 | CONFIGURE_ARGS+= --with-xpm | |
77 | CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${X11BASE}/include | 27 | CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${X11BASE}/include | |
78 | CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib:${X11BASE}/lib | 28 | CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib:${X11BASE}/lib | |
79 | CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib:${X11BASE}/lib | 29 | CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib:${X11BASE}/lib | |
30 | # Lucid widgets | |||
31 | CONFIGURE_ARGS+= --with-toolbars=yes | |||
32 | CONFIGURE_ARGS+= --with-menubars=yes | |||
33 | CONFIGURE_ARGS+= --with-scrollbars=lucid | |||
34 | CONFIGURE_ARGS+= --with-dialogs=lucid | |||
35 | CONFIGURE_ARGS+= --with-widgets=lucid | |||
36 | CONFIGURE_ARGS+= --with-athena=xaw | |||
37 | CONFIGURE_ARGS+= --with-xim=xlib | |||
80 | .else | 38 | .else | |
81 | CONFIGURE_ARGS+= --without-x | 39 | CONFIGURE_ARGS+= --without-x | |
82 | CONFIGURE_ARGS+= --without-jpeg | 40 | CONFIGURE_ARGS+= --without-jpeg | |
83 | CONFIGURE_ARGS+= --without-png | 41 | CONFIGURE_ARGS+= --without-png | |
84 | CONFIGURE_ARGS+= --without-tiff | 42 | CONFIGURE_ARGS+= --without-tiff | |
85 | CONFIGURE_ARGS+= --without-xpm | 43 | CONFIGURE_ARGS+= --without-xpm | |
86 | CONFIGURE_ARGS+= --site-includes=${PREFIX}/include | 44 | CONFIGURE_ARGS+= --site-includes=${PREFIX}/include | |
87 | CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib | 45 | CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib | |
88 | CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib | 46 | CONFIGURE_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. | 50 | CONFIGURE_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" | 53 | CONFIGURE_ARGS+= --without-ldap | |
96 | CONFIGURE_ARGS+= --with-gtk | |||
97 | CONFIGURE_ARGS+= --with-menubars=yes | |||
98 | CONFIGURE_ARGS+= --with-scrollbars=yes | |||
99 | CONFIGURE_ARGS+= --with-dialogs=yes | |||
100 | CONFIGURE_ARGS+= --with-widgets=yes | |||
101 | CONFIGURE_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" | |||
109 | CONFIGURE_ARGS+= --with-toolbars=yes | |||
110 | CONFIGURE_ARGS+= --with-menubars=yes | |||
111 | CONFIGURE_ARGS+= --with-scrollbars=lucid | |||
112 | CONFIGURE_ARGS+= --with-dialogs=lucid | |||
113 | CONFIGURE_ARGS+= --with-widgets=lucid | |||
114 | CONFIGURE_ARGS+= --with-athena=xaw | |||
115 | CONFIGURE_ARGS+= --with-xim=xlib | |||
116 | .endif | 54 | .endif | |
117 | 55 | |||
118 | ### | 56 | .if !empty(PKG_OPTIONS:Mxface) | |
119 | ### Support using Motif X11 widgets. | 57 | CONFIGURE_ARGS+= --with-xface | |
120 | ### | 58 | . include "../../mail/faces/buildlink3.mk" | |
121 | .if !empty(PKG_OPTIONS:Mmotif) | 59 | .else | |
122 | . include "../../mk/motif.buildlink3.mk" | 60 | CONFIGURE_ARGS+= --without-xface | |
123 | CONFIGURE_ARGS+= --with-menubars=motif | |||
124 | CONFIGURE_ARGS+= --with-scrollbars=motif | |||
125 | CONFIGURE_ARGS+= --with-dialogs=motif | |||
126 | CONFIGURE_ARGS+= --with-widgets=motif | |||
127 | CONFIGURE_ARGS+= --with-xim=motif | |||
128 | .endif | 61 | .endif | |
129 | 62 | |||
130 | ### | 63 | PLIST_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) | 66 | CONFIGURE_ARGS+= --with-canna | |
134 | . include "../../mk/xaw.buildlink3.mk" | 67 | PLIST.canna= yes | |
135 | CONFIGURE_ARGS+= --with-menubars=athena | 68 | .else | |
136 | CONFIGURE_ARGS+= --with-scrollbars=athena | 69 | CONFIGURE_ARGS+= --without-canna | |
137 | CONFIGURE_ARGS+= --with-dialogs=athena | |||
138 | CONFIGURE_ARGS+= --with-widgets=athena | |||
139 | CONFIGURE_ARGS+= --with-athena=xaw | |||
140 | CONFIGURE_ARGS+= --with-xim=xlib | |||
141 | .endif | 70 | .endif | |
142 | 71 | |||
143 | PLIST_VARS+= debug | 72 | PLIST_VARS+= debug | |
144 | .if !empty(PKG_OPTIONS:Mdebug) | 73 | .if !empty(PKG_OPTIONS:Mdebug) | |
145 | CFLAGS+= -g3 | 74 | CFLAGS+= -g3 | |
146 | INSTALL_UNSTRIPPED= yes | 75 | INSTALL_UNSTRIPPED= yes | |
147 | .endif | 76 | .endif |
@@ -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 | ||||
3 | Avoid picking up local config when checking features | |||
4 | ||||
5 | Install {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 |
@@ -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 | ||||
3 | Install 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 |
@@ -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 | ||||
3 | SunOS 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) $< |
@@ -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 | ||||
3 | Directly substitute the local value of etcdir (``../etc/'') | |||
4 | into src/Makefile.in.in. This allows for overriding etcdir via | |||
5 | INSTALL_MAKE_FLAGS at install-time so that destdir-style installation | |||
6 | will work. | |||
7 | ||||
8 | liboss support | |||
9 | ||||
10 | SunOS 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 |
@@ -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 | ||||
3 | Build 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, |
@@ -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 | ||||
3 | Build 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 |
$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
$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
$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
@@ -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 | ||||
3 | Always 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 |
@@ -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 | |||
3 | Don't try to define max_align_t in C11 or C++11 mode. | 3 | Don't try to define max_align_t in C11 or C++11 mode. | |
4 | 4 | |||
5 | Fix 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. |