head 1.4; access; symbols pkgsrc-2022Q2:1.3.0.74 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.72 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.70 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.68 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.66 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.64 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.62 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.60 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.56 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.36 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.58 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.54 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.52 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.50 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.48 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.46 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.44 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.42 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.40 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.38 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.34 pkgsrc-2017Q2-base:1.3 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.4 date 2022.09.24.06.00.40; author wiz; state dead; branches; next 1.3; commitid uB6szBiAgstWV4VD; 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.4 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-cd,v 1.3 2013/04/21 15:39:59 joerg Exp $ - use standard headers - don't declare own errno --- src/xterm.c.orig 1995-07-22 00:59:57.000000000 +0000 +++ src/xterm.c @@@@ -71,6 +71,7 @@@@ the Free Software Foundation, 675 Mass A #include #include #include +#include #include "dispextern.h" #include "termhooks.h" @@@@ -358,8 +359,6 @@@@ static int x_noop_count; static WINDOWINFO_TYPE windowinfo; -extern int errno; - /* A mask of extra modifier bits to put into every keyboard char. */ extern int extra_keyboard_modifiers; @@@@ -385,7 +384,7 @@@@ static void dumpqueue (); void dumpborder (); static int XTcursor_to (); -static int XTclear_end_of_line (); +static void XTclear_end_of_line (int); #ifdef MULE /* 94.7.1 by K.Handa */ /* Defined in ccl.c */ @@@@ -1055,9 +1054,8 @@@@ XTwrite_glyphs (start, len) to column FIRST_UNUSED (exclusive). The idea is that everything from FIRST_UNUSED onward is already erased. */ -static int -XTclear_end_of_line (first_unused) - register int first_unused; +static void +XTclear_end_of_line(int first_unused) { struct frame *f = updating_frame; int mask; @@@@ -1419,7 +1417,7 @@@@ XTflash (f) #define XRINGBELL XFeep (0); #endif /* ! defined (HAVE_X11) */ -XTring_bell () +static void XTring_bell (void) { if (x_current_display == 0) return; @@@@ -6204,8 +6202,7 @@@@ x_make_frame_invisible (f) /* Change window state from mapped to iconified. */ -x_iconify_frame (f) - struct frame *f; +void x_iconify_frame(struct frame *f) { int mask; int result; @ 1.3 log @Fix various prototype issues. @ text @d1 1 a1 1 $NetBSD: patch-cd,v 1.2 2011/12/24 17:07:07 dholland Exp $ @ 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-cd,v 1.1 2006/01/04 20:35:08 joerg Exp $ d25 40 @ 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/xterm.c.orig 2006-01-04 18:04:35.000000000 +0000 d8 9 a16 1 @@@@ -358,8 +358,6 @@@@ static int x_noop_count; @