head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.26 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.24 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.22 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.20 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.18 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.16 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.14 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.12 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.10 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.8 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.6 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.4 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.2 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.5.0.2 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.6 date 2007.06.11.13.57.19; author markd; state dead; branches; next 1.5; 1.5 date 2007.01.25.20.52.29; author markd; state Exp; branches; next 1.4; 1.4 date 2003.04.11.00.50.55; author uebayasi; state dead; branches; next 1.3; 1.3 date 2000.06.24.17.03.38; author minoura; state Exp; branches; next 1.2; 1.2 date 99.12.28.14.08.57; author tron; state Exp; branches; next 1.1; 1.1 date 99.01.04.01.16.18; author tron; state Exp; branches; next ; desc @@ 1.6 log @Update emacs{,-nox11} to 22.1. update based in part on wip/emacs-current and wip/emacs22 packages. Many many changes since 21.4a. Read NEWS file for details. @ text @$NetBSD: patch-ah,v 1.5 2007/01/25 20:52:29 markd Exp $ --- src/unexelf.c.orig 2002-10-16 03:21:44.000000000 +1300 +++ src/unexelf.c @@@@ -971,8 +971,13 @@@@ unexec (new_name, old_name, data_start, } else { - /* Any section that was original placed AFTER the bss - section should now be off by NEW_DATA2_SIZE. */ + /* Any section that was originally placed after the .bss + section should now be off by NEW_DATA2_SIZE. If a + section overlaps the .bss section, consider it to be + placed after the .bss section. Overlap can occur if the + section just before .bss has less-strict alignment; this + was observed between .symtab and .bss on Solaris 2.5.1 + (sparc) with GCC snapshot 960602. */ #ifdef SOLARIS_POWERPC /* On PPC Reference Platform running Solaris 2.5.1 the plt section is also of type NOBI like the bss section. @@@@ -986,9 +991,8 @@@@ unexec (new_name, old_name, data_start, >= OLD_SECTION_H (old_bss_index-1).sh_offset) NEW_SECTION_H (nn).sh_offset += new_data2_size; #else - if (round_up (NEW_SECTION_H (nn).sh_offset, - OLD_SECTION_H (old_bss_index).sh_addralign) - >= new_data2_offset) + if (NEW_SECTION_H (nn).sh_offset + NEW_SECTION_H (nn).sh_size + > new_data2_offset) NEW_SECTION_H (nn).sh_offset += new_data2_size; #endif /* Any section that was originally placed after the section @ 1.5 log @Add revision 1.54 of src/unexelf.c (from emacs cvs of jul 2003). Fixes segfaults on exit seen on Solaris when compiled with more recent gcc's. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Remove old patches @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.3 2000/06/24 17:03:38 minoura Exp $ d3 30 a32 15 --- src/fileio.c.orig Tue May 16 20:02:13 2000 +++ src/fileio.c Sun Jun 18 09:19:08 2000 @@@@ -3252,8 +3252,11 @@@@ return value; } -#ifdef unix +#ifdef __NetBSD__ +#define unix 42 +#endif +#ifdef unix DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "", "Tell Unix to finish all pending disk updates.") () @ 1.3 log @Updated to 20.7. Tests needed. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.2 1999/12/28 14:08:57 tron Exp $ @ 1.2 log @Update "emacs" package to version 20.5a based on patches supplied by Minoura Makoto in PR pkg/9014. This version fixes several bugs discovered since version 20.3 and support a precompiled user startup file (".emacs.el" and ".emacs.elc"). @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.1 1999/01/04 01:16:18 tron Exp $ d3 3 a5 3 --- src/fileio.c.orig Thu Jul 8 07:36:06 1999 +++ src/fileio.c Fri Aug 6 08:56:39 1999 @@@@ -3207,8 +3207,11 @@@@ @ 1.1 log @Don't check for deprecated symbol "unix". @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- src/fileio.c.orig Mon Aug 10 08:12:32 1998 +++ src/fileio.c Mon Jan 4 02:03:29 1999 @@@@ -3201,8 +3201,11 @@@@ @