yep, 4.0 got branched, so now there are 4.1 snapshots.
Just put this in and don't activate it yet... this makes gcc 4.1 available for people who want to play with it, but it hasn't really diverged from 4.0 so far...
This commit is contained in:
parent
acce2e07f8
commit
2a4c765b7a
182
lang/gcc/4.1/Makefile
Normal file
182
lang/gcc/4.1/Makefile
Normal file
@ -0,0 +1,182 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= alpha i386 m68k sparc sparc64 powerpc vax
|
||||
|
||||
V=4.1.0
|
||||
FULL_VERSION=4.1-20050227
|
||||
|
||||
MAINTAINER= Marc Espie <espie@openbsd.org>
|
||||
|
||||
MAKE_GXX=Yes
|
||||
#MAKE_FORTRAN=Yes
|
||||
#MAKE_OBJC=Yes
|
||||
#MAKE_JAVA=Yes
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
#MAKE_ADA=Yes
|
||||
.endif
|
||||
|
||||
MAKE_GXX?=No
|
||||
MAKE_FORTRAN?=No
|
||||
MAKE_OBJC?=No
|
||||
MAKE_JAVA?=No
|
||||
MAKE_ADA?=No
|
||||
|
||||
|
||||
BUILD_DEPENDS= ::devel/autoconf/2.13
|
||||
BUILD_DEPENDS+= ::devel/autoconf/2.59
|
||||
BUILD_DEPENDS+= ::devel/metaauto
|
||||
SUBPACKAGE?=
|
||||
WANTLIB=c
|
||||
.if ${SUBPACKAGE} == "-estdc"
|
||||
WANTLIB+=m
|
||||
.endif
|
||||
|
||||
.if ${MAKE_JAVA:L} == "yes"
|
||||
. if !defined(PACKAGING) || ${SUBPACKAGE} == "-java"
|
||||
LIB_DEPENDS+=gc::devel/boehm-gc
|
||||
. endif
|
||||
.endif
|
||||
|
||||
# This can be patched out, apart from java that wants a pure parser.
|
||||
BUILD_DEPENDS+= :bison-*:devel/bison
|
||||
|
||||
|
||||
.if ${MAKE_JAVA:L} == "yes"
|
||||
MAKE_GXX=Yes
|
||||
.endif
|
||||
|
||||
MULTI_PACKAGES=
|
||||
# No sub packages description
|
||||
DESCR=${PKGDIR}/DESCR
|
||||
|
||||
REGRESS_DEPENDS=::devel/dejagnu
|
||||
|
||||
# No way around it, java wants a pure parser
|
||||
.if ${MAKE_JAVA:L} == "yes"
|
||||
BUILD_DEPENDS+=:bison-*:devel/bison
|
||||
.endif
|
||||
|
||||
|
||||
DISTNAME= gcc-${FULL_VERSION}
|
||||
|
||||
|
||||
DISTFILES= ${DISTNAME}.tar.bz2
|
||||
#SUPDISTFILES=adastrap-i386-4.0-20050102-1.tgz:0
|
||||
SUPDISTFILES=adastrap-i386-3.3.5-1.tgz:0
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GCC:=snapshots/$(FULL_VERSION)/}
|
||||
MASTER_SITES0= ftp://quatramaran.ens.fr/pub/espie/
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/gcc
|
||||
|
||||
LANGS=c
|
||||
.if ${MAKE_GXX:L} == "yes"
|
||||
LANGS:=${LANGS},c++
|
||||
MULTI_PACKAGES+=-c++ -estdc
|
||||
.endif
|
||||
.if ${MAKE_FORTRAN:L} == "yes"
|
||||
LANGS:=${LANGS},f95
|
||||
MULTI_PACKAGES+=-f95
|
||||
CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
|
||||
.endif
|
||||
.if ${MAKE_OBJC:L} == "yes"
|
||||
LANGS:=${LANGS},objc
|
||||
MULTI_PACKAGES+=-objc
|
||||
.endif
|
||||
.if ${MAKE_JAVA:L} == "yes"
|
||||
LANGS:=${LANGS},java
|
||||
#MULTI_PACKAGES+=-java
|
||||
CONFIGURE_ARGS+=--enable-java-gc=system-boehm
|
||||
.endif
|
||||
.if ${MAKE_ADA:L} == "yes"
|
||||
LANGS:=${LANGS},ada
|
||||
MULTI_PACKAGES+=-ada
|
||||
#DISTFILES+=adastrap-${MACHINE_ARCH}-4.0-20050102-1.tgz:0
|
||||
DISTFILES+=adastrap-${MACHINE_ARCH}-3.3.5-1.tgz:0
|
||||
CONFIGURE_ENV=ADAC=${WRKDIR}/bin/egcc GNATBIND=${WRKDIR}/bin/gnatbind
|
||||
MAKE_ENV=ADAC=${WRKDIR}/bin/egcc GNATBIND=${WRKDIR}/bin/gnatbind
|
||||
CC=${WRKDIR}/bin/egcc
|
||||
|
||||
post-extract:
|
||||
.for f in egcc gnatbind gnatmake gnatlink
|
||||
echo "#! /bin/sh" >${WRKDIR}/bin/$f
|
||||
echo 'GNAT_ROOT=${WRKDIR}/bootstrap GCC_ROOT=${WRKDIR}/bootstrap exec ${WRKDIR}/bootstrap/bin/$f "$$@"' >>${WRKDIR}/bin/$f
|
||||
chmod a+x ${WRKDIR}/bin/$f
|
||||
.endfor
|
||||
|
||||
.endif
|
||||
CONFIGURE_ENV+=am_cv_func_iconv=no
|
||||
CONFIGURE_ENV+=ac_cv_prog_CONFIGURED_M4=/usr/bin/m4
|
||||
|
||||
# Note: the configure target passes CFLAGS to the configure script anyways.
|
||||
|
||||
CFLAGS=-O2 -g
|
||||
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--verbose \
|
||||
--program-transform-name=s,^,e, \
|
||||
--disable-nls \
|
||||
--disable-checking \
|
||||
--with-system-zlib \
|
||||
--enable-libmudflap \
|
||||
--enable-languages=${LANGS}
|
||||
|
||||
# This is needed, as internal cpp is no longer compatible with the
|
||||
# visible beast
|
||||
CONFIGURE_ARGS+=--enable-cpp
|
||||
|
||||
.if ${MAKE_JAVA:L} == "yes"
|
||||
CONFIGURE_ARGS+=--enable-sjlj-exceptions
|
||||
.endif
|
||||
|
||||
|
||||
# if you wish to try your luck
|
||||
#CONFIGURE_ARGS+= --enable-threads=posix
|
||||
|
||||
CONFIGURE_ARGS += --with-gnu-as
|
||||
CONFIGURE_ARGS += --with-gnu-ld
|
||||
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
||||
|
||||
post-patch:
|
||||
cd ${WRKDIST}/libstdc++-v3 && AUTOCONF_VERSION=2.59 autoconf
|
||||
|
||||
SEPARATE_BUILD=concurrent
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
# you shouldn't skip bootstrap unless you know what you're doing
|
||||
# use bootstrap-lean if you're pressed for space
|
||||
ALL_TARGET=bootstrap
|
||||
|
||||
MAKE_FLAGS=libstdc___la_LDFLAGS='-version-info 31:0:0 -lm'
|
||||
|
||||
|
||||
.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "sparc"
|
||||
PKG_ARGS+=-DPIC=1
|
||||
.else
|
||||
PKG_ARGS+=-DPIC=0
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
PKG_ARGS+=-DPPC=1
|
||||
.else
|
||||
PKG_ARGS+=-DPPC=0
|
||||
.endif
|
||||
|
||||
SUBPACKAGE?=
|
||||
.if defined(PACKAGING)
|
||||
. if !empty(SUBPACKAGE) && ${SUBPACKAGE} != "-estdc"
|
||||
RUN_DEPENDS+=::${PKGPATH}
|
||||
. endif
|
||||
. if ${SUBPACKAGE} == "-c++"
|
||||
RUN_DEPENDS+=::${PKGPATH},-estdc
|
||||
. endif
|
||||
.endif
|
||||
.if !defined(PACKAGING) || ${SUBPACKAGE} == "-f95"
|
||||
LIB_DEPENDS+=gmp:gmp->=4.1.4:devel/gmp
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
8
lang/gcc/4.1/distinfo
Normal file
8
lang/gcc/4.1/distinfo
Normal file
@ -0,0 +1,8 @@
|
||||
MD5 (gcc/adastrap-i386-3.3.5-1.tgz) = f8c1992077e0b713922e738210dd3674
|
||||
MD5 (gcc/gcc-4.1-20050227.tar.bz2) = 3428afd23d9cd9523d32e21980163575
|
||||
RMD160 (gcc/adastrap-i386-3.3.5-1.tgz) = 644b12c337b02ea5c02735f0ea3830081761bf26
|
||||
RMD160 (gcc/gcc-4.1-20050227.tar.bz2) = 252992f2835306bb2fc6bdd22a8cf21300c25e13
|
||||
SHA1 (gcc/adastrap-i386-3.3.5-1.tgz) = 4c26ff21dcecbc37afa31b8ef63d5cdd7fe65d7e
|
||||
SHA1 (gcc/gcc-4.1-20050227.tar.bz2) = 847bd862a729f987e558d2a05b28681cc761ec71
|
||||
SIZE (gcc/adastrap-i386-3.3.5-1.tgz) = 12121161
|
||||
SIZE (gcc/gcc-4.1-20050227.tar.bz2) = 29223852
|
14
lang/gcc/4.1/patches/patch-fixincludes_Makefile_in
Normal file
14
lang/gcc/4.1/patches/patch-fixincludes_Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-fixincludes_Makefile_in,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- fixincludes/Makefile.in.orig Fri Jan 7 04:10:08 2005
|
||||
+++ fixincludes/Makefile.in Fri Jan 7 04:10:14 2005
|
||||
@@ -163,8 +163,8 @@ $(srcdir)/aclocal.m4: @MAINT@ $(srcdir)/
|
||||
cp $(srcdir)/../gcc/aclocal.m4 .
|
||||
|
||||
check : all
|
||||
- autogen -T $(srcdir)/check.tpl $(srcdir)/inclhack.def
|
||||
- $(SHELL) ./check.sh $(srcdir)/tests/base
|
||||
+ -autogen -T $(srcdir)/check.tpl $(srcdir)/inclhack.def
|
||||
+ -$(SHELL) ./check.sh $(srcdir)/tests/base
|
||||
@rm -f ./check.sh
|
||||
|
||||
install : all
|
21
lang/gcc/4.1/patches/patch-gcc_ada_adaint_c
Normal file
21
lang/gcc/4.1/patches/patch-gcc_ada_adaint_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-gcc_ada_adaint_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/ada/adaint.c.orig Thu Feb 10 14:51:58 2005
|
||||
+++ gcc/ada/adaint.c Tue Feb 22 19:38:40 2005
|
||||
@@ -716,7 +716,7 @@ __gnat_open_new_temp (char *path, int fm
|
||||
|
||||
strcpy (path, "GNAT-XXXXXX");
|
||||
|
||||
-#if (defined (__FreeBSD__) || defined (linux)) && !defined (__vxworks)
|
||||
+#if (defined (__FreeBSD__) || defined (__OpenBSD__) || defined (linux)) && !defined (__vxworks)
|
||||
return mkstemp (path);
|
||||
#elif defined (__Lynx__)
|
||||
mktemp (path);
|
||||
@@ -806,7 +806,7 @@ __gnat_tmp_name (char *tmp_filename)
|
||||
free (pname);
|
||||
}
|
||||
|
||||
-#elif defined (linux) || defined (__FreeBSD__)
|
||||
+#elif defined (linux) || defined (__FreeBSD__) || defined(__OpenBSD__)
|
||||
#define MAX_SAFE_PATH 1000
|
||||
char *tmpdir = getenv ("TMPDIR");
|
||||
|
12
lang/gcc/4.1/patches/patch-gcc_ada_gnatchop_adb
Normal file
12
lang/gcc/4.1/patches/patch-gcc_ada_gnatchop_adb
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_gnatchop_adb,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/ada/gnatchop.adb.orig Thu Feb 10 14:49:13 2005
|
||||
+++ gcc/ada/gnatchop.adb Tue Feb 22 19:38:40 2005
|
||||
@@ -45,7 +45,7 @@ procedure Gnatchop is
|
||||
Config_File_Name : constant String_Access := new String'("gnat.adc");
|
||||
-- The name of the file holding the GNAT configuration pragmas
|
||||
|
||||
- Gcc : String_Access := new String'("gcc");
|
||||
+ Gcc : String_Access := new String'("egcc");
|
||||
-- May be modified by switch --GCC=
|
||||
|
||||
Gcc_Set : Boolean := False;
|
12
lang/gcc/4.1/patches/patch-gcc_ada_gnatlink_adb
Normal file
12
lang/gcc/4.1/patches/patch-gcc_ada_gnatlink_adb
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_gnatlink_adb,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/ada/gnatlink.adb.orig Fri Jan 7 04:27:56 2005
|
||||
+++ gcc/ada/gnatlink.adb Fri Jan 7 04:28:03 2005
|
||||
@@ -123,7 +123,7 @@ procedure Gnatlink is
|
||||
-- This table collects the arguments to be passed to compile the binder
|
||||
-- generated file.
|
||||
|
||||
- Gcc : String_Access := Program_Name ("gcc");
|
||||
+ Gcc : String_Access := Program_Name ("egcc");
|
||||
|
||||
Read_Mode : constant String := "r" & ASCII.Nul;
|
||||
|
12
lang/gcc/4.1/patches/patch-gcc_ada_make_adb
Normal file
12
lang/gcc/4.1/patches/patch-gcc_ada_make_adb
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_make_adb,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/ada/make.adb.orig Fri Jan 7 04:28:13 2005
|
||||
+++ gcc/ada/make.adb Fri Jan 7 04:28:31 2005
|
||||
@@ -577,7 +577,7 @@ package body Make is
|
||||
-- Compiler, Binder & Linker Data and Subprograms --
|
||||
----------------------------------------------------
|
||||
|
||||
- Gcc : String_Access := Program_Name ("gcc");
|
||||
+ Gcc : String_Access := Program_Name ("egcc");
|
||||
Gnatbind : String_Access := Program_Name ("gnatbind");
|
||||
Gnatlink : String_Access := Program_Name ("gnatlink");
|
||||
-- Default compiler, binder, linker programs
|
12
lang/gcc/4.1/patches/patch-gcc_ada_mlib-utl_adb
Normal file
12
lang/gcc/4.1/patches/patch-gcc_ada_mlib-utl_adb
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_mlib-utl_adb,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/ada/mlib-utl.adb.orig Fri Jan 7 04:28:41 2005
|
||||
+++ gcc/ada/mlib-utl.adb Fri Jan 7 04:28:50 2005
|
||||
@@ -38,7 +38,7 @@ package body MLib.Utl is
|
||||
|
||||
Initialized : Boolean := False;
|
||||
|
||||
- Gcc_Name : constant String := "gcc";
|
||||
+ Gcc_Name : constant String := "egcc";
|
||||
Gcc_Exec : OS_Lib.String_Access;
|
||||
|
||||
Ar_Name : OS_Lib.String_Access;
|
245
lang/gcc/4.1/patches/patch-gcc_c-aux-info_c
Normal file
245
lang/gcc/4.1/patches/patch-gcc_c-aux-info_c
Normal file
@ -0,0 +1,245 @@
|
||||
$OpenBSD: patch-gcc_c-aux-info_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/c-aux-info.c.orig Tue Sep 14 08:45:13 2004
|
||||
+++ gcc/c-aux-info.c Tue Sep 14 08:47:34 2004
|
||||
@@ -91,14 +91,14 @@ affix_data_type (const char *param)
|
||||
add a blank after the data-type of course. */
|
||||
|
||||
if (p == type_or_decl)
|
||||
- return concat (data_type, " ", type_or_decl, NULL);
|
||||
+ return concat (data_type, " ", type_or_decl, (void *)0);
|
||||
|
||||
saved = *p;
|
||||
*p = '\0';
|
||||
- qualifiers_then_data_type = concat (type_or_decl, data_type, NULL);
|
||||
+ qualifiers_then_data_type = concat (type_or_decl, data_type, (void *)0);
|
||||
*p = saved;
|
||||
return reconcat (qualifiers_then_data_type,
|
||||
- qualifiers_then_data_type, " ", p, NULL);
|
||||
+ qualifiers_then_data_type, " ", p, (void *)0);
|
||||
}
|
||||
|
||||
/* Given a tree node which represents some "function type", generate the
|
||||
@@ -123,13 +123,13 @@ gen_formal_list_for_type (tree fntype, f
|
||||
const char *this_type;
|
||||
|
||||
if (*formal_list)
|
||||
- formal_list = concat (formal_list, ", ", NULL);
|
||||
+ formal_list = concat (formal_list, ", ", (void *)0);
|
||||
|
||||
this_type = gen_type ("", TREE_VALUE (formal_type), ansi);
|
||||
formal_list
|
||||
= ((strlen (this_type))
|
||||
- ? concat (formal_list, affix_data_type (this_type), NULL)
|
||||
- : concat (formal_list, data_type, NULL));
|
||||
+ ? concat (formal_list, affix_data_type (this_type), (void *)0)
|
||||
+ : concat (formal_list, data_type, (void *)0));
|
||||
|
||||
formal_type = TREE_CHAIN (formal_type);
|
||||
}
|
||||
@@ -178,10 +178,10 @@ gen_formal_list_for_type (tree fntype, f
|
||||
petered out to a NULL (i.e. without being terminated by a
|
||||
void_type_node) then we need to tack on an ellipsis. */
|
||||
if (!formal_type)
|
||||
- formal_list = concat (formal_list, ", ...", NULL);
|
||||
+ formal_list = concat (formal_list, ", ...", (void *)0);
|
||||
}
|
||||
|
||||
- return concat (" (", formal_list, ")", NULL);
|
||||
+ return concat (" (", formal_list, ")", (void *)0);
|
||||
}
|
||||
|
||||
/* For the generation of an ANSI prototype for a function definition, we have
|
||||
@@ -237,23 +237,23 @@ gen_formal_list_for_func_def (tree fndec
|
||||
const char *this_formal;
|
||||
|
||||
if (*formal_list && ((style == ansi) || (style == k_and_r_names)))
|
||||
- formal_list = concat (formal_list, ", ", NULL);
|
||||
+ formal_list = concat (formal_list, ", ", (void *)0);
|
||||
this_formal = gen_decl (formal_decl, 0, style);
|
||||
if (style == k_and_r_decls)
|
||||
- formal_list = concat (formal_list, this_formal, "; ", NULL);
|
||||
+ formal_list = concat (formal_list, this_formal, "; ", (void *)0);
|
||||
else
|
||||
- formal_list = concat (formal_list, this_formal, NULL);
|
||||
+ formal_list = concat (formal_list, this_formal, (void *)0);
|
||||
formal_decl = TREE_CHAIN (formal_decl);
|
||||
}
|
||||
if (style == ansi)
|
||||
{
|
||||
if (!DECL_ARGUMENTS (fndecl))
|
||||
- formal_list = concat (formal_list, "void", NULL);
|
||||
+ formal_list = concat (formal_list, "void", (void *)0);
|
||||
if (deserves_ellipsis (TREE_TYPE (fndecl)))
|
||||
- formal_list = concat (formal_list, ", ...", NULL);
|
||||
+ formal_list = concat (formal_list, ", ...", (void *)0);
|
||||
}
|
||||
if ((style == ansi) || (style == k_and_r_names))
|
||||
- formal_list = concat (" (", formal_list, ")", NULL);
|
||||
+ formal_list = concat (" (", formal_list, ")", (void *)0);
|
||||
return formal_list;
|
||||
}
|
||||
|
||||
@@ -312,14 +312,14 @@ gen_type (const char *ret_val, tree t, f
|
||||
{
|
||||
case POINTER_TYPE:
|
||||
if (TYPE_READONLY (t))
|
||||
- ret_val = concat ("const ", ret_val, NULL);
|
||||
+ ret_val = concat ("const ", ret_val, (void *)0);
|
||||
if (TYPE_VOLATILE (t))
|
||||
- ret_val = concat ("volatile ", ret_val, NULL);
|
||||
+ ret_val = concat ("volatile ", ret_val, (void *)0);
|
||||
|
||||
- ret_val = concat ("*", ret_val, NULL);
|
||||
+ ret_val = concat ("*", ret_val, (void *)0);
|
||||
|
||||
if (TREE_CODE (TREE_TYPE (t)) == ARRAY_TYPE || TREE_CODE (TREE_TYPE (t)) == FUNCTION_TYPE)
|
||||
- ret_val = concat ("(", ret_val, ")", NULL);
|
||||
+ ret_val = concat ("(", ret_val, ")", (void *)0);
|
||||
|
||||
ret_val = gen_type (ret_val, TREE_TYPE (t), style);
|
||||
|
||||
@@ -327,17 +327,17 @@ gen_type (const char *ret_val, tree t, f
|
||||
|
||||
case ARRAY_TYPE:
|
||||
if (!COMPLETE_TYPE_P (t) || TREE_CODE (TYPE_SIZE (t)) != INTEGER_CST)
|
||||
- ret_val = gen_type (concat (ret_val, "[]", NULL),
|
||||
+ ret_val = gen_type (concat (ret_val, "[]", (void *)0),
|
||||
TREE_TYPE (t), style);
|
||||
else if (int_size_in_bytes (t) == 0)
|
||||
- ret_val = gen_type (concat (ret_val, "[0]", NULL),
|
||||
+ ret_val = gen_type (concat (ret_val, "[0]", (void *)0),
|
||||
TREE_TYPE (t), style);
|
||||
else
|
||||
{
|
||||
int size = (int_size_in_bytes (t) / int_size_in_bytes (TREE_TYPE (t)));
|
||||
char buff[10];
|
||||
sprintf (buff, "[%d]", size);
|
||||
- ret_val = gen_type (concat (ret_val, buff, NULL),
|
||||
+ ret_val = gen_type (concat (ret_val, buff, (void *)0),
|
||||
TREE_TYPE (t), style);
|
||||
}
|
||||
break;
|
||||
@@ -345,7 +345,7 @@ gen_type (const char *ret_val, tree t, f
|
||||
case FUNCTION_TYPE:
|
||||
ret_val = gen_type (concat (ret_val,
|
||||
gen_formal_list_for_type (t, style),
|
||||
- NULL),
|
||||
+ (void *)0),
|
||||
TREE_TYPE (t), style);
|
||||
break;
|
||||
|
||||
@@ -374,13 +374,13 @@ gen_type (const char *ret_val, tree t, f
|
||||
while (chain_p)
|
||||
{
|
||||
data_type = concat (data_type, gen_decl (chain_p, 0, ansi),
|
||||
- NULL);
|
||||
+ (void *)0);
|
||||
chain_p = TREE_CHAIN (chain_p);
|
||||
- data_type = concat (data_type, "; ", NULL);
|
||||
+ data_type = concat (data_type, "; ", (void *)0);
|
||||
}
|
||||
- data_type = concat ("{ ", data_type, "}", NULL);
|
||||
+ data_type = concat ("{ ", data_type, "}", (void *)0);
|
||||
}
|
||||
- data_type = concat ("struct ", data_type, NULL);
|
||||
+ data_type = concat ("struct ", data_type, (void *)0);
|
||||
break;
|
||||
|
||||
case UNION_TYPE:
|
||||
@@ -393,13 +393,13 @@ gen_type (const char *ret_val, tree t, f
|
||||
while (chain_p)
|
||||
{
|
||||
data_type = concat (data_type, gen_decl (chain_p, 0, ansi),
|
||||
- NULL);
|
||||
+ (void *)0);
|
||||
chain_p = TREE_CHAIN (chain_p);
|
||||
- data_type = concat (data_type, "; ", NULL);
|
||||
+ data_type = concat (data_type, "; ", (void *)0);
|
||||
}
|
||||
- data_type = concat ("{ ", data_type, "}", NULL);
|
||||
+ data_type = concat ("{ ", data_type, "}", (void *)0);
|
||||
}
|
||||
- data_type = concat ("union ", data_type, NULL);
|
||||
+ data_type = concat ("union ", data_type, (void *)0);
|
||||
break;
|
||||
|
||||
case ENUMERAL_TYPE:
|
||||
@@ -412,14 +412,14 @@ gen_type (const char *ret_val, tree t, f
|
||||
while (chain_p)
|
||||
{
|
||||
data_type = concat (data_type,
|
||||
- IDENTIFIER_POINTER (TREE_PURPOSE (chain_p)), NULL);
|
||||
+ IDENTIFIER_POINTER (TREE_PURPOSE (chain_p)), (void *)0);
|
||||
chain_p = TREE_CHAIN (chain_p);
|
||||
if (chain_p)
|
||||
- data_type = concat (data_type, ", ", NULL);
|
||||
+ data_type = concat (data_type, ", ", (void *)0);
|
||||
}
|
||||
- data_type = concat ("{ ", data_type, " }", NULL);
|
||||
+ data_type = concat ("{ ", data_type, " }", (void *)0);
|
||||
}
|
||||
- data_type = concat ("enum ", data_type, NULL);
|
||||
+ data_type = concat ("enum ", data_type, (void *)0);
|
||||
break;
|
||||
|
||||
case TYPE_DECL:
|
||||
@@ -431,7 +431,7 @@ gen_type (const char *ret_val, tree t, f
|
||||
/* Normally, `unsigned' is part of the deal. Not so if it comes
|
||||
with a type qualifier. */
|
||||
if (TYPE_UNSIGNED (t) && TYPE_QUALS (t))
|
||||
- data_type = concat ("unsigned ", data_type, NULL);
|
||||
+ data_type = concat ("unsigned ", data_type, (void *)0);
|
||||
break;
|
||||
|
||||
case REAL_TYPE:
|
||||
@@ -451,11 +451,11 @@ gen_type (const char *ret_val, tree t, f
|
||||
}
|
||||
}
|
||||
if (TYPE_READONLY (t))
|
||||
- ret_val = concat ("const ", ret_val, NULL);
|
||||
+ ret_val = concat ("const ", ret_val, (void *)0);
|
||||
if (TYPE_VOLATILE (t))
|
||||
- ret_val = concat ("volatile ", ret_val, NULL);
|
||||
+ ret_val = concat ("volatile ", ret_val, (void *)0);
|
||||
if (TYPE_RESTRICT (t))
|
||||
- ret_val = concat ("restrict ", ret_val, NULL);
|
||||
+ ret_val = concat ("restrict ", ret_val, (void *)0);
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
@@ -494,9 +494,9 @@ gen_decl (tree decl, int is_func_definit
|
||||
generate the qualifiers here. */
|
||||
|
||||
if (TREE_THIS_VOLATILE (decl))
|
||||
- ret_val = concat ("volatile ", ret_val, NULL);
|
||||
+ ret_val = concat ("volatile ", ret_val, (void *)0);
|
||||
if (TREE_READONLY (decl))
|
||||
- ret_val = concat ("const ", ret_val, NULL);
|
||||
+ ret_val = concat ("const ", ret_val, (void *)0);
|
||||
|
||||
data_type = "";
|
||||
|
||||
@@ -515,7 +515,7 @@ gen_decl (tree decl, int is_func_definit
|
||||
if (TREE_CODE (decl) == FUNCTION_DECL && is_func_definition)
|
||||
{
|
||||
ret_val = concat (ret_val, gen_formal_list_for_func_def (decl, ansi),
|
||||
- NULL);
|
||||
+ (void *)0);
|
||||
|
||||
/* Since we have already added in the formals list stuff, here we don't
|
||||
add the whole "type" of the function we are considering (which
|
||||
@@ -532,11 +532,11 @@ gen_decl (tree decl, int is_func_definit
|
||||
ret_val = affix_data_type (ret_val);
|
||||
|
||||
if (TREE_CODE (decl) != FUNCTION_DECL && C_DECL_REGISTER (decl))
|
||||
- ret_val = concat ("register ", ret_val, NULL);
|
||||
+ ret_val = concat ("register ", ret_val, (void *)0);
|
||||
if (TREE_PUBLIC (decl))
|
||||
- ret_val = concat ("extern ", ret_val, NULL);
|
||||
+ ret_val = concat ("extern ", ret_val, (void *)0);
|
||||
if (TREE_CODE (decl) == FUNCTION_DECL && !TREE_PUBLIC (decl))
|
||||
- ret_val = concat ("static ", ret_val, NULL);
|
||||
+ ret_val = concat ("static ", ret_val, (void *)0);
|
||||
|
||||
return ret_val;
|
||||
}
|
21
lang/gcc/4.1/patches/patch-gcc_c-incpath_c
Normal file
21
lang/gcc/4.1/patches/patch-gcc_c-incpath_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-gcc_c-incpath_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/c-incpath.c.orig Tue Sep 14 08:48:54 2004
|
||||
+++ gcc/c-incpath.c Tue Sep 14 08:49:15 2004
|
||||
@@ -141,7 +141,7 @@ add_standard_paths (const char *sysroot,
|
||||
continue;
|
||||
if (!strncmp (p->fname, cpp_GCC_INCLUDE_DIR, len))
|
||||
{
|
||||
- char *str = concat (iprefix, p->fname + len, NULL);
|
||||
+ char *str = concat (iprefix, p->fname + len, (void *)0);
|
||||
add_path (str, SYSTEM, p->cxx_aware, false);
|
||||
}
|
||||
}
|
||||
@@ -156,7 +156,7 @@ add_standard_paths (const char *sysroot,
|
||||
|
||||
/* Should this directory start with the sysroot? */
|
||||
if (sysroot && p->add_sysroot)
|
||||
- str = concat (sysroot, p->fname, NULL);
|
||||
+ str = concat (sysroot, p->fname, (void *)0);
|
||||
else
|
||||
str = update_path (p->fname, p->component);
|
||||
|
85
lang/gcc/4.1/patches/patch-gcc_collect2_c
Normal file
85
lang/gcc/4.1/patches/patch-gcc_collect2_c
Normal file
@ -0,0 +1,85 @@
|
||||
$OpenBSD: patch-gcc_collect2_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/collect2.c.orig Mon Jan 17 16:23:51 2005
|
||||
+++ gcc/collect2.c Mon Jan 17 16:24:43 2005
|
||||
@@ -779,19 +779,19 @@ main (int argc, char **argv)
|
||||
qualify the program name with the target machine. */
|
||||
|
||||
const char *const full_ld_suffix =
|
||||
- concat(target_machine, "-", ld_suffix, NULL);
|
||||
+ concat(target_machine, "-", ld_suffix, (char *)0);
|
||||
const char *const full_nm_suffix =
|
||||
- concat (target_machine, "-", nm_suffix, NULL);
|
||||
+ concat (target_machine, "-", nm_suffix, (char *)0);
|
||||
const char *const full_gnm_suffix =
|
||||
- concat (target_machine, "-", gnm_suffix, NULL);
|
||||
+ concat (target_machine, "-", gnm_suffix, (char *)0);
|
||||
#ifdef LDD_SUFFIX
|
||||
const char *const full_ldd_suffix =
|
||||
- concat (target_machine, "-", ldd_suffix, NULL);
|
||||
+ concat (target_machine, "-", ldd_suffix, (char *)0);
|
||||
#endif
|
||||
const char *const full_strip_suffix =
|
||||
- concat (target_machine, "-", strip_suffix, NULL);
|
||||
+ concat (target_machine, "-", strip_suffix, (char *)0);
|
||||
const char *const full_gstrip_suffix =
|
||||
- concat (target_machine, "-", gstrip_suffix, NULL);
|
||||
+ concat (target_machine, "-", gstrip_suffix, (char *)0);
|
||||
#else
|
||||
const char *const full_ld_suffix = ld_suffix;
|
||||
const char *const full_nm_suffix = nm_suffix;
|
||||
@@ -981,7 +981,7 @@ main (int argc, char **argv)
|
||||
if (c_file_name == 0)
|
||||
{
|
||||
#ifdef CROSS_COMPILE
|
||||
- c_file_name = concat (target_machine, "-gcc", NULL);
|
||||
+ c_file_name = concat (target_machine, "-gcc", (char *)0);
|
||||
#else
|
||||
c_file_name = "gcc";
|
||||
#endif
|
||||
@@ -1258,7 +1258,7 @@ main (int argc, char **argv)
|
||||
|
||||
if (exports.first)
|
||||
{
|
||||
- char *buf = concat ("-bE:", export_file, NULL);
|
||||
+ char *buf = concat ("-bE:", export_file, (char *)0);
|
||||
|
||||
*ld1++ = buf;
|
||||
*ld2++ = buf;
|
||||
@@ -1423,7 +1423,7 @@ main (int argc, char **argv)
|
||||
/* Tell the linker that we have initializer and finalizer functions. */
|
||||
#ifdef LD_INIT_SWITCH
|
||||
#ifdef COLLECT_EXPORT_LIST
|
||||
- *ld2++ = concat (LD_INIT_SWITCH, ":", initname, ":", fininame, NULL);
|
||||
+ *ld2++ = concat (LD_INIT_SWITCH, ":", initname, ":", fininame, (char *)0);
|
||||
#else
|
||||
*ld2++ = LD_INIT_SWITCH;
|
||||
*ld2++ = initname;
|
||||
@@ -1438,7 +1438,7 @@ main (int argc, char **argv)
|
||||
/* If we did not add export flag to link arguments before, add it to
|
||||
second link phase now. No new exports should have been added. */
|
||||
if (! exports.first)
|
||||
- *ld2++ = concat ("-bE:", export_file, NULL);
|
||||
+ *ld2++ = concat ("-bE:", export_file, (char *)0);
|
||||
|
||||
#ifndef LD_INIT_SWITCH
|
||||
add_to_list (&exports, initname);
|
||||
@@ -1590,7 +1590,7 @@ collect_execute (const char *prog, char
|
||||
dup2 (redir_handle, STDERR_FILENO);
|
||||
}
|
||||
|
||||
- pid = pexecute (argv[0], argv, argv[0], NULL, &errmsg_fmt, &errmsg_arg,
|
||||
+ pid = pexecute (argv[0], argv, argv[0], (char *)0, &errmsg_fmt, &errmsg_arg,
|
||||
(PEXECUTE_FIRST | PEXECUTE_LAST | PEXECUTE_SEARCH));
|
||||
|
||||
if (redir)
|
||||
@@ -1845,8 +1845,8 @@ write_c_file_stat (FILE *stream, const c
|
||||
notice ("\nwrite_c_file - output name is %s, prefix is %s\n",
|
||||
output_file, prefix);
|
||||
|
||||
- initname = concat ("_GLOBAL__FI_", prefix, NULL);
|
||||
- fininame = concat ("_GLOBAL__FD_", prefix, NULL);
|
||||
+ initname = concat ("_GLOBAL__FI_", prefix, (char *)0);
|
||||
+ fininame = concat ("_GLOBAL__FD_", prefix, (char *)0);
|
||||
|
||||
free (prefix);
|
||||
|
14
lang/gcc/4.1/patches/patch-gcc_config_host
Normal file
14
lang/gcc/4.1/patches/patch-gcc_config_host
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-gcc_config_host,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/config.host.orig Mon Jan 31 14:52:55 2005
|
||||
+++ gcc/config.host Mon Jan 31 14:53:22 2005
|
||||
@@ -178,6 +178,10 @@ case ${host} in
|
||||
out_host_hook_obj=host-solaris.o
|
||||
host_xmake_file=x-solaris
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ out_host_hook_obj=host-openbsd.o
|
||||
+ host_xmake_file=x-openbsd
|
||||
+ ;;
|
||||
*-*-linux*)
|
||||
out_host_hook_obj=host-linux.o
|
||||
host_xmake_file=x-linux
|
45
lang/gcc/4.1/patches/patch-gcc_config_host-openbsd_c
Normal file
45
lang/gcc/4.1/patches/patch-gcc_config_host-openbsd_c
Normal file
@ -0,0 +1,45 @@
|
||||
$OpenBSD: patch-gcc_config_host-openbsd_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/config/host-openbsd.c.orig Mon Jan 31 15:01:58 2005
|
||||
+++ gcc/config/host-openbsd.c Mon Jan 31 16:12:04 2005
|
||||
@@ -0,0 +1,41 @@
|
||||
+/* OpenBSD host-specific hook definitions.
|
||||
+ Copyright (C) 2005 Free Software Foundation, Inc.
|
||||
+
|
||||
+ This file is part of GCC.
|
||||
+
|
||||
+ GCC is free software; you can redistribute it and/or modify it
|
||||
+ under the terms of the GNU General Public License as published
|
||||
+ by the Free Software Foundation; either version 2, or (at your
|
||||
+ option) any later version.
|
||||
+
|
||||
+ GCC is distributed in the hope that it will be useful, but WITHOUT
|
||||
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
||||
+ License for more details.
|
||||
+
|
||||
+ You should have received a copy of the GNU General Public License
|
||||
+ along with GCC; see the file COPYING. If not, write to the
|
||||
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston,
|
||||
+ MA 02111-1307, USA. */
|
||||
+
|
||||
+#include "config.h"
|
||||
+#include "system.h"
|
||||
+#include "coretypes.h"
|
||||
+#include <sys/mman.h>
|
||||
+#include "hosthooks.h"
|
||||
+#include "hosthooks-def.h"
|
||||
+
|
||||
+
|
||||
+#undef HOST_HOOKS_GT_PCH_USE_ADDRESS
|
||||
+#define HOST_HOOKS_GT_PCH_USE_ADDRESS openbsd_gt_pch_use_address
|
||||
+
|
||||
+static int
|
||||
+openbsd_gt_pch_use_address (void *base ATTRIBUTE_UNUSED,
|
||||
+ size_t size ATTRIBUTE_UNUSED, int fd ATTRIBUTE_UNUSED,
|
||||
+ size_t offset ATTRIBUTE_UNUSED)
|
||||
+{
|
||||
+ return -1;
|
||||
+}
|
||||
+
|
||||
+
|
||||
+const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;
|
8
lang/gcc/4.1/patches/patch-gcc_config_x-openbsd
Normal file
8
lang/gcc/4.1/patches/patch-gcc_config_x-openbsd
Normal file
@ -0,0 +1,8 @@
|
||||
$OpenBSD: patch-gcc_config_x-openbsd,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/config/x-openbsd.orig Mon Jan 31 14:50:47 2005
|
||||
+++ gcc/config/x-openbsd Mon Jan 31 14:51:13 2005
|
||||
@@ -0,0 +1,4 @@
|
||||
+host-openbsd.o : $(srcdir)/config/host-openbsd.c $(CONFIG_H) $(SYSTEM_H) \
|
||||
+ coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
|
||||
+ $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
||||
+ $(srcdir)/config/host-openbsd.c
|
12
lang/gcc/4.1/patches/patch-gcc_coverage_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_coverage_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_coverage_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/coverage.c.orig Tue Sep 14 08:58:02 2004
|
||||
+++ gcc/coverage.c Tue Sep 14 08:58:09 2004
|
||||
@@ -812,7 +812,7 @@ build_gcov_info (void)
|
||||
fields = field;
|
||||
filename = getpwd ();
|
||||
filename = (filename && da_file_name[0] != '/'
|
||||
- ? concat (filename, "/", da_file_name, NULL)
|
||||
+ ? concat (filename, "/", da_file_name, (void *)0)
|
||||
: da_file_name);
|
||||
filename_len = strlen (filename);
|
||||
filename_string = build_string (filename_len + 1, filename);
|
21
lang/gcc/4.1/patches/patch-gcc_cp_call_c
Normal file
21
lang/gcc/4.1/patches/patch-gcc_cp_call_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-gcc_cp_call_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/cp/call.c.orig Thu Feb 24 22:55:10 2005
|
||||
+++ gcc/cp/call.c Sun Feb 27 19:09:06 2005
|
||||
@@ -5184,7 +5184,7 @@ name_as_c_string (tree name, tree type,
|
||||
|| name == base_dtor_identifier
|
||||
|| name == deleting_dtor_identifier)
|
||||
{
|
||||
- pretty_name = concat ("~", pretty_name, NULL);
|
||||
+ pretty_name = concat ("~", pretty_name, (void *)0);
|
||||
/* Remember that we need to free the memory allocated. */
|
||||
*free_p = true;
|
||||
}
|
||||
@@ -5194,7 +5194,7 @@ name_as_c_string (tree name, tree type,
|
||||
pretty_name = concat ("operator ",
|
||||
type_as_string (TREE_TYPE (name),
|
||||
TFF_PLAIN_IDENTIFIER),
|
||||
- NULL);
|
||||
+ (void *)0);
|
||||
/* Remember that we need to free the memory allocated. */
|
||||
*free_p = true;
|
||||
}
|
12
lang/gcc/4.1/patches/patch-gcc_cp_g++spec_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_cp_g++spec_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_cp_g++spec_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/cp/g++spec.c.orig Tue Sep 14 01:21:39 2004
|
||||
+++ gcc/cp/g++spec.c Tue Sep 14 01:22:16 2004
|
||||
@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#endif
|
||||
|
||||
#ifndef LIBSTDCXX
|
||||
-#define LIBSTDCXX "-lstdc++"
|
||||
+#define LIBSTDCXX "-lestdc++"
|
||||
#endif
|
||||
#ifndef LIBSTDCXX_PROFILE
|
||||
#define LIBSTDCXX_PROFILE LIBSTDCXX
|
12
lang/gcc/4.1/patches/patch-gcc_cp_parser_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_cp_parser_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_cp_parser_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/cp/parser.c.orig Thu Feb 24 22:55:15 2005
|
||||
+++ gcc/cp/parser.c Sun Feb 27 19:09:06 2005
|
||||
@@ -15589,7 +15589,7 @@ cp_parser_require (cp_parser* parser,
|
||||
/* Output the MESSAGE -- unless we're parsing tentatively. */
|
||||
if (!cp_parser_simulate_error (parser))
|
||||
{
|
||||
- char *message = concat ("expected ", token_desc, NULL);
|
||||
+ char *message = concat ("expected ", token_desc, (void *)0);
|
||||
cp_parser_error (parser, message);
|
||||
free (message);
|
||||
}
|
12
lang/gcc/4.1/patches/patch-gcc_dbxout_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_dbxout_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_dbxout_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/dbxout.c.orig Wed Feb 16 20:01:29 2005
|
||||
+++ gcc/dbxout.c Tue Feb 22 19:38:42 2005
|
||||
@@ -999,7 +999,7 @@ dbxout_init (const char *input_file_name
|
||||
if (cwd[0] == '\0')
|
||||
cwd = "/";
|
||||
else if (!IS_DIR_SEPARATOR (cwd[strlen (cwd) - 1]))
|
||||
- cwd = concat (cwd, "/", NULL);
|
||||
+ cwd = concat (cwd, "/", (void *)0);
|
||||
}
|
||||
#ifdef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
|
||||
DBX_OUTPUT_MAIN_SOURCE_DIRECTORY (asm_out_file, cwd);
|
201
lang/gcc/4.1/patches/patch-gcc_gcc_c
Normal file
201
lang/gcc/4.1/patches/patch-gcc_gcc_c
Normal file
@ -0,0 +1,201 @@
|
||||
$OpenBSD: patch-gcc_gcc_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/gcc.c.orig Thu Feb 24 00:11:06 2005
|
||||
+++ gcc/gcc.c Sun Feb 27 19:09:07 2005
|
||||
@@ -1293,7 +1293,7 @@ translate_options (int *argcp, const cha
|
||||
/* Store the translation as one argv elt or as two. */
|
||||
if (arg != 0 && strchr (arginfo, 'j') != 0)
|
||||
newv[newindex++] = concat (option_map[j].equivalent, arg,
|
||||
- NULL);
|
||||
+ (void *)0);
|
||||
else if (arg != 0)
|
||||
{
|
||||
newv[newindex++] = option_map[j].equivalent;
|
||||
@@ -1609,7 +1609,7 @@ init_gcc_specs (struct obstack *obstack,
|
||||
shared_name,
|
||||
#endif
|
||||
#endif
|
||||
- "}}}", NULL);
|
||||
+ "}}}", (void *)0);
|
||||
|
||||
obstack_grow (obstack, buf, strlen (buf));
|
||||
free (buf);
|
||||
@@ -1807,7 +1807,7 @@ set_spec (const char *name, const char *
|
||||
|
||||
old_spec = *(sl->ptr_spec);
|
||||
*(sl->ptr_spec) = ((spec[0] == '+' && ISSPACE ((unsigned char)spec[1]))
|
||||
- ? concat (old_spec, spec + 1, NULL)
|
||||
+ ? concat (old_spec, spec + 1, (void *)0)
|
||||
: xstrdup (spec));
|
||||
|
||||
#ifdef DEBUG_SPECS
|
||||
@@ -2465,10 +2465,10 @@ find_a_file (struct path_prefix *pprefix
|
||||
len += len1 > len2 ? len1 : len2;
|
||||
if (multilib_dir)
|
||||
multilib_name = ACONCAT ((multilib_dir, dir_separator_str, name,
|
||||
- NULL));
|
||||
+ (void *)0));
|
||||
if (strcmp (multilib_os_dir, ".") != 0)
|
||||
multilib_os_name = ACONCAT ((multilib_os_dir, dir_separator_str, name,
|
||||
- NULL));
|
||||
+ (void *)0));
|
||||
}
|
||||
|
||||
temp = xmalloc (len);
|
||||
@@ -2627,8 +2627,8 @@ add_sysrooted_prefix (struct path_prefix
|
||||
if (target_system_root)
|
||||
{
|
||||
if (target_sysroot_suffix)
|
||||
- prefix = concat (target_sysroot_suffix, prefix, NULL);
|
||||
- prefix = concat (target_system_root, prefix, NULL);
|
||||
+ prefix = concat (target_sysroot_suffix, prefix, (void *)0);
|
||||
+ prefix = concat (target_system_root, prefix, (void *)0);
|
||||
|
||||
/* We have to override this because GCC's notion of sysroot
|
||||
moves along with GCC. */
|
||||
@@ -3200,7 +3200,7 @@ process_command (int argc, const char **
|
||||
break;
|
||||
new_argv0 = xmemdup (progname, baselen,
|
||||
baselen + concat_length (new_version, new_machine,
|
||||
- "-gcc-", NULL) + 1);
|
||||
+ "-gcc-", (void *)0) + 1);
|
||||
strcpy (new_argv0 + baselen, new_machine);
|
||||
strcat (new_argv0, "-gcc-");
|
||||
strcat (new_argv0, new_version);
|
||||
@@ -3227,7 +3227,7 @@ process_command (int argc, const char **
|
||||
standard_bindir_prefix,
|
||||
standard_libexec_prefix);
|
||||
if (gcc_exec_prefix)
|
||||
- putenv (concat ("GCC_EXEC_PREFIX=", gcc_exec_prefix, NULL));
|
||||
+ putenv (concat ("GCC_EXEC_PREFIX=", gcc_exec_prefix, (void *)0));
|
||||
}
|
||||
else
|
||||
gcc_libexec_prefix = make_relative_prefix (gcc_exec_prefix,
|
||||
@@ -3274,7 +3274,7 @@ process_command (int argc, const char **
|
||||
{
|
||||
strncpy (nstore, startp, endp - startp);
|
||||
if (endp == startp)
|
||||
- strcpy (nstore, concat (".", dir_separator_str, NULL));
|
||||
+ strcpy (nstore, concat (".", dir_separator_str, (void *)0));
|
||||
else if (!IS_DIR_SEPARATOR (endp[-1]))
|
||||
{
|
||||
nstore[endp - startp] = DIR_SEPARATOR;
|
||||
@@ -3308,7 +3308,7 @@ process_command (int argc, const char **
|
||||
{
|
||||
strncpy (nstore, startp, endp - startp);
|
||||
if (endp == startp)
|
||||
- strcpy (nstore, concat (".", dir_separator_str, NULL));
|
||||
+ strcpy (nstore, concat (".", dir_separator_str, (void *)0));
|
||||
else if (!IS_DIR_SEPARATOR (endp[-1]))
|
||||
{
|
||||
nstore[endp - startp] = DIR_SEPARATOR;
|
||||
@@ -3341,7 +3341,7 @@ process_command (int argc, const char **
|
||||
{
|
||||
strncpy (nstore, startp, endp - startp);
|
||||
if (endp == startp)
|
||||
- strcpy (nstore, concat (".", dir_separator_str, NULL));
|
||||
+ strcpy (nstore, concat (".", dir_separator_str, (void *)0));
|
||||
else if (!IS_DIR_SEPARATOR (endp[-1]))
|
||||
{
|
||||
nstore[endp - startp] = DIR_SEPARATOR;
|
||||
@@ -3809,7 +3809,7 @@ warranty; not even for MERCHANTABILITY o
|
||||
PREFIX_PRIORITY_LAST, 1, 0);
|
||||
|
||||
tooldir_prefix = concat (tooldir_base_prefix, spec_machine,
|
||||
- dir_separator_str, NULL);
|
||||
+ dir_separator_str, (void *)0);
|
||||
|
||||
/* If tooldir is relative, base it on exec_prefixes. A relative
|
||||
tooldir lets us move the installed tree as a unit.
|
||||
@@ -3824,28 +3824,28 @@ warranty; not even for MERCHANTABILITY o
|
||||
{
|
||||
char *gcc_exec_tooldir_prefix
|
||||
= concat (gcc_exec_prefix, spec_machine, dir_separator_str,
|
||||
- spec_version, dir_separator_str, tooldir_prefix, NULL);
|
||||
+ spec_version, dir_separator_str, tooldir_prefix, (void *)0);
|
||||
|
||||
add_prefix (&exec_prefixes,
|
||||
concat (gcc_exec_tooldir_prefix, "bin",
|
||||
- dir_separator_str, NULL),
|
||||
+ dir_separator_str, (void *)0),
|
||||
NULL, PREFIX_PRIORITY_LAST, 0, 0);
|
||||
add_prefix (&startfile_prefixes,
|
||||
concat (gcc_exec_tooldir_prefix, "lib",
|
||||
- dir_separator_str, NULL),
|
||||
+ dir_separator_str, (void *)0),
|
||||
NULL, PREFIX_PRIORITY_LAST, 0, 1);
|
||||
}
|
||||
|
||||
tooldir_prefix = concat (standard_exec_prefix, spec_machine,
|
||||
dir_separator_str, spec_version,
|
||||
- dir_separator_str, tooldir_prefix, NULL);
|
||||
+ dir_separator_str, tooldir_prefix, (void *)0);
|
||||
}
|
||||
|
||||
add_prefix (&exec_prefixes,
|
||||
- concat (tooldir_prefix, "bin", dir_separator_str, NULL),
|
||||
+ concat (tooldir_prefix, "bin", dir_separator_str, (void *)0),
|
||||
"BINUTILS", PREFIX_PRIORITY_LAST, 0, 0);
|
||||
add_prefix (&startfile_prefixes,
|
||||
- concat (tooldir_prefix, "lib", dir_separator_str, NULL),
|
||||
+ concat (tooldir_prefix, "lib", dir_separator_str, (void *)0),
|
||||
"BINUTILS", PREFIX_PRIORITY_LAST, 0, 1);
|
||||
|
||||
#if defined(TARGET_SYSTEM_ROOT_RELOCATABLE) && !defined(VMS)
|
||||
@@ -3968,7 +3968,7 @@ warranty; not even for MERCHANTABILITY o
|
||||
{ /* POSIX allows separation of -l and the lib arg;
|
||||
canonicalize by concatenating -l with its arg */
|
||||
infiles[n_infiles].language = "*";
|
||||
- infiles[n_infiles++].name = concat ("-l", argv[++i], NULL);
|
||||
+ infiles[n_infiles++].name = concat ("-l", argv[++i], (void *)0);
|
||||
}
|
||||
else if (strncmp (argv[i], "-l", 2) == 0)
|
||||
{
|
||||
@@ -5920,11 +5920,11 @@ is_directory (const char *path1, const c
|
||||
if (linker
|
||||
&& ((cp - path == 6
|
||||
&& strcmp (path, concat (dir_separator_str, "lib",
|
||||
- dir_separator_str, ".", NULL)) == 0)
|
||||
+ dir_separator_str, ".", (void *)0)) == 0)
|
||||
|| (cp - path == 10
|
||||
&& strcmp (path, concat (dir_separator_str, "usr",
|
||||
dir_separator_str, "lib",
|
||||
- dir_separator_str, ".", NULL)) == 0)))
|
||||
+ dir_separator_str, ".", (void *)0)) == 0)))
|
||||
return 0;
|
||||
|
||||
return (stat (path, &st) >= 0 && S_ISDIR (st.st_mode));
|
||||
@@ -6108,8 +6108,8 @@ main (int argc, const char **argv)
|
||||
/* Read specs from a file if there is one. */
|
||||
|
||||
machine_suffix = concat (spec_machine, dir_separator_str,
|
||||
- spec_version, dir_separator_str, NULL);
|
||||
- just_machine_suffix = concat (spec_machine, dir_separator_str, NULL);
|
||||
+ spec_version, dir_separator_str, (void *)0);
|
||||
+ just_machine_suffix = concat (spec_machine, dir_separator_str, (void *)0);
|
||||
|
||||
specs_file = find_a_file (&startfile_prefixes, "specs", R_OK, 0);
|
||||
/* Read the specs file unless it is a default one. */
|
||||
@@ -6214,12 +6214,12 @@ main (int argc, const char **argv)
|
||||
if (gcc_exec_prefix)
|
||||
add_prefix (&startfile_prefixes,
|
||||
concat (gcc_exec_prefix, machine_suffix,
|
||||
- standard_startfile_prefix, NULL),
|
||||
+ standard_startfile_prefix, (void *)0),
|
||||
NULL, PREFIX_PRIORITY_LAST, 0, 1);
|
||||
add_prefix (&startfile_prefixes,
|
||||
concat (standard_exec_prefix,
|
||||
machine_suffix,
|
||||
- standard_startfile_prefix, NULL),
|
||||
+ standard_startfile_prefix, (void *)0),
|
||||
NULL, PREFIX_PRIORITY_LAST, 0, 1);
|
||||
}
|
||||
|
||||
@@ -6245,7 +6245,7 @@ main (int argc, const char **argv)
|
||||
/* If we have a GCC_EXEC_PREFIX envvar, modify it for cpp's sake. */
|
||||
if (gcc_exec_prefix)
|
||||
gcc_exec_prefix = concat (gcc_exec_prefix, spec_machine, dir_separator_str,
|
||||
- spec_version, dir_separator_str, NULL);
|
||||
+ spec_version, dir_separator_str, (void *)0);
|
||||
|
||||
/* Now we have the specs.
|
||||
Set the `valid' bits for switches that match anything in any spec. */
|
39
lang/gcc/4.1/patches/patch-gcc_gensupport_c
Normal file
39
lang/gcc/4.1/patches/patch-gcc_gensupport_c
Normal file
@ -0,0 +1,39 @@
|
||||
$OpenBSD: patch-gcc_gensupport_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/gensupport.c.orig Thu Dec 16 18:31:58 2004
|
||||
+++ gcc/gensupport.c Mon Jan 3 15:47:20 2005
|
||||
@@ -219,7 +219,7 @@ process_include (rtx desc, int lineno)
|
||||
{
|
||||
static const char sep[2] = { DIR_SEPARATOR, '\0' };
|
||||
|
||||
- pathname = concat (stackp->fname, sep, filename, NULL);
|
||||
+ pathname = concat (stackp->fname, sep, filename, (void *)0);
|
||||
input_file = fopen (pathname, "r");
|
||||
if (input_file != NULL)
|
||||
goto success;
|
||||
@@ -228,7 +228,7 @@ process_include (rtx desc, int lineno)
|
||||
}
|
||||
|
||||
if (base_dir)
|
||||
- pathname = concat (base_dir, filename, NULL);
|
||||
+ pathname = concat (base_dir, filename, (void *)0);
|
||||
else
|
||||
pathname = xstrdup (filename);
|
||||
input_file = fopen (pathname, "r");
|
||||
@@ -317,7 +317,7 @@ process_rtx (rtx desc, int lineno)
|
||||
insn condition to create the new split condition. */
|
||||
split_cond = XSTR (desc, 4);
|
||||
if (split_cond[0] == '&' && split_cond[1] == '&')
|
||||
- split_cond = concat (XSTR (desc, 2), split_cond, NULL);
|
||||
+ split_cond = concat (XSTR (desc, 2), split_cond, (void *)0);
|
||||
XSTR (split, 1) = split_cond;
|
||||
XVEC (split, 2) = XVEC (desc, 5);
|
||||
XSTR (split, 3) = XSTR (desc, 6);
|
||||
@@ -672,7 +672,7 @@ alter_test_for_insn (struct queue_elem *
|
||||
if (!insn_test || *insn_test == '\0')
|
||||
return ce_test;
|
||||
|
||||
- return concat ("(", ce_test, ") && (", insn_test, ")", NULL);
|
||||
+ return concat ("(", ce_test, ") && (", insn_test, ")", (void *)0);
|
||||
}
|
||||
|
||||
/* Adjust all of the operand numbers in SRC to match the shift they'll
|
12
lang/gcc/4.1/patches/patch-gcc_objc_objc-act_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_objc_objc-act_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_objc_objc-act_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/objc/objc-act.c.orig Sat Jan 29 13:16:34 2005
|
||||
+++ gcc/objc/objc-act.c Tue Feb 22 19:38:42 2005
|
||||
@@ -546,7 +546,7 @@ objc_init (void)
|
||||
/* If gen_declaration desired, open the output file. */
|
||||
if (flag_gen_declaration)
|
||||
{
|
||||
- register char * const dumpname = concat (dump_base_name, ".decl", NULL);
|
||||
+ register char * const dumpname = concat (dump_base_name, ".decl", (void *)0);
|
||||
gen_declaration_file = fopen (dumpname, "w");
|
||||
if (gen_declaration_file == 0)
|
||||
fatal_error ("can't open %s: %m", dumpname);
|
35
lang/gcc/4.1/patches/patch-gcc_prefix_c
Normal file
35
lang/gcc/4.1/patches/patch-gcc_prefix_c
Normal file
@ -0,0 +1,35 @@
|
||||
$OpenBSD: patch-gcc_prefix_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/prefix.c.orig Tue Sep 14 08:49:46 2004
|
||||
+++ gcc/prefix.c Tue Sep 14 08:50:06 2004
|
||||
@@ -99,7 +99,7 @@ get_key_value (char *key)
|
||||
#endif
|
||||
|
||||
if (prefix == 0)
|
||||
- prefix = getenv (temp = concat (key, "_ROOT", NULL));
|
||||
+ prefix = getenv (temp = concat (key, "_ROOT", (void *)0));
|
||||
|
||||
if (prefix == 0)
|
||||
prefix = std_prefix;
|
||||
@@ -219,7 +219,7 @@ translate_name (char *name)
|
||||
together. */
|
||||
|
||||
old_name = name;
|
||||
- name = concat (prefix, &name[keylen + 1], NULL);
|
||||
+ name = concat (prefix, &name[keylen + 1], (void *)0);
|
||||
free (old_name);
|
||||
}
|
||||
|
||||
@@ -257,11 +257,11 @@ update_path (const char *path, const cha
|
||||
|
||||
if (key[0] != '$')
|
||||
{
|
||||
- key = concat ("@", key, NULL);
|
||||
+ key = concat ("@", key, (void *)0);
|
||||
free_key = true;
|
||||
}
|
||||
|
||||
- result = concat (key, &path[len], NULL);
|
||||
+ result = concat (key, &path[len], (void *)0);
|
||||
if (free_key)
|
||||
free ((char *) key);
|
||||
result = translate_name (result);
|
14
lang/gcc/4.1/patches/patch-gcc_testsuite_ada_acats_run_acats
Normal file
14
lang/gcc/4.1/patches/patch-gcc_testsuite_ada_acats_run_acats
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-gcc_testsuite_ada_acats_run_acats,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/testsuite/ada/acats/run_acats.orig Fri Jan 7 04:04:46 2005
|
||||
+++ gcc/testsuite/ada/acats/run_acats Fri Jan 7 04:06:26 2005
|
||||
@@ -7,8 +7,8 @@ fi
|
||||
|
||||
# Set up environment to use the Ada compiler from the object tree
|
||||
|
||||
-host_gnatchop=`type gnatchop | awk '{print $3}'`
|
||||
-host_gnatmake=`type gnatmake | awk '{print $3}'`
|
||||
+host_gnatchop=`which gnatchop`
|
||||
+host_gnatmake=`which gnatmake`
|
||||
ROOT=`${PWDCMD-pwd}`
|
||||
BASE=`cd $ROOT/../../..; ${PWDCMD-pwd}`
|
||||
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_testsuite_ada_acats_run_all_sh,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/testsuite/ada/acats/run_all.sh.orig Fri Jan 7 04:06:30 2005
|
||||
+++ gcc/testsuite/ada/acats/run_all.sh Fri Jan 7 04:06:46 2005
|
||||
@@ -77,7 +77,7 @@ display target gcc is $GCC
|
||||
display `$GCC -v 2>&1`
|
||||
display host=`gcc -dumpmachine`
|
||||
display target=$target
|
||||
-display `type gnatmake`
|
||||
+display `which gnatmake`
|
||||
gnatls -v >> $dir/acats.log
|
||||
display ""
|
||||
|
12
lang/gcc/4.1/patches/patch-gcc_tree-dump_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_tree-dump_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_tree-dump_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/tree-dump.c.orig Tue Feb 15 16:53:47 2005
|
||||
+++ gcc/tree-dump.c Tue Feb 22 19:38:42 2005
|
||||
@@ -824,7 +824,7 @@ get_dump_file_name (enum tree_dump_index
|
||||
dump_id[0] = '\0';
|
||||
}
|
||||
|
||||
- return concat (dump_base_name, dump_id, dfi->suffix, NULL);
|
||||
+ return concat (dump_base_name, dump_id, dfi->suffix, (void *)0);
|
||||
}
|
||||
|
||||
/* Begin a tree dump for PHASE. Stores any user supplied flag in
|
12
lang/gcc/4.1/patches/patch-gcc_tree-mudflap_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_tree-mudflap_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_tree-mudflap_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/tree-mudflap.c.orig Tue Sep 14 08:50:49 2004
|
||||
+++ gcc/tree-mudflap.c Tue Sep 14 08:51:00 2004
|
||||
@@ -232,7 +232,7 @@ mf_file_function_line_tree (location_t l
|
||||
else
|
||||
op = name = cp = "";
|
||||
|
||||
- string = concat (file, colon, line, op, name, cp, NULL);
|
||||
+ string = concat (file, colon, line, op, name, cp, (void *)0);
|
||||
result = mf_build_string (string);
|
||||
free (string);
|
||||
|
12
lang/gcc/4.1/patches/patch-gcc_tree-nested_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_tree-nested_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_tree-nested_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/tree-nested.c.orig Sat Dec 18 19:59:04 2004
|
||||
+++ gcc/tree-nested.c Mon Jan 3 15:47:20 2005
|
||||
@@ -200,7 +200,7 @@ get_frame_type (struct nesting_info *inf
|
||||
|
||||
name = concat ("FRAME.",
|
||||
IDENTIFIER_POINTER (DECL_NAME (info->context)),
|
||||
- NULL);
|
||||
+ (void *)0);
|
||||
TYPE_NAME (type) = get_identifier (name);
|
||||
free (name);
|
||||
|
27
lang/gcc/4.1/patches/patch-gcc_tree-optimize_c
Normal file
27
lang/gcc/4.1/patches/patch-gcc_tree-optimize_c
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-gcc_tree-optimize_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/tree-optimize.c.orig Thu Feb 17 17:19:41 2005
|
||||
+++ gcc/tree-optimize.c Tue Feb 22 19:44:27 2005
|
||||
@@ -221,18 +221,18 @@ register_one_dump_file (struct tree_opt_
|
||||
sprintf (num, "%d", ((int) pass->static_pass_number < 0
|
||||
? 1 : pass->static_pass_number));
|
||||
|
||||
- dot_name = concat (".", pass->name, num, NULL);
|
||||
+ dot_name = concat (".", pass->name, num, (void *)0);
|
||||
if (pass->properties_provided & PROP_trees)
|
||||
{
|
||||
- flag_name = concat ("tree-", pass->name, num, NULL);
|
||||
- glob_name = concat ("tree-", pass->name, NULL);
|
||||
+ flag_name = concat ("tree-", pass->name, num, (void *)0);
|
||||
+ glob_name = concat ("tree-", pass->name, (void *)0);
|
||||
pass->static_pass_number = dump_register (dot_name, flag_name, glob_name,
|
||||
TDF_TREE, n + TDI_tree_all, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
- flag_name = concat ("rtl-", pass->name, num, NULL);
|
||||
- glob_name = concat ("rtl-", pass->name, NULL);
|
||||
+ flag_name = concat ("rtl-", pass->name, num, (void *)0);
|
||||
+ glob_name = concat ("rtl-", pass->name, (void *)0);
|
||||
pass->static_pass_number = dump_register (dot_name, flag_name, glob_name,
|
||||
TDF_RTL, n, pass->letter);
|
||||
}
|
12
lang/gcc/4.1/patches/patch-gcc_tree-vect-transform_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_tree-vect-transform_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_tree-vect-transform_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/tree-vect-transform.c.orig Tue Feb 22 20:36:16 2005
|
||||
+++ gcc/tree-vect-transform.c Tue Feb 22 20:36:29 2005
|
||||
@@ -93,7 +93,7 @@ vect_get_new_vect_var (tree type, enum v
|
||||
prefix_len = strlen (prefix);
|
||||
|
||||
if (name)
|
||||
- new_vect_var = create_tmp_var (type, concat (prefix, name, NULL));
|
||||
+ new_vect_var = create_tmp_var (type, concat (prefix, name, (void *)0));
|
||||
else
|
||||
new_vect_var = create_tmp_var (type, prefix);
|
||||
|
17
lang/gcc/4.1/patches/patch-gcc_tree_c
Normal file
17
lang/gcc/4.1/patches/patch-gcc_tree_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-gcc_tree_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/tree.c.orig Tue Feb 22 21:13:48 2005
|
||||
+++ gcc/tree.c Tue Feb 22 21:14:02 2005
|
||||
@@ -5936,11 +5936,11 @@ build_common_builtin_nodes (void)
|
||||
*q = TOLOWER (*p);
|
||||
*q = '\0';
|
||||
|
||||
- built_in_names[mcode] = concat ("__mul", mode_name_buf, "3", NULL);
|
||||
+ built_in_names[mcode] = concat ("__mul", mode_name_buf, "3", (void *)0);
|
||||
local_define_builtin (built_in_names[mcode], ftype, mcode,
|
||||
built_in_names[mcode], ECF_CONST | ECF_NOTHROW);
|
||||
|
||||
- built_in_names[dcode] = concat ("__div", mode_name_buf, "3", NULL);
|
||||
+ built_in_names[dcode] = concat ("__div", mode_name_buf, "3", (void *)0);
|
||||
local_define_builtin (built_in_names[dcode], ftype, dcode,
|
||||
built_in_names[dcode], ECF_CONST | ECF_NOTHROW);
|
||||
}
|
12
lang/gcc/4.1/patches/patch-gcc_varasm_c
Normal file
12
lang/gcc/4.1/patches/patch-gcc_varasm_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_varasm_c,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- gcc/varasm.c.orig Sun Jan 16 16:28:16 2005
|
||||
+++ gcc/varasm.c Mon Jan 17 16:23:21 2005
|
||||
@@ -1217,7 +1217,7 @@ assemble_start_function (tree decl, cons
|
||||
unlikely_text_section_name = NULL;
|
||||
|
||||
unlikely_section_label = reconcat (unlikely_section_label,
|
||||
- fnname, ".unlikely_section", NULL);
|
||||
+ fnname, ".unlikely_section", (void *)0);
|
||||
|
||||
/* The following code does not need preprocessing in the assembler. */
|
||||
|
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-libstdc++-v3_libsupc++_Makefile_in,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- libstdc++-v3/libsupc++/Makefile.in.orig Mon Jan 10 18:07:50 2005
|
||||
+++ libstdc++-v3/libsupc++/Makefile.in Mon Jan 17 16:23:21 2005
|
||||
@@ -297,7 +297,7 @@ AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
|
||||
# Need this library to both be part of libstdc++.a, and installed
|
||||
# separately too.
|
||||
# 1) separate libsupc++.la
|
||||
-toolexeclib_LTLIBRARIES = libsupc++.la
|
||||
+toolexeclib_LTLIBRARIES = libesupc++.la
|
||||
# 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
|
||||
noinst_LTLIBRARIES = libsupc++convenience.la
|
||||
headers = \
|
||||
@@ -475,7 +475,7 @@ clean-toolexeclibLTLIBRARIES:
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
-libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
|
||||
+libesupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
|
||||
$(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
|
||||
libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
|
||||
$(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
|
21
lang/gcc/4.1/patches/patch-libstdc++-v3_src_Makefile_in
Normal file
21
lang/gcc/4.1/patches/patch-libstdc++-v3_src_Makefile_in
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-libstdc++-v3_src_Makefile_in,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- libstdc++-v3/src/Makefile.in.orig Mon Jan 10 18:07:49 2005
|
||||
+++ libstdc++-v3/src/Makefile.in Mon Jan 17 16:23:21 2005
|
||||
@@ -274,7 +274,7 @@ WARN_CXXFLAGS = \
|
||||
AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
|
||||
|
||||
# Cross compiler support.
|
||||
-toolexeclib_LTLIBRARIES = libstdc++.la
|
||||
+toolexeclib_LTLIBRARIES = libestdc++.la
|
||||
@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
|
||||
|
||||
# Symbol versioning for shared libraries.
|
||||
@@ -468,7 +468,7 @@ clean-toolexeclibLTLIBRARIES:
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
-libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
|
||||
+libestdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
|
||||
$(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
14
lang/gcc/4.1/patches/patch-libtool_m4
Normal file
14
lang/gcc/4.1/patches/patch-libtool_m4
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-libtool_m4,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- libtool.m4.orig Tue Nov 30 00:45:17 2004
|
||||
+++ libtool.m4 Mon Jan 3 15:47:20 2005
|
||||
@@ -696,6 +696,10 @@ newsos6)
|
||||
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
||||
;;
|
||||
|
||||
+openbsd*)
|
||||
+ lt_cv_deplibs_check_method=pass_all
|
||||
+ ;;
|
||||
+
|
||||
osf3* | osf4* | osf5*)
|
||||
# this will be overridden with pass_all, but let us keep it just in case
|
||||
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
|
19
lang/gcc/4.1/patches/patch-ltcf-c_sh
Normal file
19
lang/gcc/4.1/patches/patch-ltcf-c_sh
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-ltcf-c_sh,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- ltcf-c.sh.orig Sat Oct 2 18:33:06 2004
|
||||
+++ ltcf-c.sh Tue Nov 23 12:44:34 2004
|
||||
@@ -513,10 +513,13 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ remove_lgcc=yes
|
||||
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
|
||||
;;
|
||||
|
||||
os2*)
|
23
lang/gcc/4.1/patches/patch-ltcf-cxx_sh
Normal file
23
lang/gcc/4.1/patches/patch-ltcf-cxx_sh
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-ltcf-cxx_sh,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- ltcf-cxx.sh.orig Tue Aug 3 02:52:06 2004
|
||||
+++ ltcf-cxx.sh Tue Sep 14 01:24:15 2004
|
||||
@@ -452,6 +452,19 @@ case $host_os in
|
||||
netbsd* | knetbsd*-gnu)
|
||||
# NetBSD uses g++ - do we need to do anything?
|
||||
;;
|
||||
+ openbsd*)
|
||||
+ if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
|
||||
+ # MM: OpenBSD 2.7 uses G++, but not GNU ld
|
||||
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
+ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
+ hardcode_direct=yes
|
||||
+ hardcode_shlibpath_var=no
|
||||
+ remove_lgcc=yes
|
||||
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
|
||||
+ fi
|
||||
+ ;;
|
||||
osf3*)
|
||||
case $cc_basename in
|
||||
KCC)
|
19
lang/gcc/4.1/patches/patch-ltcf-gcj_sh
Normal file
19
lang/gcc/4.1/patches/patch-ltcf-gcj_sh
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-ltcf-gcj_sh,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- ltcf-gcj.sh.orig Tue Apr 27 08:14:30 2004
|
||||
+++ ltcf-gcj.sh Tue Sep 14 01:24:24 2004
|
||||
@@ -488,10 +488,13 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ remove_lgcc=yes
|
||||
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
|
||||
;;
|
||||
|
||||
os2*)
|
30
lang/gcc/4.1/patches/patch-ltconfig
Normal file
30
lang/gcc/4.1/patches/patch-ltconfig
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-ltconfig,v 1.1.1.1 2005/02/28 15:12:45 espie Exp $
|
||||
--- ltconfig.orig Sat Oct 2 18:33:06 2004
|
||||
+++ ltconfig Sun Feb 27 19:13:08 2005
|
||||
@@ -625,7 +625,12 @@ old_postuninstall_cmds=
|
||||
|
||||
if test -n "$RANLIB"; then
|
||||
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
|
||||
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
|
||||
+ case $host_os in
|
||||
+ openbsd*)
|
||||
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds";;
|
||||
+ *)
|
||||
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds";;
|
||||
+ esac
|
||||
fi
|
||||
|
||||
# Source the script associated with the $tagname tag configuration.
|
||||
@@ -1305,8 +1310,11 @@ openbsd*)
|
||||
need_version=no
|
||||
fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ deplib_check_method=pass_all
|
||||
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib'
|
||||
;;
|
||||
|
||||
os2*)
|
0
lang/gcc/4.1/pkg/DESCR
Normal file
0
lang/gcc/4.1/pkg/DESCR
Normal file
3
lang/gcc/4.1/pkg/PFRAG.shared
Normal file
3
lang/gcc/4.1/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
@lib lib/libmudflap.so.0.0
|
||||
@lib lib/libmudflapth.so.0.0
|
2
lang/gcc/4.1/pkg/PFRAG.shared-estdc
Normal file
2
lang/gcc/4.1/pkg/PFRAG.shared-estdc
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared-estdc,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
@lib lib/libestdc++.so.6.4
|
2
lang/gcc/4.1/pkg/PFRAG.shared-f95
Normal file
2
lang/gcc/4.1/pkg/PFRAG.shared-f95
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared-f95,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
@lib lib/libgfortran.so.0.0
|
2
lang/gcc/4.1/pkg/PFRAG.shared-objc
Normal file
2
lang/gcc/4.1/pkg/PFRAG.shared-objc
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared-objc,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
@lib lib/libobjc.so.1.0
|
63
lang/gcc/4.1/pkg/PLIST
Normal file
63
lang/gcc/4.1/pkg/PLIST
Normal file
@ -0,0 +1,63 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
%%SHARED%%
|
||||
bin/ecpp
|
||||
bin/egcc
|
||||
bin/egccbug
|
||||
bin/egcov
|
||||
bin/${CONFIG}-egcc
|
||||
bin/${CONFIG}-gcc-${V}
|
||||
include/mf-runtime.h
|
||||
@info info/cpp.info
|
||||
@info info/cppinternals.info
|
||||
@info info/gcc.info
|
||||
@info info/gccinstall.info
|
||||
@info info/gccint.info
|
||||
lib/gcc/
|
||||
lib/gcc/${CONFIG}/
|
||||
lib/gcc/${CONFIG}/${V}/
|
||||
lib/gcc/${CONFIG}/${V}/include/
|
||||
lib/gcc/${CONFIG}/${V}/include/README
|
||||
lib/gcc/${CONFIG}/${V}/include/arpa/
|
||||
lib/gcc/${CONFIG}/${V}/include/arpa/nameser.h
|
||||
lib/gcc/${CONFIG}/${V}/include/com_err.h
|
||||
lib/gcc/${CONFIG}/${V}/include/limits.h
|
||||
lib/gcc/${CONFIG}/${V}/include/math.h
|
||||
lib/gcc/${CONFIG}/${V}/include/rpc/
|
||||
lib/gcc/${CONFIG}/${V}/include/rpc/rpc_des.h
|
||||
lib/gcc/${CONFIG}/${V}/include/rpc/svc.h
|
||||
lib/gcc/${CONFIG}/${V}/include/stddef.h
|
||||
lib/gcc/${CONFIG}/${V}/include/stdio.h
|
||||
lib/gcc/${CONFIG}/${V}/include/stdlib.h
|
||||
lib/gcc/${CONFIG}/${V}/include/sys/
|
||||
lib/gcc/${CONFIG}/${V}/include/sys/types.h
|
||||
lib/gcc/${CONFIG}/${V}/include/syslimits.h
|
||||
lib/gcc/${CONFIG}/${V}/include/unistd.h
|
||||
lib/gcc/${CONFIG}/${V}/install-tools/
|
||||
lib/gcc/${CONFIG}/${V}/install-tools/gsyslimits.h
|
||||
lib/gcc/${CONFIG}/${V}/install-tools/include/
|
||||
lib/gcc/${CONFIG}/${V}/install-tools/include/README
|
||||
lib/gcc/${CONFIG}/${V}/install-tools/include/limits.h
|
||||
lib/gcc/${CONFIG}/${V}/install-tools/macro_list
|
||||
lib/gcc/${CONFIG}/${V}/install-tools/mkheaders.conf
|
||||
lib/gcc/${CONFIG}/${V}/libgcc.a
|
||||
lib/gcc/${CONFIG}/${V}/libgcov.a
|
||||
lib/libiberty.a
|
||||
lib/libmudflap.a
|
||||
lib/libmudflap.la
|
||||
lib/libmudflapth.a
|
||||
lib/libmudflapth.la
|
||||
libexec/gcc/
|
||||
libexec/gcc/${CONFIG}/
|
||||
libexec/gcc/${CONFIG}/${V}/
|
||||
libexec/gcc/${CONFIG}/${V}/cc1
|
||||
libexec/gcc/${CONFIG}/${V}/collect2
|
||||
libexec/gcc/${CONFIG}/${V}/install-tools/
|
||||
libexec/gcc/${CONFIG}/${V}/install-tools/fixinc.sh
|
||||
libexec/gcc/${CONFIG}/${V}/install-tools/fixincl
|
||||
libexec/gcc/${CONFIG}/${V}/install-tools/mkheaders
|
||||
@man man/man1/ecpp.1
|
||||
@man man/man1/egcc.1
|
||||
@man man/man1/egcov.1
|
||||
@man man/man7/fsf-funding.7
|
||||
@man man/man7/gfdl.7
|
||||
@man man/man7/gpl.7
|
1254
lang/gcc/4.1/pkg/PLIST-ada
Normal file
1254
lang/gcc/4.1/pkg/PLIST-ada
Normal file
File diff suppressed because it is too large
Load Diff
249
lang/gcc/4.1/pkg/PLIST-c++
Normal file
249
lang/gcc/4.1/pkg/PLIST-c++
Normal file
@ -0,0 +1,249 @@
|
||||
@comment $OpenBSD: PLIST-c++,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
bin/ec++
|
||||
bin/eg++
|
||||
bin/${CONFIG}-ec++
|
||||
bin/${CONFIG}-eg++
|
||||
include/c++/
|
||||
include/c++/${V}/
|
||||
include/c++/${V}/algorithm
|
||||
include/c++/${V}/backward/
|
||||
include/c++/${V}/backward/algo.h
|
||||
include/c++/${V}/backward/algobase.h
|
||||
include/c++/${V}/backward/alloc.h
|
||||
include/c++/${V}/backward/backward_warning.h
|
||||
include/c++/${V}/backward/bvector.h
|
||||
include/c++/${V}/backward/complex.h
|
||||
include/c++/${V}/backward/defalloc.h
|
||||
include/c++/${V}/backward/deque.h
|
||||
include/c++/${V}/backward/fstream.h
|
||||
include/c++/${V}/backward/function.h
|
||||
include/c++/${V}/backward/hash_map.h
|
||||
include/c++/${V}/backward/hash_set.h
|
||||
include/c++/${V}/backward/hashtable.h
|
||||
include/c++/${V}/backward/heap.h
|
||||
include/c++/${V}/backward/iomanip.h
|
||||
include/c++/${V}/backward/iostream.h
|
||||
include/c++/${V}/backward/istream.h
|
||||
include/c++/${V}/backward/iterator.h
|
||||
include/c++/${V}/backward/list.h
|
||||
include/c++/${V}/backward/map.h
|
||||
include/c++/${V}/backward/multimap.h
|
||||
include/c++/${V}/backward/multiset.h
|
||||
include/c++/${V}/backward/new.h
|
||||
include/c++/${V}/backward/ostream.h
|
||||
include/c++/${V}/backward/pair.h
|
||||
include/c++/${V}/backward/queue.h
|
||||
include/c++/${V}/backward/rope.h
|
||||
include/c++/${V}/backward/set.h
|
||||
include/c++/${V}/backward/slist.h
|
||||
include/c++/${V}/backward/stack.h
|
||||
include/c++/${V}/backward/stream.h
|
||||
include/c++/${V}/backward/streambuf.h
|
||||
include/c++/${V}/backward/strstream
|
||||
include/c++/${V}/backward/tempbuf.h
|
||||
include/c++/${V}/backward/tree.h
|
||||
include/c++/${V}/backward/vector.h
|
||||
include/c++/${V}/bits/
|
||||
include/c++/${V}/bits/allocator.h
|
||||
include/c++/${V}/bits/atomicity.h
|
||||
include/c++/${V}/bits/basic_ios.h
|
||||
include/c++/${V}/bits/basic_ios.tcc
|
||||
include/c++/${V}/bits/basic_string.h
|
||||
include/c++/${V}/bits/basic_string.tcc
|
||||
include/c++/${V}/bits/boost_concept_check.h
|
||||
include/c++/${V}/bits/char_traits.h
|
||||
include/c++/${V}/bits/cmath.tcc
|
||||
include/c++/${V}/bits/codecvt.h
|
||||
include/c++/${V}/bits/concept_check.h
|
||||
include/c++/${V}/bits/concurrence.h
|
||||
include/c++/${V}/bits/cpp_type_traits.h
|
||||
include/c++/${V}/bits/deque.tcc
|
||||
include/c++/${V}/bits/fstream.tcc
|
||||
include/c++/${V}/bits/functexcept.h
|
||||
include/c++/${V}/bits/gslice.h
|
||||
include/c++/${V}/bits/gslice_array.h
|
||||
include/c++/${V}/bits/indirect_array.h
|
||||
include/c++/${V}/bits/ios_base.h
|
||||
include/c++/${V}/bits/istream.tcc
|
||||
include/c++/${V}/bits/list.tcc
|
||||
include/c++/${V}/bits/locale_classes.h
|
||||
include/c++/${V}/bits/locale_facets.h
|
||||
include/c++/${V}/bits/locale_facets.tcc
|
||||
include/c++/${V}/bits/localefwd.h
|
||||
include/c++/${V}/bits/mask_array.h
|
||||
include/c++/${V}/bits/ostream.tcc
|
||||
include/c++/${V}/bits/postypes.h
|
||||
include/c++/${V}/bits/slice_array.h
|
||||
include/c++/${V}/bits/sstream.tcc
|
||||
include/c++/${V}/bits/stl_algo.h
|
||||
include/c++/${V}/bits/stl_algobase.h
|
||||
include/c++/${V}/bits/stl_bvector.h
|
||||
include/c++/${V}/bits/stl_construct.h
|
||||
include/c++/${V}/bits/stl_deque.h
|
||||
include/c++/${V}/bits/stl_function.h
|
||||
include/c++/${V}/bits/stl_heap.h
|
||||
include/c++/${V}/bits/stl_iterator.h
|
||||
include/c++/${V}/bits/stl_iterator_base_funcs.h
|
||||
include/c++/${V}/bits/stl_iterator_base_types.h
|
||||
include/c++/${V}/bits/stl_list.h
|
||||
include/c++/${V}/bits/stl_map.h
|
||||
include/c++/${V}/bits/stl_multimap.h
|
||||
include/c++/${V}/bits/stl_multiset.h
|
||||
include/c++/${V}/bits/stl_numeric.h
|
||||
include/c++/${V}/bits/stl_pair.h
|
||||
include/c++/${V}/bits/stl_queue.h
|
||||
include/c++/${V}/bits/stl_raw_storage_iter.h
|
||||
include/c++/${V}/bits/stl_relops.h
|
||||
include/c++/${V}/bits/stl_set.h
|
||||
include/c++/${V}/bits/stl_stack.h
|
||||
include/c++/${V}/bits/stl_tempbuf.h
|
||||
include/c++/${V}/bits/stl_tree.h
|
||||
include/c++/${V}/bits/stl_uninitialized.h
|
||||
include/c++/${V}/bits/stl_vector.h
|
||||
include/c++/${V}/bits/stream_iterator.h
|
||||
include/c++/${V}/bits/streambuf.tcc
|
||||
include/c++/${V}/bits/streambuf_iterator.h
|
||||
include/c++/${V}/bits/stringfwd.h
|
||||
include/c++/${V}/bits/valarray_after.h
|
||||
include/c++/${V}/bits/valarray_array.h
|
||||
include/c++/${V}/bits/valarray_array.tcc
|
||||
include/c++/${V}/bits/valarray_before.h
|
||||
include/c++/${V}/bits/vector.tcc
|
||||
include/c++/${V}/bitset
|
||||
include/c++/${V}/cassert
|
||||
include/c++/${V}/cctype
|
||||
include/c++/${V}/cerrno
|
||||
include/c++/${V}/cfloat
|
||||
include/c++/${V}/ciso646
|
||||
include/c++/${V}/climits
|
||||
include/c++/${V}/clocale
|
||||
include/c++/${V}/cmath
|
||||
include/c++/${V}/complex
|
||||
include/c++/${V}/csetjmp
|
||||
include/c++/${V}/csignal
|
||||
include/c++/${V}/cstdarg
|
||||
include/c++/${V}/cstddef
|
||||
include/c++/${V}/cstdio
|
||||
include/c++/${V}/cstdlib
|
||||
include/c++/${V}/cstring
|
||||
include/c++/${V}/ctime
|
||||
include/c++/${V}/cwchar
|
||||
include/c++/${V}/cwctype
|
||||
include/c++/${V}/cxxabi.h
|
||||
include/c++/${V}/debug/
|
||||
include/c++/${V}/debug/bitset
|
||||
include/c++/${V}/debug/debug.h
|
||||
include/c++/${V}/debug/deque
|
||||
include/c++/${V}/debug/formatter.h
|
||||
include/c++/${V}/debug/hash_map
|
||||
include/c++/${V}/debug/hash_map.h
|
||||
include/c++/${V}/debug/hash_multimap.h
|
||||
include/c++/${V}/debug/hash_multiset.h
|
||||
include/c++/${V}/debug/hash_set
|
||||
include/c++/${V}/debug/hash_set.h
|
||||
include/c++/${V}/debug/list
|
||||
include/c++/${V}/debug/map
|
||||
include/c++/${V}/debug/map.h
|
||||
include/c++/${V}/debug/multimap.h
|
||||
include/c++/${V}/debug/multiset.h
|
||||
include/c++/${V}/debug/safe_base.h
|
||||
include/c++/${V}/debug/safe_iterator.h
|
||||
include/c++/${V}/debug/safe_iterator.tcc
|
||||
include/c++/${V}/debug/safe_sequence.h
|
||||
include/c++/${V}/debug/set
|
||||
include/c++/${V}/debug/set.h
|
||||
include/c++/${V}/debug/string
|
||||
include/c++/${V}/debug/vector
|
||||
include/c++/${V}/deque
|
||||
include/c++/${V}/exception
|
||||
include/c++/${V}/exception_defines.h
|
||||
include/c++/${V}/ext/
|
||||
include/c++/${V}/ext/algorithm
|
||||
include/c++/${V}/ext/array_allocator.h
|
||||
include/c++/${V}/ext/bitmap_allocator.h
|
||||
include/c++/${V}/ext/codecvt_specializations.h
|
||||
include/c++/${V}/ext/debug_allocator.h
|
||||
include/c++/${V}/ext/functional
|
||||
include/c++/${V}/ext/hash_fun.h
|
||||
include/c++/${V}/ext/hash_map
|
||||
include/c++/${V}/ext/hash_set
|
||||
include/c++/${V}/ext/hashtable.h
|
||||
include/c++/${V}/ext/iterator
|
||||
include/c++/${V}/ext/malloc_allocator.h
|
||||
include/c++/${V}/ext/memory
|
||||
include/c++/${V}/ext/mt_allocator.h
|
||||
include/c++/${V}/ext/new_allocator.h
|
||||
include/c++/${V}/ext/numeric
|
||||
include/c++/${V}/ext/pod_char_traits.h
|
||||
include/c++/${V}/ext/pool_allocator.h
|
||||
include/c++/${V}/ext/rb_tree
|
||||
include/c++/${V}/ext/rope
|
||||
include/c++/${V}/ext/ropeimpl.h
|
||||
include/c++/${V}/ext/slist
|
||||
include/c++/${V}/ext/stdio_filebuf.h
|
||||
include/c++/${V}/ext/stdio_sync_filebuf.h
|
||||
include/c++/${V}/fstream
|
||||
include/c++/${V}/functional
|
||||
include/c++/${V}/${CONFIG}/
|
||||
include/c++/${V}/${CONFIG}/bits/
|
||||
include/c++/${V}/${CONFIG}/bits/atomic_word.h
|
||||
include/c++/${V}/${CONFIG}/bits/basic_file.h
|
||||
include/c++/${V}/${CONFIG}/bits/c++allocator.h
|
||||
include/c++/${V}/${CONFIG}/bits/c++config.h
|
||||
include/c++/${V}/${CONFIG}/bits/c++io.h
|
||||
include/c++/${V}/${CONFIG}/bits/c++locale.h
|
||||
include/c++/${V}/${CONFIG}/bits/ctype_base.h
|
||||
include/c++/${V}/${CONFIG}/bits/ctype_inline.h
|
||||
include/c++/${V}/${CONFIG}/bits/ctype_noninline.h
|
||||
include/c++/${V}/${CONFIG}/bits/cxxabi_tweaks.h
|
||||
include/c++/${V}/${CONFIG}/bits/gthr-default.h
|
||||
include/c++/${V}/${CONFIG}/bits/gthr-posix.h
|
||||
include/c++/${V}/${CONFIG}/bits/gthr-single.h
|
||||
include/c++/${V}/${CONFIG}/bits/gthr-tpf.h
|
||||
include/c++/${V}/${CONFIG}/bits/gthr.h
|
||||
include/c++/${V}/${CONFIG}/bits/messages_members.h
|
||||
include/c++/${V}/${CONFIG}/bits/os_defines.h
|
||||
include/c++/${V}/${CONFIG}/bits/time_members.h
|
||||
include/c++/${V}/iomanip
|
||||
include/c++/${V}/ios
|
||||
include/c++/${V}/iosfwd
|
||||
include/c++/${V}/iostream
|
||||
include/c++/${V}/istream
|
||||
include/c++/${V}/iterator
|
||||
include/c++/${V}/limits
|
||||
include/c++/${V}/list
|
||||
include/c++/${V}/locale
|
||||
include/c++/${V}/map
|
||||
include/c++/${V}/memory
|
||||
include/c++/${V}/new
|
||||
include/c++/${V}/numeric
|
||||
include/c++/${V}/ostream
|
||||
include/c++/${V}/queue
|
||||
include/c++/${V}/set
|
||||
include/c++/${V}/sstream
|
||||
include/c++/${V}/stack
|
||||
include/c++/${V}/stdexcept
|
||||
include/c++/${V}/streambuf
|
||||
include/c++/${V}/string
|
||||
include/c++/${V}/tr1/
|
||||
include/c++/${V}/tr1/array
|
||||
include/c++/${V}/tr1/functional
|
||||
include/c++/${V}/tr1/functional_iterate.h
|
||||
include/c++/${V}/tr1/hashtable
|
||||
include/c++/${V}/tr1/memory
|
||||
include/c++/${V}/tr1/tuple
|
||||
include/c++/${V}/tr1/type_traits
|
||||
include/c++/${V}/tr1/type_traits_fwd.h
|
||||
include/c++/${V}/tr1/unordered_map
|
||||
include/c++/${V}/tr1/unordered_set
|
||||
include/c++/${V}/tr1/utility
|
||||
include/c++/${V}/typeinfo
|
||||
include/c++/${V}/utility
|
||||
include/c++/${V}/valarray
|
||||
include/c++/${V}/vector
|
||||
lib/libestdc++.a
|
||||
lib/libestdc++.la
|
||||
lib/libesupc++.a
|
||||
lib/libesupc++.la
|
||||
libexec/gcc/${CONFIG}/${V}/cc1plus
|
||||
@man man/man1/eg++.1
|
2
lang/gcc/4.1/pkg/PLIST-estdc
Normal file
2
lang/gcc/4.1/pkg/PLIST-estdc
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST-estdc,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
%%SHARED%%
|
9
lang/gcc/4.1/pkg/PLIST-f95
Normal file
9
lang/gcc/4.1/pkg/PLIST-f95
Normal file
@ -0,0 +1,9 @@
|
||||
@comment $OpenBSD: PLIST-f95,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
bin/egfortran
|
||||
@info info/gfortran.info
|
||||
lib/libgfortran.a
|
||||
lib/libgfortran.la
|
||||
lib/libgfortranbegin.a
|
||||
lib/libgfortranbegin.la
|
||||
libexec/gcc/${CONFIG}/${V}/f951
|
||||
@man man/man1/egfortran.1
|
18
lang/gcc/4.1/pkg/PLIST-objc
Normal file
18
lang/gcc/4.1/pkg/PLIST-objc
Normal file
@ -0,0 +1,18 @@
|
||||
@comment $OpenBSD: PLIST-objc,v 1.1.1.1 2005/02/28 15:12:46 espie Exp $
|
||||
%%SHARED%%
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/NXConstStr.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/Object.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/Protocol.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/encoding.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/hash.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/objc-api.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/objc-decls.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/objc-list.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/objc.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/sarray.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/thr.h
|
||||
lib/gcc/${CONFIG}/${V}/include/objc/typedstream.h
|
||||
lib/libobjc.a
|
||||
lib/libobjc.la
|
||||
libexec/gcc/${CONFIG}/${V}/cc1obj
|
Loading…
Reference in New Issue
Block a user