summaryrefslogtreecommitdiff
path: root/lang/gcc/files
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-08-12 01:53:34 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-08-12 01:53:34 +0000
commit7d47e28417b3b648718acabc9baa9d8a276138b7 (patch)
treecee44d04fb7872ba6b2f40c5793ca4fbeb5eea32 /lang/gcc/files
parentd47d70a623c3e5ee16f3080f727b329283c29e2d (diff)
downloadpkgsrc-7d47e28417b3b648718acabc9baa9d8a276138b7.tar.gz
pull in most recent patches to gcc-2.95.3 from the netbsd-1-6
branch. Includes fixes for sparc, alpha, and others. Should help in keeping pkgsrc running on 1.5.* systems. The patches which mirror those in the main netbsd source tree have been all put into a single distribution patch file. This makes it much easier to maintain and easier to easily see which patches are specific to pkgsrc.
Diffstat (limited to 'lang/gcc/files')
-rw-r--r--lang/gcc/files/UPDATE.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/lang/gcc/files/UPDATE.txt b/lang/gcc/files/UPDATE.txt
new file mode 100644
index 00000000000..e35764abc9b
--- /dev/null
+++ b/lang/gcc/files/UPDATE.txt
@@ -0,0 +1,35 @@
+# $NetBSD: UPDATE.txt,v 1.1 2002/08/12 01:53:37 dmcmahill Exp $
+
+This file documents the steps taken to update this package.
+
+=) Extract sources
+
+ make clean && make extract
+
+=) Copy to .orig directory
+ mkdir -p /some/tmp/dir/gcc-2.95.3.orig
+ mv work/gcc-2.95.3 /some/tmp/dir/gcc-2.95.3.orig/gcc
+
+=) 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
+ tar --exclude CVS -cvf - gcc | ( 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 ../gcc-2.95.3/gcc > 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/
+
+Hopefully this procedure will make maintaining this package a little easier.
+