76aeaddfc5
Regen the patches files (one file per patch). Fix for NetBSD ELF platform: files/stab-elf.c and config/untested/elf-netbsd-cc (by way of patches/patch-af) adjusted. Thanks to Nick for the helping hand and to Alistair for the previous work. This should close PR 13527. Make X11 support conditional by way if the ELK_USE_X11 variable. I tried to enable Motif support: only Motif 1.X should work but even with the lesstif12 package it does not - it does compile though. So Motif support if commented out but leaved in case someone want to fix ELK.
15 lines
300 B
Text
15 lines
300 B
Text
$NetBSD: patch-as,v 1.1 2002/01/09 23:04:58 seb Exp $
|
|
|
|
--- src/load-dl.c.orig Fri Dec 22 15:46:24 1995
|
|
+++ src/load-dl.c
|
|
@@ -4,6 +4,10 @@
|
|
extern char *strrchr();
|
|
extern char *getenv();
|
|
|
|
+#ifndef RTLD_NOW
|
|
+#define RTLD_NOW 1
|
|
+#endif
|
|
+
|
|
Dlopen_File (fn) char *fn; {
|
|
void *handle;
|
|
SYM *sp;
|