39b07f0c64
This directory contains the GNU Compiler Collection (GCC) version 2.95. It includes all of the support for compiling C, C++, Objective C, Fortran, Java, and Chill. The GNU Compiler Collection is free software. See the file COPYING for copying permission. See the file gcc.texi (together with other files that it includes) for installation and porting information. The file INSTALL contains a copy of the installation information, as plain ASCII. See the Bugs chapter of the GCC Manual for how to report bugs usefully. An online readable version of the manual is in the files gcc.info*.
40 lines
1.4 KiB
Text
40 lines
1.4 KiB
Text
# $NetBSD: UPDATE.txt,v 1.1 2015/04/25 10:32:07 wiz Exp $
|
|
|
|
This file documents the steps taken to update this package.
|
|
|
|
=) Extract sources
|
|
|
|
make clean && make extract
|
|
|
|
=) Copy to .orig directory excluding CVS directories
|
|
|
|
mkdir -p /some/tmp/dir/gcc-2.95.3.orig
|
|
cd work/gcc-2.95.3
|
|
tar --exclude CVS -cvf - gcc include lib{f2c,iberty,io,stdc++} texinfo | ( cd /some/tmp/dir/gcc-2.95.3.orig ; tar -xf - )
|
|
|
|
=) Update in-tree gcc sources
|
|
|
|
cd /usr/src/gnu/dist/toolchain && cvs update
|
|
|
|
=) Copy over the new sources excluding CVS directories
|
|
|
|
mkdir /some/tmp/dir/gcc-2.95.3
|
|
cd /usr/src/gnu/dist/toolchain
|
|
tar --exclude CVS -cvf - gcc include lib{f2c,iberty,io,stdc++} texinfo | ( cd /some/tmp/dir/gcc-2.95.3 ; tar -xf - )
|
|
|
|
=) Create patch file
|
|
|
|
mkdir /some/tmp/dir/foo
|
|
cd /some/tmp/dir/foo && diff -u2 -r -N ../gcc-2.95.3.orig ../gcc-2.95.3 > gcc-2.95.3-diff-`date '+%Y-%m-%d'`
|
|
gzip gcc-2.95.3-diff-`date '+%Y-%m-%d'`
|
|
|
|
=) copy the patch file to your distfiles directory, and 'make makesum'. Now proceed with
|
|
creating any pkgsrc specific patches for gcc, placing them in patches/ as usual.
|
|
|
|
=) when its all tested and working, upload the patchfile
|
|
to ftp.netbsd.org:/pub/NetBSD/packages/distfiles/LOCAL_PORTS/
|
|
|
|
=) go to pkgsrc/lang/gcc-ssp and do a 'make mps'. Verify that you have not broken that pkg.
|
|
|
|
Hopefully this procedure will make maintaining this package a little easier.
|
|
|