summaryrefslogtreecommitdiff
path: root/editors/xemacs/patches/patch-ah
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-02-20 13:04:30 +0000
committertron <tron@pkgsrc.org>2001-02-20 13:04:30 +0000
commit4c38a0ff4faeb2c950822bad074bd43dd4348cd1 (patch)
tree939a6d88b3ceefe0b9e2f090e507460e0296fb86 /editors/xemacs/patches/patch-ah
parentb70fb4d9bb6583001b75ea41304fca65bc7711ac (diff)
downloadpkgsrc-4c38a0ff4faeb2c950822bad074bd43dd4348cd1.tar.gz
Update "xemacs" package to version 21.1.14. Changes since version 21.1.12:
- Fix buffer overflow in "gnuserv" which can be used to get a shell of the user which is using "gnuserv. - ./etc/PACKAGES: Doc fix. - README.packages: Doc fix. - xemacs-faq.texi (Q3.5.12): New FAQ. XEmacs bitches about xmodmap. - etc/PACKAGES: Sync with 21.2 version, because everyone uses the same packages. - README.packages: Ditto. - PROBLEMS (Sun/Solaris): Yet another microimprovement. - xemacs-faq.texi (Q1.0.11): Change XEmacs for MacOS URL. - PROBLEMS: Document MIPSpro ICE problem workaround. Pty fixes for HP-UX and AIX and BSD and SunOS4 backported from 21.2. Makes ``M-x shell; sleep 1000; Signals->Send KILL'' work. (See src/ChangeLog for more detail.) - configure.in: Detect killpg. - PROBLEMS (Running/Linux): Mandrake, use Alt for M-, color-gcc. - Makefile.in: add and use TAR macro. Sometimes tar only copies symlinks instead of the actual files - configure.in: Handle alloca with Compaq C on Alpha Linux. - ChangeLog, etc/xemacs-ja.1, etc/xemacs.1, info/xemacs-faq.info-1, info/xemacs-faq.info-3, lib-src/etags.c, lib-src/ootags.c, lisp/ChangeLog.1, man/xemacs-faq.texi: Changed mly@adoc.xerox.com to Mly@POBox.COM. - README.packages: Add "uninstalled package" FAQ. - etc/PACKAGES: Add details on os-utils contents. - frame.c (next_frame_internal): We've passed a frame if we've passed its device. Fixes this crash: (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))' Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame) - find-paths.el (paths-decode-directory-path): Trivial typo fix. - simple.el (display-warning-suppressed-classes): Ditto. - etc/Emacs.ad (Fonts.): Fix typo and clarify. - configure.in (after_morecore_hook_exists): Don't add /usr/shlib to link path if compiling on Alpha/Linux. - configure.in: Make Balloon Help conditional on finding shape.h
Diffstat (limited to 'editors/xemacs/patches/patch-ah')
-rw-r--r--editors/xemacs/patches/patch-ah34
1 files changed, 9 insertions, 25 deletions
diff --git a/editors/xemacs/patches/patch-ah b/editors/xemacs/patches/patch-ah
index 7926b5b7936..7f718f814ed 100644
--- a/editors/xemacs/patches/patch-ah
+++ b/editors/xemacs/patches/patch-ah
@@ -1,38 +1,22 @@
-$NetBSD: patch-ah,v 1.4 2000/09/28 11:28:24 toshii Exp $
+$NetBSD: patch-ah,v 1.5 2001/02/20 13:04:31 tron Exp $
---- src/unexelf.c.orig Sat Dec 4 13:13:06 1999
-+++ src/unexelf.c
-@@ -482,6 +482,7 @@
- # endif
- # include <sys/exec_elf.h>
-
-+# ifndef PT_LOAD
- # define PT_LOAD Elf_pt_load
- # define SHT_SYMTAB Elf_sht_symtab
- # define SHT_DYNSYM Elf_sht_dynsym
-@@ -493,6 +494,7 @@
- # define SHN_UNDEF Elf_eshn_undefined
- # define SHN_ABS Elf_eshn_absolute
- # define SHN_COMMON Elf_eshn_common
-+# endif
-
- # ifdef __alpha__
- # include <sys/exec_ecoff.h>
-@@ -511,10 +513,18 @@
+--- src/unexelf.c.orig Tue Jan 9 04:27:56 2001
++++ src/unexelf.c Tue Feb 20 11:48:04 2001
+@@ -481,10 +481,18 @@
#ifndef ElfW
# ifdef __STDC__
-# define ElfW(type) Elf32_##type
+# define ElfBitsW(bits, type) Elf##bits##_##type
-+# else
+ # else
+-# define ElfW(type) Elf32_/**/type
+# define ElfBitsW(bits, type) Elf/**/bits/**/_/**/type
-+# endif
+ # endif
+# if defined (_LP64) || defined(__alpha__)
+# define ELFSIZE 64
- # else
--# define ElfW(type) Elf32_/**/type
++# else
+# define ELFSIZE 32
- # endif
++# endif
+ /* This macro expands `bits' before invoking ElfBitsW. */
+# define ElfExpandBitsW(bits, type) ElfBitsW (bits, type)
+# define ElfW(type) ElfExpandBitsW (ELFSIZE, type)