@ -0,0 +1,50 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc/gcc34/auxbase.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
This fix is for passing -auxbase or -auxbase-strip thru the "gcc" driver |
|||
programs (e.g. 'gcc') to the backend compilers (e.g. 'cc1'). We will need |
|||
this for supporting feedback compilation using the ROCK toolchain... |
|||
|
|||
- Clifford <clifford@clifford.at> |
|||
|
|||
--- ./gcc/gcc.h.orig 2004-09-24 15:42:27.000000000 +0200
|
|||
+++ ./gcc/gcc.h 2004-09-24 15:43:24.000000000 +0200
|
|||
@@ -46,6 +46,7 @@
|
|||
(!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \ |
|||
|| !strcmp (STR, "Tbss") || !strcmp (STR, "include") \ |
|||
|| !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \ |
|||
+ || !strcmp (STR, "auxbase") || !strcmp (STR, "auxbase-strip") \
|
|||
|| !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \ |
|||
|| !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \ |
|||
|| !strcmp (STR, "isystem") || !strcmp (STR, "-param") \ |
|||
--- ./gcc/gcc.c.orig 2004-09-24 15:44:36.000000000 +0200
|
|||
+++ ./gcc/gcc.c 2004-09-24 15:48:48.000000000 +0200
|
|||
@@ -788,9 +788,9 @@
|
|||
/* NB: This is shared amongst all front-ends. */ |
|||
static const char *cc1_options = |
|||
"%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\ |
|||
- %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\
|
|||
+ %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*}\
|
|||
%{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}}\ |
|||
- %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs}\
|
|||
+ %{a*} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs}\
|
|||
%{v:-version} %{pg:-p} %{p} %{f*} %{undef}\ |
|||
%{Qn:-fno-ident} %{--help:--help}\ |
|||
%{--target-help:--target-help}\ |
@ -0,0 +1,256 @@ |
|||
--- ./gcc/testsuite/ada/acats/run_all.sh.orig 2004-04-26 23:15:54.000000000 +0200
|
|||
+++ ./gcc/testsuite/ada/acats/run_all.sh 2005-03-25 19:24:49.000000000 +0100
|
|||
@@ -229,7 +229,7 @@
|
|||
ls ${i}?.adb > ${i}.lst 2> /dev/null |
|||
ls ${i}*m.adb >> ${i}.lst 2> /dev/null |
|||
ls ${i}.adb >> ${i}.lst 2> /dev/null |
|||
- main=`tail -1 ${i}.lst`
|
|||
+ main=`tail -n 1 ${i}.lst`
|
|||
binmain=`echo $main | sed -e 's/\(.*\)\..*/\1/g'` |
|||
echo "BUILD $main" >> $dir/acats.log |
|||
EXTERNAL_OBJECTS="" |
|||
--- ./gcc/Makefile.in.orig 2005-02-17 09:47:19.000000000 +0100
|
|||
+++ ./gcc/Makefile.in 2005-03-25 19:24:31.000000000 +0100
|
|||
@@ -3898,8 +3898,8 @@
|
|||
for file in $$dir/*$(objext); do \ |
|||
case "$@" in \ |
|||
slowcompare* ) \ |
|||
- tail +16c ./$$file > tmp-foo1; \
|
|||
- tail +16c stage$$stage/$$file > tmp-foo2 \
|
|||
+ tail -n +16c ./$$file > tmp-foo1; \
|
|||
+ tail -n +16c stage$$stage/$$file > tmp-foo2 \
|
|||
&& (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $$file differs >> .bad_compare) || true; \ |
|||
;; \ |
|||
fastcompare* ) \ |
|||
--- ./gcc/configure.orig 2005-02-25 19:42:35.000000000 +0100
|
|||
+++ ./gcc/configure 2005-03-25 19:24:32.000000000 +0100
|
|||
@@ -13489,7 +13489,7 @@
|
|||
# and we got the correct data, then succeed. |
|||
if test x$gcc_cv_objdump != x \ |
|||
&& $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ |
|||
- | tail -3 > conftest.got \
|
|||
+ | tail -n 3 > conftest.got \
|
|||
&& { cmp conftest.lit conftest.got > /dev/null 2>&1 \ |
|||
|| cmp conftest.big conftest.got > /dev/null 2>&1; } |
|||
then |
|||
--- ./gcc/configure.ac.orig 2005-02-25 19:42:35.000000000 +0100
|
|||
+++ ./gcc/configure.ac 2005-03-25 19:24:33.000000000 +0100
|
|||
@@ -2211,7 +2211,7 @@
|
|||
# and we got the correct data, then succeed. |
|||
if test x$gcc_cv_objdump != x \ |
|||
&& $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ |
|||
- | tail -3 > conftest.got \
|
|||
+ | tail -n 3 > conftest.got \
|
|||
&& { cmp conftest.lit conftest.got > /dev/null 2>&1 \ |
|||
|| cmp conftest.big conftest.got > /dev/null 2>&1; } |
|||
then |
|||
--- ./config/acx.m4.orig 2004-08-14 00:31:45.000000000 +0200
|
|||
+++ ./config/acx.m4 2005-03-25 19:25:10.000000000 +0100
|
|||
@@ -228,7 +228,7 @@
|
|||
[AC_CACHE_CHECK([how to compare bootstrapped objects], gcc_cv_prog_cmp_skip, |
|||
[ echo abfoo >t1 |
|||
echo cdfoo >t2 |
|||
- gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
|||
+ gcc_cv_prog_cmp_skip='tail -n +16c $$f1 > tmp-foo1; tail -n +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
|||
if cmp t1 t2 2 2 > /dev/null 2>&1; then |
|||
if cmp t1 t2 1 1 > /dev/null 2>&1; then |
|||
: |
|||
--- ./contrib/test_summary.orig 2004-08-26 07:51:22.000000000 +0200
|
|||
+++ ./contrib/test_summary 2005-03-25 19:25:10.628454344 +0100
|
|||
@@ -106,7 +106,7 @@
|
|||
srcdir = configflags; |
|||
sub(/\/configure .*/, "", srcdir); |
|||
printf "LAST_UPDATED: "; |
|||
- system("tail -1 " srcdir "/LAST_UPDATED");
|
|||
+ system("tail -n 1 " srcdir "/LAST_UPDATED");
|
|||
print ""; |
|||
|
|||
sub(/^[^ ]*\/configure */, " ", configflags); |
|||
--- ./libjava/acinclude.m4.orig 2004-09-23 03:14:00.000000000 +0200
|
|||
+++ ./libjava/acinclude.m4 2005-03-25 19:25:17.422421504 +0100
|
|||
@@ -17,8 +17,8 @@
|
|||
AC_MSG_CHECKING(whether 'ld' is at least 2.13) |
|||
LD_PROG=`$CC --print-prog-name=ld` |
|||
LD_VERSION=`$LD_PROG --version` |
|||
-LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
|
|||
-LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
|
|||
+LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
|
|||
+LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
|
|||
if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then |
|||
LD_OK="ok" |
|||
else |
|||
--- ./libjava/configure.orig 2005-03-20 00:15:42.000000000 +0100
|
|||
+++ ./libjava/configure 2005-03-25 19:25:17.592395664 +0100
|
|||
@@ -5918,8 +5918,8 @@
|
|||
echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 |
|||
LD_PROG=`$CC --print-prog-name=ld` |
|||
LD_VERSION=`$LD_PROG --version` |
|||
-LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
|
|||
-LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
|
|||
+LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
|
|||
+LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
|
|||
if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then |
|||
LD_OK="ok" |
|||
else |
|||
--- ./libstdc++-v3/scripts/check_survey.in.orig 2003-07-05 08:00:05.000000000 +0200
|
|||
+++ ./libstdc++-v3/scripts/check_survey.in 2005-03-25 19:25:38.663192416 +0100
|
|||
@@ -182,9 +182,9 @@
|
|||
function size_command() |
|||
{ |
|||
case $1 in |
|||
- TEXT) TEXT=$(size -B $EXENAME | tail -1 | awk '{print $1}') ;;
|
|||
- DATA) DATA=$(size -B $EXENAME | tail -1 | awk '{print $2}') ;;
|
|||
- SIZE) SIZE=$(size -B $EXENAME | tail -1 | awk '{print $4}') ;;
|
|||
+ TEXT) TEXT=$(size -B $EXENAME | tail -n 1 | awk '{print $1}') ;;
|
|||
+ DATA) DATA=$(size -B $EXENAME | tail -n 1 | awk '{print $2}') ;;
|
|||
+ SIZE) SIZE=$(size -B $EXENAME | tail -n 1 | awk '{print $4}') ;;
|
|||
esac |
|||
} |
|||
else |
|||
--- ./libstdc++-v3/acinclude.m4.orig 2005-02-24 19:55:16.000000000 +0100
|
|||
+++ ./libstdc++-v3/acinclude.m4 2005-03-25 19:25:34.534820024 +0100
|
|||
@@ -241,7 +241,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
changequote(,) |
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
changequote([,]) |
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
--- ./libstdc++-v3/configure.orig 2005-02-24 19:55:17.000000000 +0100
|
|||
+++ ./libstdc++-v3/configure 2005-03-25 19:25:35.386690520 +0100
|
|||
@@ -9880,7 +9880,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -55252,7 +55252,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -76923,7 +76923,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -79292,7 +79292,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -81537,7 +81537,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -84550,7 +84550,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -86748,7 +86748,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -88995,7 +88995,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -91603,7 +91603,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -95660,7 +95660,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
--- ./ChangeLog.orig 2005-03-14 02:37:04.000000000 +0100
|
|||
+++ ./ChangeLog 2005-03-25 19:25:09.070691160 +0100
|
|||
@@ -10853,7 +10853,7 @@
|
|||
to i386-sco3.2v4. Set TARGETS and CFLAGS for i386-sco3.2v4. |
|||
(all-cygnus, native, build-cygnus): Make |
|||
$(canonhost)-stamp-3stage-done, not $(host).... |
|||
- * test-build.mk (stamp-3stage-compared): Use tail +10c for
|
|||
+ * test-build.mk (stamp-3stage-compared): Use tail -n +10c for
|
|||
i386-sco3.2v4. Added else true to if command. |
|||
|
|||
Mon Dec 28 12:08:56 1992 Ken Raeburn (raeburn@cygnus.com) |
|||
--- ./configure.orig 2005-02-23 11:12:44.000000000 +0100
|
|||
+++ ./configure 2005-03-25 19:25:09.490627320 +0100
|
|||
@@ -2158,7 +2158,7 @@
|
|||
else |
|||
echo abfoo >t1 |
|||
echo cdfoo >t2 |
|||
- gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
|||
+ gcc_cv_prog_cmp_skip='tail -n +16c $$f1 > tmp-foo1; tail -n +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
|||
if cmp t1 t2 2 2 > /dev/null 2>&1; then |
|||
if cmp t1 t2 1 1 > /dev/null 2>&1; then |
|||
: |
|||
--- ./ltcf-c.sh.orig 2004-10-02 18:33:06.000000000 +0200
|
|||
+++ ./ltcf-c.sh 2005-03-25 19:25:09.537620176 +0100
|
|||
@@ -153,7 +153,7 @@
|
|||
# If the export-symbols file already is a .def file (1st line |
|||
# is EXPORTS), use it as is. |
|||
# If DATA tags from a recent dlltool are present, honour them! |
|||
- archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
|
|||
+ archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
|
|||
cp $export_symbols $output_objdir/$soname-def; |
|||
else |
|||
echo EXPORTS > $output_objdir/$soname-def; |
|||
--- ./ltcf-gcj.sh.orig 2004-04-27 08:14:30.000000000 +0200
|
|||
+++ ./ltcf-gcj.sh 2005-03-25 19:25:09.554617592 +0100
|
|||
@@ -156,7 +156,7 @@
|
|||
# If the export-symbols file already is a .def file (1st line |
|||
# is EXPORTS), use it as is. |
|||
# If DATA tags from a recent dlltool are present, honour them! |
|||
- archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
|
|||
+ archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
|
|||
cp $export_symbols $output_objdir/$soname-def; |
|||
else |
|||
echo EXPORTS > $output_objdir/$soname-def; |
@ -0,0 +1,39 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc/gcc34/install_so.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./install-sh.orig 2003-07-20 11:40:28.000000000 +0200
|
|||
+++ ./install-sh 2003-11-02 17:04:13.000000000 +0100
|
|||
@@ -279,8 +279,15 @@
|
|||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && |
|||
|
|||
# Now rename the file to the real destination. |
|||
- { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|||
- || {
|
|||
+ if echo $dstdir/$dstfile | grep -q 'lib/.*\.so' ; then
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ rc=$?
|
|||
+ else
|
|||
+ $doit $rmcmd -f $dstdir/$dstfile &&
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ rc=$?
|
|||
+ fi
|
|||
+ [ $rc -eq 0 ] || {
|
|||
# The rename failed, perhaps because mv can't rename something else |
|||
# to itself, or perhaps because mv is so ancient that it does not |
|||
# support -f. |
@ -0,0 +1,36 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc/gcc34/no-install-libiberty.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./libiberty/Makefile.in.orig 2003-03-23 06:16:03.000000000 -0400
|
|||
+++ ./libiberty/Makefile.in 2003-05-15 17:02:18.000000000 -0400
|
|||
@@ -263,10 +263,10 @@
|
|||
install: install_to_$(INSTALL_DEST) install-subdir |
|||
|
|||
install_to_libdir: all |
|||
- ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
- ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|||
- mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
+ #${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
+ #$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
+ #( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|||
+ #mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
if test -n "${target_header_dir}"; then \ |
|||
case "${target_header_dir}" in \ |
|||
/*) thd=${target_header_dir};; \ |
@ -0,0 +1,30 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc/gcc34/no-install-zlib.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./zlib/Makefile.in.orig 2002-11-25 21:28:45.000000000 +0200
|
|||
+++ ./zlib/Makefile.in 2003-01-25 15:39:06.000000000 +0200
|
|||
@@ -510,7 +510,7 @@
|
|||
for dir in "$(DESTDIR)$(toolexeclibdir)"; do \ |
|||
test -z "$$dir" || $(mkdir_p) "$$dir"; \ |
|||
done |
|||
-install: install-am
|
|||
+install:
|
|||
install-exec: install-exec-am |
|||
install-data: install-data-am |
|||
uninstall: uninstall-am |
@ -0,0 +1,50 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc/gcc34/auxbase.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
This fix is for passing -auxbase or -auxbase-strip thru the "gcc" driver |
|||
programs (e.g. 'gcc') to the backend compilers (e.g. 'cc1'). We will need |
|||
this for supporting feedback compilation using the ROCK toolchain... |
|||
|
|||
- Clifford <clifford@clifford.at> |
|||
|
|||
--- ./gcc/gcc.h.orig 2004-09-24 15:42:27.000000000 +0200
|
|||
+++ ./gcc/gcc.h 2004-09-24 15:43:24.000000000 +0200
|
|||
@@ -46,6 +46,7 @@
|
|||
(!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \ |
|||
|| !strcmp (STR, "Tbss") || !strcmp (STR, "include") \ |
|||
|| !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \ |
|||
+ || !strcmp (STR, "auxbase") || !strcmp (STR, "auxbase-strip") \
|
|||
|| !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \ |
|||
|| !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \ |
|||
|| !strcmp (STR, "isystem") || !strcmp (STR, "-param") \ |
|||
--- ./gcc/gcc.c.orig 2004-09-24 15:44:36.000000000 +0200
|
|||
+++ ./gcc/gcc.c 2004-09-24 15:48:48.000000000 +0200
|
|||
@@ -788,9 +788,9 @@
|
|||
/* NB: This is shared amongst all front-ends. */ |
|||
static const char *cc1_options = |
|||
"%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\ |
|||
- %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\
|
|||
+ %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*}\
|
|||
%{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}}\ |
|||
- %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs}\
|
|||
+ %{a*} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs}\
|
|||
%{v:-version} %{pg:-p} %{p} %{f*} %{undef}\ |
|||
%{Qn:-fno-ident} %{--help:--help}\ |
|||
%{--target-help:--target-help}\ |
@ -0,0 +1,256 @@ |
|||
--- ./gcc/testsuite/ada/acats/run_all.sh.orig 2004-04-26 23:15:54.000000000 +0200
|
|||
+++ ./gcc/testsuite/ada/acats/run_all.sh 2005-03-25 19:24:49.000000000 +0100
|
|||
@@ -229,7 +229,7 @@
|
|||
ls ${i}?.adb > ${i}.lst 2> /dev/null |
|||
ls ${i}*m.adb >> ${i}.lst 2> /dev/null |
|||
ls ${i}.adb >> ${i}.lst 2> /dev/null |
|||
- main=`tail -1 ${i}.lst`
|
|||
+ main=`tail -n 1 ${i}.lst`
|
|||
binmain=`echo $main | sed -e 's/\(.*\)\..*/\1/g'` |
|||
echo "BUILD $main" >> $dir/acats.log |
|||
EXTERNAL_OBJECTS="" |
|||
--- ./gcc/Makefile.in.orig 2005-02-17 09:47:19.000000000 +0100
|
|||
+++ ./gcc/Makefile.in 2005-03-25 19:24:31.000000000 +0100
|
|||
@@ -3898,8 +3898,8 @@
|
|||
for file in $$dir/*$(objext); do \ |
|||
case "$@" in \ |
|||
slowcompare* ) \ |
|||
- tail +16c ./$$file > tmp-foo1; \
|
|||
- tail +16c stage$$stage/$$file > tmp-foo2 \
|
|||
+ tail -n +16c ./$$file > tmp-foo1; \
|
|||
+ tail -n +16c stage$$stage/$$file > tmp-foo2 \
|
|||
&& (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $$file differs >> .bad_compare) || true; \ |
|||
;; \ |
|||
fastcompare* ) \ |
|||
--- ./gcc/configure.orig 2005-02-25 19:42:35.000000000 +0100
|
|||
+++ ./gcc/configure 2005-03-25 19:24:32.000000000 +0100
|
|||
@@ -13489,7 +13489,7 @@
|
|||
# and we got the correct data, then succeed. |
|||
if test x$gcc_cv_objdump != x \ |
|||
&& $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ |
|||
- | tail -3 > conftest.got \
|
|||
+ | tail -n 3 > conftest.got \
|
|||
&& { cmp conftest.lit conftest.got > /dev/null 2>&1 \ |
|||
|| cmp conftest.big conftest.got > /dev/null 2>&1; } |
|||
then |
|||
--- ./gcc/configure.ac.orig 2005-02-25 19:42:35.000000000 +0100
|
|||
+++ ./gcc/configure.ac 2005-03-25 19:24:33.000000000 +0100
|
|||
@@ -2211,7 +2211,7 @@
|
|||
# and we got the correct data, then succeed. |
|||
if test x$gcc_cv_objdump != x \ |
|||
&& $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ |
|||
- | tail -3 > conftest.got \
|
|||
+ | tail -n 3 > conftest.got \
|
|||
&& { cmp conftest.lit conftest.got > /dev/null 2>&1 \ |
|||
|| cmp conftest.big conftest.got > /dev/null 2>&1; } |
|||
then |
|||
--- ./config/acx.m4.orig 2004-08-14 00:31:45.000000000 +0200
|
|||
+++ ./config/acx.m4 2005-03-25 19:25:10.000000000 +0100
|
|||
@@ -228,7 +228,7 @@
|
|||
[AC_CACHE_CHECK([how to compare bootstrapped objects], gcc_cv_prog_cmp_skip, |
|||
[ echo abfoo >t1 |
|||
echo cdfoo >t2 |
|||
- gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
|||
+ gcc_cv_prog_cmp_skip='tail -n +16c $$f1 > tmp-foo1; tail -n +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
|||
if cmp t1 t2 2 2 > /dev/null 2>&1; then |
|||
if cmp t1 t2 1 1 > /dev/null 2>&1; then |
|||
: |
|||
--- ./contrib/test_summary.orig 2004-08-26 07:51:22.000000000 +0200
|
|||
+++ ./contrib/test_summary 2005-03-25 19:25:10.628454344 +0100
|
|||
@@ -106,7 +106,7 @@
|
|||
srcdir = configflags; |
|||
sub(/\/configure .*/, "", srcdir); |
|||
printf "LAST_UPDATED: "; |
|||
- system("tail -1 " srcdir "/LAST_UPDATED");
|
|||
+ system("tail -n 1 " srcdir "/LAST_UPDATED");
|
|||
print ""; |
|||
|
|||
sub(/^[^ ]*\/configure */, " ", configflags); |
|||
--- ./libjava/acinclude.m4.orig 2004-09-23 03:14:00.000000000 +0200
|
|||
+++ ./libjava/acinclude.m4 2005-03-25 19:25:17.422421504 +0100
|
|||
@@ -17,8 +17,8 @@
|
|||
AC_MSG_CHECKING(whether 'ld' is at least 2.13) |
|||
LD_PROG=`$CC --print-prog-name=ld` |
|||
LD_VERSION=`$LD_PROG --version` |
|||
-LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
|
|||
-LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
|
|||
+LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
|
|||
+LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
|
|||
if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then |
|||
LD_OK="ok" |
|||
else |
|||
--- ./libjava/configure.orig 2005-03-20 00:15:42.000000000 +0100
|
|||
+++ ./libjava/configure 2005-03-25 19:25:17.592395664 +0100
|
|||
@@ -5918,8 +5918,8 @@
|
|||
echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 |
|||
LD_PROG=`$CC --print-prog-name=ld` |
|||
LD_VERSION=`$LD_PROG --version` |
|||
-LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
|
|||
-LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
|
|||
+LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
|
|||
+LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
|
|||
if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then |
|||
LD_OK="ok" |
|||
else |
|||
--- ./libstdc++-v3/scripts/check_survey.in.orig 2003-07-05 08:00:05.000000000 +0200
|
|||
+++ ./libstdc++-v3/scripts/check_survey.in 2005-03-25 19:25:38.663192416 +0100
|
|||
@@ -182,9 +182,9 @@
|
|||
function size_command() |
|||
{ |
|||
case $1 in |
|||
- TEXT) TEXT=$(size -B $EXENAME | tail -1 | awk '{print $1}') ;;
|
|||
- DATA) DATA=$(size -B $EXENAME | tail -1 | awk '{print $2}') ;;
|
|||
- SIZE) SIZE=$(size -B $EXENAME | tail -1 | awk '{print $4}') ;;
|
|||
+ TEXT) TEXT=$(size -B $EXENAME | tail -n 1 | awk '{print $1}') ;;
|
|||
+ DATA) DATA=$(size -B $EXENAME | tail -n 1 | awk '{print $2}') ;;
|
|||
+ SIZE) SIZE=$(size -B $EXENAME | tail -n 1 | awk '{print $4}') ;;
|
|||
esac |
|||
} |
|||
else |
|||
--- ./libstdc++-v3/acinclude.m4.orig 2005-02-24 19:55:16.000000000 +0100
|
|||
+++ ./libstdc++-v3/acinclude.m4 2005-03-25 19:25:34.534820024 +0100
|
|||
@@ -241,7 +241,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
changequote(,) |
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
changequote([,]) |
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
--- ./libstdc++-v3/configure.orig 2005-02-24 19:55:17.000000000 +0100
|
|||
+++ ./libstdc++-v3/configure 2005-03-25 19:25:35.386690520 +0100
|
|||
@@ -9880,7 +9880,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -55252,7 +55252,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -76923,7 +76923,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -79292,7 +79292,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -81537,7 +81537,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -84550,7 +84550,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -86748,7 +86748,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -88995,7 +88995,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -91603,7 +91603,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
@@ -95660,7 +95660,7 @@
|
|||
# Start by getting the version number. I think the libtool test already |
|||
# does some of this, but throws away the result. |
|||
|
|||
- ldver=`$LD --version 2>/dev/null | head -1 | \
|
|||
+ ldver=`$LD --version 2>/dev/null | head -n 1 | \
|
|||
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` |
|||
|
|||
glibcxx_gnu_ld_version=`echo $ldver | \ |
|||
--- ./ChangeLog.orig 2005-03-14 02:37:04.000000000 +0100
|
|||
+++ ./ChangeLog 2005-03-25 19:25:09.070691160 +0100
|
|||
@@ -10853,7 +10853,7 @@
|
|||
to i386-sco3.2v4. Set TARGETS and CFLAGS for i386-sco3.2v4. |
|||
(all-cygnus, native, build-cygnus): Make |
|||
$(canonhost)-stamp-3stage-done, not $(host).... |
|||
- * test-build.mk (stamp-3stage-compared): Use tail +10c for
|
|||
+ * test-build.mk (stamp-3stage-compared): Use tail -n +10c for
|
|||
i386-sco3.2v4. Added else true to if command. |
|||
|
|||
Mon Dec 28 12:08:56 1992 Ken Raeburn (raeburn@cygnus.com) |
|||
--- ./configure.orig 2005-02-23 11:12:44.000000000 +0100
|
|||
+++ ./configure 2005-03-25 19:25:09.490627320 +0100
|
|||
@@ -2158,7 +2158,7 @@
|
|||
else |
|||
echo abfoo >t1 |
|||
echo cdfoo >t2 |
|||
- gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
|||
+ gcc_cv_prog_cmp_skip='tail -n +16c $$f1 > tmp-foo1; tail -n +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
|||
if cmp t1 t2 2 2 > /dev/null 2>&1; then |
|||
if cmp t1 t2 1 1 > /dev/null 2>&1; then |
|||
: |
|||
--- ./ltcf-c.sh.orig 2004-10-02 18:33:06.000000000 +0200
|
|||
+++ ./ltcf-c.sh 2005-03-25 19:25:09.537620176 +0100
|
|||
@@ -153,7 +153,7 @@
|
|||
# If the export-symbols file already is a .def file (1st line |
|||
# is EXPORTS), use it as is. |
|||
# If DATA tags from a recent dlltool are present, honour them! |
|||
- archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
|
|||
+ archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
|
|||
cp $export_symbols $output_objdir/$soname-def; |
|||
else |
|||
echo EXPORTS > $output_objdir/$soname-def; |
|||
--- ./ltcf-gcj.sh.orig 2004-04-27 08:14:30.000000000 +0200
|
|||
+++ ./ltcf-gcj.sh 2005-03-25 19:25:09.554617592 +0100
|
|||
@@ -156,7 +156,7 @@
|
|||
# If the export-symbols file already is a .def file (1st line |
|||
# is EXPORTS), use it as is. |
|||
# If DATA tags from a recent dlltool are present, honour them! |
|||
- archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
|
|||
+ archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
|
|||
cp $export_symbols $output_objdir/$soname-def; |
|||
else |
|||
echo EXPORTS > $output_objdir/$soname-def; |
@ -0,0 +1,39 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc/gcc34/install_so.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./install-sh.orig 2003-07-20 11:40:28.000000000 +0200
|
|||
+++ ./install-sh 2003-11-02 17:04:13.000000000 +0100
|
|||
@@ -279,8 +279,15 @@
|
|||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && |
|||
|
|||
# Now rename the file to the real destination. |
|||
- { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
|||
- || {
|
|||
+ if echo $dstdir/$dstfile | grep -q 'lib/.*\.so' ; then
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ rc=$?
|
|||
+ else
|
|||
+ $doit $rmcmd -f $dstdir/$dstfile &&
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ rc=$?
|
|||
+ fi
|
|||
+ [ $rc -eq 0 ] || {
|
|||
# The rename failed, perhaps because mv can't rename something else |
|||
# to itself, or perhaps because mv is so ancient that it does not |
|||
# support -f. |
@ -0,0 +1,36 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc/gcc34/no-install-libiberty.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./libiberty/Makefile.in.orig 2003-03-23 06:16:03.000000000 -0400
|
|||
+++ ./libiberty/Makefile.in 2003-05-15 17:02:18.000000000 -0400
|
|||
@@ -263,10 +263,10 @@
|
|||
install: install_to_$(INSTALL_DEST) install-subdir |
|||
|
|||
install_to_libdir: all |
|||
- ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
- ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|||
- mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
+ #${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
+ #$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
+ #( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|||
+ #mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
if test -n "${target_header_dir}"; then \ |
|||
case "${target_header_dir}" in \ |
|||
/*) thd=${target_header_dir};; \ |
@ -0,0 +1,30 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc/gcc34/no-install-zlib.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./zlib/Makefile.in.orig 2002-11-25 21:28:45.000000000 +0200
|
|||
+++ ./zlib/Makefile.in 2003-01-25 15:39:06.000000000 +0200
|
|||
@@ -510,7 +510,7 @@
|
|||
for dir in "$(DESTDIR)$(toolexeclibdir)"; do \ |
|||
test -z "$$dir" || $(mkdir_p) "$$dir"; \ |
|||
done |
|||
-install: install-am
|
|||
+install:
|
|||
install-exec: install-exec-am |
|||
install-data: install-data-am |
|||
uninstall: uninstall-am |
@ -1,5 +1,5 @@ |
|||
|
|||
if [ -z "${pkg##gcc[23]*}" ]; then |
|||
if [ -z "${pkg##gcc[234]*}" ]; then |
|||
pkg=gcc |
|||
fi |
|||
|
@ -0,0 +1,4 @@ |
|||
|
|||
# needed for gcc f95 compiler |
|||
confopt="$confopt --enable-mpfr" |
|||
|