freebsd-ports/lang/gcl/files/patch-unixport_rsym_elf.c
Mark Murray 4e90ca4aa5 Rescue a hosed port from death row. GCL is now healthy enough to
compile and run Maxima (see math/). Make portlint-clean as well.
Claim maintainership in case it breaks again.
2003-09-14 15:10:02 +00:00

20 lines
516 B
C

--- ./unixport/rsym_elf.c.orig Thu Jul 25 22:49:47 2002
+++ ./unixport/rsym_elf.c Sat Sep 13 23:52:25 2003
@@ -34,9 +34,6 @@
int text_index,data_index,bss_index,sbss_index;
#undef SYM_NAME
#undef EXT_and_TEXT_BSS_DAT
-#define mjoin(a,b) a ## b
-#define Mjoin(a,b) mjoin(a,b)
-#define ELFW(a) Mjoin(ELF,Mjoin(__ELF_NATIVE_CLASS,Mjoin(_,a)))
int nsyms;
char *my_string_table;
@@ -136,7 +133,6 @@
unsigned int i;
FILE *fp;
int symsize;
- extern char *malloc();
fp = fopen(filename, RDONLY);