Introduce the notion of a 'sample comment'.
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.
/trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------
/trunk/scripts/showSamples.sh | 12 6 6 0 +++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++
/trunk/samples/samples.mk | 22 17 5 0 +++++++++--
4 files changed, 73 insertions(+), 22 deletions(-)
1 Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/03_all_gcc43-java-nomulti.patch
2 diff -durN gcc-4.3.1.orig/libjava/configure gcc-4.3.1/libjava/configure
3 --- gcc-4.3.1.orig/libjava/configure 2008-06-06 16:49:11.000000000 +0200
4 +++ gcc-4.3.1/libjava/configure 2008-06-10 14:57:38.000000000 +0200
6 --enable-gconf-peer compile GConf native peers for util.preferences
7 --enable-java-maintainer-mode
8 allow rebuilding of .class and .h files
9 + --enable-libjava-multilib
10 + build libjava as multilib
11 --disable-dependency-tracking speeds up one-time build
12 --enable-dependency-tracking do not reject slow dependency extractors
13 --enable-maintainer-mode enable make rules and dependencies not useful
14 @@ -1850,6 +1852,16 @@
18 +# Check whether --enable-libjava-multilib was given.
19 +if test "${enable_libjava_multilib+set}" = set; then
20 + enableval=$enable_libjava_multilib;
23 +if test "$enable_libjava_multilib" = no; then
25 + ac_configure_args="$ac_configure_args --disable-multilib"
28 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
31 diff -durN gcc-4.3.1.orig/libjava/configure.ac gcc-4.3.1/libjava/configure.ac
32 --- gcc-4.3.1.orig/libjava/configure.ac 2007-12-22 16:48:46.000000000 +0100
33 +++ gcc-4.3.1/libjava/configure.ac 2008-06-10 14:57:38.000000000 +0200
35 [allow rebuilding of .class and .h files]))
36 AM_CONDITIONAL(JAVA_MAINTAINER_MODE, test "$enable_java_maintainer_mode" = yes)
38 +AC_ARG_ENABLE(libjava-multilib,
39 + AS_HELP_STRING([--enable-libjava-multilib], [build libjava as multilib]))
40 +if test "$enable_libjava_multilib" = no; then
42 + ac_configure_args="$ac_configure_args --disable-multilib"
45 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.