ports/editors/emacs20/files/patch-ai
Justin M. Seger 348a8f1b9d patch-ai, patch-an, patch-cg: Regenerated for emacs-20.7.
patch-cc (configure.in): Merged with patch-ch.
patch-af (src/unexfreebsd.c): Removed.  Not used by this port.
patch-ca (src/Makefile.in): Removed.  5-CURRENT's and
	4-STABLE's libtermcap -> libncurses symbolic link issues
	are now well handled by vendor's src/s/freebsd.h.
	Moved LIBS_XPG changes to patch-cb.
patch-cb (src/s/freebsd.h): Regenerate for emacs-20.7.
	Update the conditional of enclosing the USE_XPG check
	so as not to link libxpg4 on recently 5-CURRENT and
	4-STABLE after the merge of libxpg4 into libc.
	Added LIBS_XPG to LIBS_SYSTEM.

PR:		ports/19653
Submitted by:	OKAZAKI Tetsurou <okazaki@be.to>
2000-07-30 03:45:10 +00:00

17 lines
377 B
Text

--- src/unexelf.c.orig Mon May 15 17:14:02 2000
+++ src/unexelf.c Sat Jul 1 18:17:15 2000
@@ -506,6 +506,14 @@
# include <link.h> /* get ElfW etc */
#endif
+#ifdef __FreeBSD__
+# ifdef __STDC__
+# define ElfW(type) Elf_##type
+# else
+# define ElfW(type) Elf_/**/type
+# endif
+#endif
+
#ifndef ElfW
# ifdef __STDC__
# define ElfBitsW(bits, type) Elf##bits##_##type