fix for ports/66514 problem and update to 8.0.046

PR:		67127
Submitted by:	Masakazu HIGAKI
This commit is contained in:
Maho Nakata 2004-05-26 14:45:21 +00:00
parent 6186c139e2
commit 3d531b4029
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110066
3 changed files with 10 additions and 7 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= ifc
PORTVERSION= 8.0.039.p044.1
PORTVERSION= 8.0.046
CATEGORIES= lang linux devel
MASTER_SITES=
DISTNAME= l_fc_pc_${PORTVERSION:C/\.p.+$//}
@ -166,6 +166,7 @@ do-build:
--redefine-sym ftruncate=l_ftruncate \
--redefine-sym lseek64=lseek \
--redefine-sym open64=open \
--redefine-sym fopen64=fopen \
--redefine-sym freopen64=freopen \
--redefine-sym creat64=creat \
--redefine-sym ftruncate64=ftruncate \
@ -178,6 +179,8 @@ do-build:
--redefine-sym __strtoll_internal=strtoll \
--redefine-sym __strtoul_internal=strtoul \
--redefine-sym __strtoull_internal=strtoull \
--redefine-sym _IO_getc=getc \
--redefine-sym _IO_putc=putc \
${WRKSRC}/opt/${COMPILERDIR}/lib/lib${i}.a
.endfor
@${AR} q ${WRKSRC}/opt/${COMPILERDIR}/lib/libcxa.a ${WRKSRC}/*.o

View File

@ -1,4 +1,2 @@
MD5 (l_fc_pc_8.0.039.tar.gz) = 96fa6b3e9688b17d3e46886ba9ba1a46
SIZE (l_fc_pc_8.0.039.tar.gz) = 85043840
MD5 (l_fc_pc_8.0.039_pe044.1.tar.gz) = b64e5fdb3e24a2ab87711beee1f6bc76
SIZE (l_fc_pc_8.0.039_pe044.1.tar.gz) = 10378600
MD5 (l_fc_pc_8.0.046.tar.gz) = 73b204ac0eced3fc337a00c4264956df
SIZE (l_fc_pc_8.0.046.tar.gz) = 84289874

View File

@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: /tmp/pcvs/ports/lang/ifc/files/ld.c,v 1.5 2004-01-31 23:32:41 maho Exp $");
__FBSDID("$FreeBSD: /tmp/pcvs/ports/lang/ifc/files/ld.c,v 1.6 2004-05-26 14:45:21 maho Exp $");
#include <err.h>
#include <stdio.h>
@ -190,7 +190,9 @@ main(int argc, char *argv[], char *envp[])
/* ifc8 */
ARGCMP(i, "-lpthread") ||
/* ifc8 */
ARGCMP(i, "-PIC"))
ARGCMP(i, "-PIC") ||
(ARGCMP(i, "-m") && i<argc-1 && ARGCMP(i+1, "elf_i386")) ||
(ARGCMP(i, "elf_i386") && i != 0 && ARGCMP(i-1, "-m")))
continue;
/* prepend "-melf_i386" to the commandline */