head 1.7; access; symbols pkgsrc-2022Q2:1.6.0.42 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.40 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.38 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.36 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.34 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.32 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.30 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.28 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.24 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.4 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.26 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.22 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.20 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.18 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.16 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.14 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.12 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.10 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.8 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.6 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.2 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.5.0.32 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.30 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.28 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.26 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.24 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.22 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.20 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.18 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.16 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.14 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.12 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.10 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.8 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.6 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.4 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.2 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.4.0.12 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.10 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.8 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.6 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.4 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.2 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.3.0.50 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.48 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.46 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.44 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.42 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.40 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.38 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.36 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.34 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.32 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.30 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.28 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.26 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.24 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.22 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.20 pkgsrc-2008Q1:1.3.0.18 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.16 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.14 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.12 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.10 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.8 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.6 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 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.7 date 2022.09.24.06.00.40; author wiz; state dead; branches; next 1.6; commitid uB6szBiAgstWV4VD; 1.6 date 2017.05.07.06.49.23; author tsutsui; state Exp; branches; next 1.5; commitid LComJkFUy6CfmqQz; 1.5 date 2013.04.21.15.39.59; author joerg; state Exp; branches; next 1.4; 1.4 date 2011.12.24.17.07.07; author dholland; state Exp; branches; next 1.3; 1.3 date 2006.01.04.20.35.08; author joerg; state Exp; branches; next 1.2; 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.7 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-ak,v 1.6 2017/05/07 06:49:23 tsutsui Exp $ - use standard headers - don't declare own errno - declare external symbols properly --- src/keyboard.c.orig 1995-02-03 01:21:28.000000000 +0000 +++ src/keyboard.c @@@@ -53,6 +53,7 @@@@ the Free Software Foundation, 675 Mass A #include #include +#include #undef NULL #include "termchar.h" #include "termopts.h" @@@@ -63,6 +64,7 @@@@ the Free Software Foundation, 675 Mass A #include "termhooks.h" #endif #include "macros.h" +#include "process.h" #include "frame.h" #include "window.h" #include "commands.h" @@@@ -100,8 +102,6 @@@@ the Free Software Foundation, 675 Mass A /* Include systime.h after xterm.h to avoid double inclusion of time.h. */ #include "systime.h" -extern int errno; - /* Variables for blockinput.h: */ /* Non-zero if interrupt input is blocked right now. */ @@@@ -301,7 +301,7 @@@@ Lisp_Object Vlast_event_frame; /* The timestamp of the last input event we received from the X server. X Windows wants this for selection ownership. */ -unsigned long last_event_timestamp; +extern unsigned long last_event_timestamp; Lisp_Object Qself_insert_command; Lisp_Object Qforward_char; @@@@ -582,8 +582,7 @@@@ echo_prompt (str) C can be a character, which is printed prettily ("M-C-x" and all that jazz), or a symbol, whose name is printed. */ -echo_char (c) - Lisp_Object c; +static void echo_char(Lisp_Object c) { extern char *push_key_description (); @@@@ -629,7 +628,7 @@@@ echo_char (c) /* Temporarily add a dash to the end of the echo string if it's not empty, so that it serves as a mini-prompt for the very next character. */ -echo_dash () +static void echo_dash (void) { if (!immediate_echo && echoptr == echobuf) return; @@@@ -3570,7 +3569,7 @@@@ gobble_input (expected) /* Put a buffer_switch_event in the buffer so that read_key_sequence will notice the new current buffer. */ -record_asynch_buffer_change () +void record_asynch_buffer_change(void) { struct input_event event; Lisp_Object tem; @@@@ -5633,7 +5632,6 @@@@ On such systems, Emacs starts a subshell int old_height, old_width; int width, height; struct gcpro gcpro1, gcpro2; - extern init_sys_modes (); if (!NILP (stuffstring)) CHECK_STRING (stuffstring, 0); @ 1.6 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-ak,v 1.5 2013/04/21 15:39:59 joerg Exp $ @ 1.5 log @Fix various prototype issues. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.4 2011/12/24 17:07:07 dholland Exp $ d17 9 a25 1 @@@@ -100,8 +101,6 @@@@ the Free Software Foundation, 675 Mass A d34 1 a34 1 @@@@ -301,7 +300,7 @@@@ Lisp_Object Vlast_event_frame; d43 1 a43 1 @@@@ -582,8 +581,7 @@@@ echo_prompt (str) d53 1 a53 1 @@@@ -629,7 +627,7 @@@@ echo_char (c) d62 1 a62 1 @@@@ -3570,7 +3568,7 @@@@ gobble_input (expected) d71 1 a71 1 @@@@ -5633,7 +5631,6 @@@@ On such systems, Emacs starts a subshell @ 1.4 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-ak,v 1.3 2006/01/04 20:35:08 joerg Exp $ d35 36 @ 1.3 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: patch-ak,v 1.2 2005/12/01 18:13:24 wiz Exp $ d3 5 a7 1 --- src/keyboard.c.orig 1995-02-03 02:21:28.000000000 +0100 d9 9 a17 1 @@@@ -100,8 +100,6 @@@@ the Free Software Foundation, 675 Mass A d26 1 a26 1 @@@@ -301,7 +299,7 @@@@ Lisp_Object Vlast_event_frame; @ 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-ak,v 1.1.1.1 2000/11/21 05:21:10 kei Exp $ d5 10 a14 1 @@@@ -301,7 +301,7 @@@@ Lisp_Object Vlast_event_frame; @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- src/keyboard.c.orig Mon Sep 20 23:36:21 1999 +++ src/keyboard.c Mon Sep 20 23:37:10 1999 @@@@ -301,7 +301,7 @@@@ @ 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 @@