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.3.0.32 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.30 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.28 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.26 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.24 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.22 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.20 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.18 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.16 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.14 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.12 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.10 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.8 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.6 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.4 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.2.0.12 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.10 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.8 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.6 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.4 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.0.50 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.48 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.46 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.44 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.42 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.40 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.38 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.36 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.34 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.32 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.30 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.28 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.26 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.24 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.22 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.20 pkgsrc-2008Q1:1.1.0.18 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.16 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.14 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.12 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.10 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.8 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.6 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.4 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.2 pkgsrc-2006Q1-base: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 2013.04.21.15.39.59; author joerg; state Exp; branches; next 1.2; 1.2 date 2011.12.24.17.07.07; author dholland; state Exp; branches; next 1.1; 1.1 date 2006.01.04.20.35.08; author joerg; 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-cb,v 1.4 2017/05/07 06:49:23 tsutsui Exp $ - use standard headers - don't declare own errno --- src/dispnew.c.orig 1995-02-03 01:21:28.000000000 +0000 +++ src/dispnew.c @@@@ -59,6 +59,8 @@@@ the Free Software Foundation, 675 Mass A #include #include +#include +#include #include "lisp.h" #include "termchar.h" @@@@ -71,6 +73,7 @@@@ the Free Software Foundation, 675 Mass A #include "dispextern.h" #endif #include "buffer.h" +#include "process.h" #include "frame.h" #include "window.h" #include "commands.h" @@@@ -2047,7 +2050,6 @@@@ SIGTYPE window_change_signal () { int width, height; - extern int errno; int old_errno = errno; get_frame_size (&width, &height); @@@@ -2111,9 +2113,7 @@@@ do_pending_window_change () redisplay. Since this tries to resize windows, we can't call it from a signal handler. */ -change_frame_size (frame, newheight, newwidth, pretend, delay) - register FRAME_PTR frame; - int newheight, newwidth, pretend; +void change_frame_size (FRAME_PTR frame, int newheight, int newwidth, int pretend, int delay) { /* If we can't deal with the change now, queue it for later. */ if (delay) @@@@ -2451,7 +2451,7 @@@@ char *terminal_type; /* Then invoke its decoding routine to set up variables in the terminal package */ -init_display () +void init_display (void) { #ifdef HAVE_X_WINDOWS extern int display_arg; @ 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-cb,v 1.3 2013/04/21 15:39:59 joerg Exp $ @ 1.3 log @Fix various prototype issues. @ text @d1 1 a1 1 $NetBSD: patch-cb,v 1.2 2011/12/24 17:07:07 dholland Exp $ d17 9 a25 1 @@@@ -2047,7 +2049,6 @@@@ SIGTYPE d33 1 a33 1 @@@@ -2111,9 +2112,7 @@@@ do_pending_window_change () d44 1 a44 1 @@@@ -2451,7 +2450,7 @@@@ char *terminal_type; @ 1.2 log @Adjust the amd64 patch by crosschecking the existing header for alpha. Patch extensive use of malloc and alloca without and some other stuff that showed up in the build log. Still crashes in temacs but it's getting much farther. @ text @d1 1 a1 1 $NetBSD: patch-cb,v 1.1 2006/01/04 20:35:08 joerg Exp $ d8 1 a8 1 @@@@ -59,6 +59,7 @@@@ the Free Software Foundation, 675 Mass A d13 1 d17 1 a17 1 @@@@ -2047,7 +2048,6 @@@@ SIGTYPE d25 20 @ 1.1 log @Make this compile on DragonFly in the hope that also means that it is as usable as Emacs can be. Fix errno. Use ${LOWER_OPSYS} instead of hard-coded OS name and pass the pass to canna lib to configure. The first fixes !NetBSD, the latter triggers addition of rpath entries for libcanna. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 1 --- src/dispnew.c.orig 2006-01-04 18:00:54.000000000 +0000 d8 9 a16 1 @@@@ -2047,7 +2047,6 @@@@ SIGTYPE @