head 1.5; access; symbols pkgsrc-2022Q2:1.4.0.42 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.40 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.38 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.36 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.34 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.32 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.30 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.28 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.24 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.4 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.26 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.22 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.20 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.18 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.16 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.14 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.12 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.10 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.8 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.6 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.2 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.2.0.96 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.94 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.92 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.90 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.88 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.86 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.84 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.82 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.80 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.78 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.76 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.74 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.72 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.70 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.68 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.66 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.64 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.62 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.60 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.58 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.56 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.54 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.52 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.50 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.48 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.46 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.44 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.42 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.40 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.38 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.36 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.34 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.32 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.30 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.28 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.26 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.24 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.22 pkgsrc-2008Q1:1.2.0.20 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.18 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.16 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.14 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.12 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.10 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.1.1.0.24 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.22 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.20 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.18 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.16 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.14 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.12 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 pgksrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2022.09.24.06.00.40; author wiz; state dead; branches; next 1.4; commitid uB6szBiAgstWV4VD; 1.4 date 2017.05.07.06.49.23; author tsutsui; state Exp; branches; next 1.3; commitid LComJkFUy6CfmqQz; 1.3 date 2017.04.29.01.11.55; author tsutsui; state Exp; branches; next 1.2; commitid geTWls6WoYtoNmPz; 1.2 date 2005.12.01.18.13.24; author wiz; state Exp; branches; next 1.1; 1.1 date 2000.11.21.05.21.10; author kei; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.11.21.05.21.10; author kei; state Exp; branches; next ; desc @@ 1.5 log @mule: remove code from 1997; does not build in any bulk build I could find; corresponds to emacs 19; newer emacs's have better language support built-in. @ text @$NetBSD: patch-aa,v 1.4 2017/05/07 06:49:23 tsutsui Exp $ --- src/s/netbsd.h.orig 1995-10-12 10:53:15.000000000 +0000 +++ src/s/netbsd.h @@@@ -3,6 +3,10 @@@@ /* Get most of the stuff from bsd4.3 */ #include "bsd4-3.h" +#if defined (__alpha__) && !defined (__ELF__) +#define NO_SHARED_LIBS +#endif + /* For mem-limits.h. */ #define BSD4_2 @@@@ -30,9 +34,10 @@@@ #define NO_TERMIO #define LIBS_DEBUG -/* -lutil is not needed for NetBSD >0.9. */ -#define LIBS_SYSTEM -lutil -lcrypt -#define LIBS_TERMCAP -ltermcap +#define LIBS_SYSTEM -lcrypt + +#define TERMINFO +#define LIBS_TERMCAP -lterminfo #define NEED_ERRNO #define SYSV_SYSTEM_DIR @@@@ -40,7 +45,9 @@@@ /* Netbsd has POSIX-style pgrp behavior. */ #undef BSD_PGRPS -#ifndef NO_SHARED_LIBS +#define GETPGRP_NO_ARG + +#if !defined (NO_SHARED_LIBS) && ! defined (__ELF__) /* These definitions should work for either dynamic or static linking, whichever is the default for `cc -nostdlib'. */ #define HAVE_TEXT_START /* No need to define `start_of_text'. */ @@@@ -54,14 +61,40 @@@@ #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) #define N_TRELOFF(x) N_RELOFF(x) #endif -#endif /* not NO_SHARED_LIBS */ - -/* Reread the time zone on startup. */ -#define LOCALTIME_CACHE +#endif /* not NO_SHARED_LIBS and not ELF */ #define HAVE_WAIT_HEADER +#define WAIT_USE_INT + +#define NO_MATHERR + +#define AMPERSAND_FULL_NAME + +#ifdef __ELF__ +/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option + says where to find X windows at run time. We convert it to a -rpath option + which is what OSF1 uses. */ +#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` -Wl,-znocombreloc + +#define HAVE_TEXT_START /* No need to define `start_of_text'. */ +#define UNEXEC unexelf.o +#define ORDINARY_LINK + +#if defined(__i386__) +#define DATA_SEG_BITS 0x08000000 +#endif /* __i386__ */ + +#endif /* __ELF__ */ + +/* On post 1.3 releases of NetBSD, gcc -nostdlib also clears + the library search parth, i.e. it won't search /usr/lib + for libc and friends. Using -nostartfiles instead avoids + this problem, and will also work on earlier NetBSD releases */ + +#define LINKER $(CC) -nostartfiles -/* 94.7.29 by T.Sakakibara */ #ifdef emacs -#include +#include +#include +#include #endif @ 1.4 log @Make this build (i.e. dump with -batch etc. work) on NetBSD/amd64 7.1. Bump PKGREVISION to denote changes. `emacs -nw' gets a startup window, but emacs (with Xt) still dumps core. XXX: maybe much more prototypes are neccesary for LONG_LISP_OBJECT and XXX: VALBITS>=32 on LP64. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2017/04/29 01:11:55 tsutsui Exp $ @ 1.3 log @Make this ancient mule2 build and work (at least start up) on NetBSD/i386 7.1. - pull unexelf.c from newer emacs to fix coredump on dump-charset - in s/netbsd.h use terminfo rather than obsolete termcap that causes SIGSEGV - also link temacs with "-Wl,-znocombreloc" for X toolkit as emacs22 did XXX: this should be into configure - specify -fno-builtin-malloc to avoid unexpected gcc's optimization and remove hacks in alloc.c - also specify -fno-strict-aliasing for sanity against 90's files @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2005/12/01 18:13:24 wiz Exp $ d41 1 a41 1 @@@@ -54,14 +61,34 @@@@ d53 1 a53 5 -/* 94.7.29 by T.Sakakibara */ -#ifdef emacs -#include -#endif d80 8 @ 1.2 log @Regen patches in diff -u format. Replace files/info.patch with usual patch files and a post-install fix. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2000/11/21 05:21:10 kei Exp $ d3 1 a3 1 --- src/s/netbsd.h.orig 1995-10-12 11:53:15.000000000 +0100 d16 1 a16 1 @@@@ -30,8 +34,8 @@@@ d22 1 d25 2 a26 1 #define LIBS_TERMCAP -ltermcap d29 2 a30 1 @@@@ -40,7 +44,9 @@@@ d41 1 a41 1 @@@@ -54,14 +60,34 @@@@ d66 1 a66 1 +#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- src/s/netbsd.h.orig Thu Oct 12 19:53:15 1995 +++ src/s/netbsd.h Sun Sep 19 12:36:05 1999 @ 1.1.1.1 log @Import of "Mule" package: Multilingual GNU editing macros (editor) It was based on Mule ports of FreeBSD and Emacs ports of NetBSD originally, lots of changes are adapted as a result of discussion on tech-pkg-ja@@jp.NetBSD.ORG mailing list. @ text @@