head 1.5; access; symbols pkgsrc-2026Q3:1.5.0.6 pkgsrc-2026Q3-base:1.5 pkgsrc-2026Q2:1.5.0.4 pkgsrc-2026Q2-base:1.5 pkgsrc-2026Q1:1.5.0.2 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.4.0.50 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.48 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.46 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.44 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.42 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.40 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.38 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.36 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.34 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.32 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.30 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.28 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.26 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.24 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.22 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.20 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.18 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.16 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.14 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.12 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.10 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.8 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.6 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.4 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.3.0.8 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.6 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.4 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.2 pkgsrc-2018Q4-base:1.3 pkgsrc-2016Q1:1.1.0.10 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.8 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.6 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.4 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.2 pkgsrc-2015Q1-base:1.1; locks; strict; comment @# @; 1.5 date 2026.01.02.22.34.58; author hauke; state Exp; branches; next 1.4; commitid oRRFIV2P1hlXXRoG; 1.4 date 2019.11.27.14.35.16; author hauke; state Exp; branches; next 1.3; commitid yH2Nqodccc6BXuMB; 1.3 date 2018.12.20.15.26.31; author hauke; state Exp; branches; next 1.2; commitid HSe3qhrn0VdDey4B; 1.2 date 2016.04.13.13.52.27; author hauke; state dead; branches; next 1.1; commitid YF0R6CLzZzfrbt2z; 1.1 date 2015.02.04.09.19.20; author hauke; state Exp; branches; next ; commitid VKOmyW6MsuApGF8y; desc @@ 1.5 log @xemacs{,-nox11} -- Update to v21.4.25 The update was prompted by an important bytecode fix, in addition upstream took most of our patches. From upstream's changelog: 2026-01-01 Aidan Kehoe * XEmacs 21.4.25 is released 2026-01-01 Aidan Kehoe Changes from Hauke Fath, , maintained in NetBSD pkgsrc tree. * unexelf.c: * unexelf.c (unexec): Build on NetBSD/alpha * unexfreebsd.c (copy_relocation_site): Build on NetBSD/arm* 2026-01-01 Aidan Kehoe Change from David Brownlee , maintained in NetBSD pkgsrc tree. * emacs.c (main_1): * sound.c (vars_of_sound): Fix build for non HPUX on HP PA platforms 2026-01-01 Aidan Kehoe Change from Hauke Fath, , maintained in NetBSD pkgsrc tree. * Makefile.in.in: Directly substitute the local value of etcdir (``../etc/'') into src/Makefile.in.in. This allows for overriding etcdir via INSTALL_MAKE_FLAGS at install-time so that destdir-style installation will work. liboss support SunOS 5 bmake / gmake fixes 2026-01-01 Aidan Kehoe * bytecode.h: Declare Qinvalid_byte_code here. * lread.c (Fload_internal): Error on encountering a byte compiled file with a byte code version greater than 109, with a view to easier version checking in the future within compiled functions generated by 21.5 and later. 2025-12-09 Aidan Kehoe * lread.c (vars_of_lread): Initialize load_byte_code_version to 20, and make the dumper aware of it, avoiding problems where it defaulted to zero and #'read calls in the byte compiler (where it was not bound to something sensible by #'load-internal) produced unintended ebolified compiled functions in the compiled functions vector of top-level compiled functions. See #'byte-compile-compiled-obj-to-list. Thank you for the bug report, Hauke Fath! 2025-12-31 Aidan Kehoe Port part of my 21.4 change of 2bbae1af16ac to 21.4. * config.h.in: Add entries for HAVE_STRSIGNAL, HAVE_DECL_SYS_SIGLIST here. * process.c (signal_name): Implement this in terms of strsignal(). * sysdep.c: * sysdep.c (strsignal): Provide an implementation of this using sys_siglist[] if strsignal was not found. * syssignal.h: Remove a declaration of sys_siglist[] here. * s/linux.h: Remove #define HAVE_SYS_SIGLIST from here. 2021-05-10 Aidan Kehoe Port my 21.5 change of 1f4ff44e1657 to 21.4. * Makefile.in.in (temacs_link_args): Place $start_flags after $ldflags in this make variable, for that minority of cases where the user has specified LDFLAGS and, e.g. -no-pie in $start_flags is necessary to build. 2021-05-10 Aidan Kehoe Incorporate my 21.5 change of changeset d5cd82986867 into 21.4, to make it more practical to build a 21.4 XEmacs for the packages. * config.h.in: Update the implementation of the INLINE_HEADER macro and, indirectly, the DECLARE_INLINE_HEADER() macro. Add some more documentation and explanation. Rename the confusingly-named DONT_EXTERN_INLINE_HEADER_FUNCTIONS define to FORCE_INLINE_FUNCTION_DEFINITION. * inline.c (FORCE_INLINE_FUNCTION_DEFINITION): Use this new name in this file. 2015-04-20 Jerry James * lisp.h (max_align_t): Do not define if C11 or C++11, or a later version of either, is in use. (ALIGNOF): Define with native operators in C11 and C++11 and later. @ text @$NetBSD$ Have tested cpp expect input on STDIN --- configure.orig 2026-01-02 21:57:40.021732482 +0000 +++ configure @@@@ -2377,9 +2377,9 @@@@ fi echo "$ac_t""$CPP" 1>&6 -if (echo "#warning warning" | $CPP $CPPFLAGS > 9dm64Q.i); then +if (echo "#warning warning" | $CPP $CPPFLAGS - > 9dm64Q.i); then rm 9dm64Q.i; -elif (echo "#warning warning" | $CPP $CPPFLAGS -Wno-cpp > 9dm64Q.i); then +elif (echo "#warning warning" | $CPP $CPPFLAGS -Wno-cpp - > 9dm64Q.i); then rm 9dm64Q.i; CPPFLAGS="$CPPFLAGS -Wno-cpp"; else @ 1.4 log @For Solarish, select _XOPEN_SOURCE version depending on __STDC_VERSION__, see @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.3 2018/12/20 15:26:31 hauke Exp $ d3 1 a3 3 On progressive Linuxen (Arch here), CPPFLAGS pre-filled with -D_FORTIFY_SOURCE=2 -Werror will make configure tests fail on pre-processor warnings. Make sure we set CPP to something that works. d5 1 a5 7 This patch should go upstream into configure.in, but it is really the autoconf AC_PROG_CPP macro definition that needs to be amended. For Solarish, select _XOPEN_SOURCE version depending on __STDC_VERSION__, see --- configure.orig 2015-03-25 11:25:33.000000000 +0000 d7 11 a17 34 @@@@ -2362,6 +2362,25 @@@@ else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* + # Some Linuxen (Arch) define _FORTIFY_SOURCE in CPPFLAGS together + # with -Werror. Make sure the warnings do not disrupt feature tests. + CPP="${CC-cc} -E -Wno-cpp" + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:2376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* CPP=/lib/cpp fi rm -f conftest* @@@@ -2369,6 +2388,8 @@@@ fi rm -f conftest* fi rm -f conftest* +fi +rm -f conftest* ac_cv_prog_CPP="$CPP" CPP="$ac_cv_prog_CPP" a18 12 @@@@ -2457,7 +2478,11 @@@@ EOF Defining _XOPEN_SOURCE = 500 EOF cat >> confdefs.h <<\EOF +#if __STDC_VERSION__ - 0 < 199901L #define _XOPEN_SOURCE 500 +#else +#define _XOPEN_SOURCE 600 +#endif EOF } @ 1.3 log @On progressive Linuxen (Arch here), CPPFLAGS pre-filled with -D_FORTIFY_SOURCE=2 -Werror will make configure tests fail on pre-processor warnings, and break the build. Make sure we set CPP to something that works. This patch should go upstream into configure.in, but it is really the autoconf AC_PROG_CPP macro definition that needs to be amended. @ text @d1 1 a1 1 $NetBSD$ d10 3 d15 1 a15 1 @@@@ -2362,10 +2362,31 @@@@ else d41 1 a41 3 fi +rm -f conftest* +fi d45 17 @ 1.2 log @Update to patch release 21.4.24. From the ChangeLog: 2015-03-24 Vin Shelton * XEmacs 21.4.24 is released 2015-02-23 Vin Shelton * configure.in: Add LIBOSSAUDIO as appropriate. Patch from netbsd via Hauke Fath. * configure: Rebuild. 2015-02-15 Vin Shelton * 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 @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2015/02/04 09:19:20 hauke Exp $ d3 8 a10 1 --- configure.orig 2015-01-29 15:04:29.000000000 +0000 d12 9 a20 48 @@@@ -1130,6 +1130,7 @@@@ echo "$ac_t""$configuration" 1>&6 machine='' opsys='' case "$canonical" in + arm-*-* ) machine=sparc ;; sparc-*-* ) machine=sparc ;; alpha*-*-* ) machine=alpha ;; vax-*-* ) machine=vax ;; @@@@ -1202,9 +1203,10 @@@@ case "$canonical" in case "$canonical" in i[3-9]86-*-netbsd*) machine=intel386 ;; hp300-*-netbsd* | amiga-*-netbsd* | sun3-*-netbsd* | mac68k-*-netbsd* | da30-*-netbsd* | m68k-*-netbsd* ) - machine=hp9000s300 ;; + machine=m68k ;; pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; + alpha-*-netbsd ) machine=alpha ;; esac ;; @@@@ -1508,6 +1510,7 @@@@ EOF *-sysv5* ) opsys=sco7 ;; *-386bsd* ) opsys=386bsd ;; *-freebsd* ) opsys=freebsd ;; + *-dragonfly* ) opsys=dragonfly ;; *-nextstep* ) opsys=nextstep ;; *-pc-cygwin* ) opsys=cygwin32 ;; *-pc-mingw* ) opsys=mingw32 ; @@@@ -3132,7 +3135,7 @@@@ echo "configure:3130: checking "for runt decosf* | linux* | irix*) dash_r="-rpath " ;; *) dash_r="" - for try_dash_r in "-R" "-R " "-rpath "; do + for try_dash_r in "-Wl,-R" "-R" "-R " "-rpath "; do xe_check_libs="${try_dash_r}/no/such/file-or-directory" if test "$GCC" = "yes"; then @@@@ -14312,6 +14315,41 @@@@ else for feature in ncurses gpm; do eval "with_${feature}=no" done fi +echo $ac_n "checking for main in -lossaudio""... $ac_c" 1>&6 +echo "configure:10915: checking for main in -lossaudio" >&5 +ac_lib_var=`echo ossaudio'_'main | sed 'y%./+-%__p_%'` + +xe_check_libs=" -lossaudio " +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && + test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" d31 1 d35 4 a38 2 + eval "ac_cv_lib_$ac_lib_var=no" +fi a39 7 +xe_check_libs="" + +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then + echo "$ac_t""yes" 1>&6 + LIBOSSAUDIO=-lossaudio +else + echo "$ac_t""no" 1>&6 d41 3 a43 11 test "$with_x11" = "yes" -o "$with_tty" = "yes" -o "$need_event_unixoid" = "yes" && extra_objs="$extra_objs event-unixoid.o" && if test "$extra_verbose" = "yes"; then echo " xemacs will be linked with \"event-unixoid.o\"" fi @@@@ -16917,6 +16955,7 @@@@ s%@@libs_xauth@@%$libs_xauth%g s%@@dnd_objs@@%$dnd_objs%g s%@@lwlib_objs@@%$lwlib_objs%g s%@@ALLOCA@@%$ALLOCA%g +s%@@LIBOSSAUDIO@@%$LIBOSSAUDIO%g s%@@have_esd_config@@%$have_esd_config%g s%@@dll_ld@@%$dll_ld%g s%@@dll_cflags@@%$dll_cflags%g @ 1.1 log @Update to XEmacs 21.4.23 2015-01-29 Vin Shelton * XEmacs 21.4.23 is released 2015-01-08 Vin Shelton Fix progress bar crashes. Thanks to Ralf Soergel for diagnosis and a patch. * configure.in (Athena widgets): Test for "international" resource in SimpleWidgetClass in libXaw3d. * configure: Rebuild. @ text @d1 1 a1 1 $NetBSD$ @