View | Details | Raw Unified | Return to bug 57574
Collapse All | Expand All

(-)ifc/Makefile (-1 / +2 lines)
Lines 122-128 Link Here
122
.for i in libcxa.a libimf.a libirc.a libircmt.a libunwind.a \
122
.for i in libcxa.a libimf.a libirc.a libircmt.a libunwind.a \
123
	libBINDF90.a libCEPCF90.a libF90.a libIEPCF90.a libPEPCF90.a \
123
	libBINDF90.a libCEPCF90.a libF90.a libIEPCF90.a libPEPCF90.a \
124
	libcprts.a libintrins.a libompstub.a
124
	libcprts.a libintrins.a libompstub.a
125
	@${OBJCOPY} --redefine-sym stdin=__stdinp \
125
	@${OBJCOPY} --redefine-sym __sigsetjmp=sigsetjmp \
126
		--redefine-sym stdin=__stdinp \
126
		--redefine-sym stdout=__stdoutp \
127
		--redefine-sym stdout=__stdoutp \
127
		--redefine-sym stderr=__stderrp \
128
		--redefine-sym stderr=__stderrp \
128
		${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/lib/${i}
129
		${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/lib/${i}
(-)ifc/files/ld.c (+8 lines)
Lines 206-211 Link Here
206
			dynamic++;
206
			dynamic++;
207
			continue;
207
			continue;
208
		}
208
		}
209
		if (ARGCMP("-shared")) {
210
			dynamic++;
211
			continue;
212
		}
209
213
210
		/*
214
		/*
211
		 * Just link libstlport_icc* once when compiling the stlport
215
		 * Just link libstlport_icc* once when compiling the stlport
Lines 334-340 Link Here
334
338
335
		/* Switch Linux stuff to FreeBSD counterparts. */
339
		/* Switch Linux stuff to FreeBSD counterparts. */
336
		if (ARGCMP("/lib/ld-linux.so.2")) {
340
		if (ARGCMP("/lib/ld-linux.so.2")) {
341
#if __FreeBSD_version >= 501105
342
			addarg(&al, "/libexec/ld-elf.so.1", 1);
343
#else
337
			addarg(&al, "/usr/libexec/ld-elf.so.1", 1);
344
			addarg(&al, "/usr/libexec/ld-elf.so.1", 1);
345
#endif
338
			continue;
346
			continue;
339
		}
347
		}
340
		if (ARGCMP("-L/usr/lib")) {
348
		if (ARGCMP("-L/usr/lib")) {
(-)ifc/files/linux_file.c (-3 lines)
Lines 30-38 Link Here
30
#include <sys/types.h>
30
#include <sys/types.h>
31
#include <sys/stat.h>
31
#include <sys/stat.h>
32
32
33
static short unsigned int ctype_b[256] = { 0 };
34
short unsigned int *__ctype_b = ctype_b;
35
36
/* This matches struct stat64 in glibc2.1, hence the absolutely
33
/* This matches struct stat64 in glibc2.1, hence the absolutely
37
 * insane amounts of padding around dev_t's.
34
 * insane amounts of padding around dev_t's.
38
 */
35
 */

Return to bug 57574