Hello community, here is the log from the commit of package ccache for openSUSE:Factory checked in at 2013-01-08 13:34:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ccache (Old) and /work/SRC/openSUSE:Factory/.ccache.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ccache", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/ccache/ccache.changes 2012-11-11 08:14:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ccache.new/ccache.changes 2013-01-08 13:34:04.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Jan 4 23:37:14 UTC 2013 - [email protected] + +- Add xclang.patch: support -Xclang option + +------------------------------------------------------------------- New: ---- xclang.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ccache.spec ++++++ --- /var/tmp/diff_new_pack.2z9gtR/_old 2013-01-08 13:34:05.000000000 +0100 +++ /var/tmp/diff_new_pack.2z9gtR/_new 2013-01-08 13:34:05.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ccache # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Url: http://ccache.samba.org/ Source0: http://samba.org/ftp/ccache/%{name}-%{version}.tar.bz2 +Patch1: xclang.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: zlib-devel @@ -37,6 +38,7 @@ %prep %setup -q +%patch1 -p1 %build %configure ++++++ xclang.patch ++++++ commit 8e005b067d8c2423e24ee14ffdee8343f650f1e8 Author: Bernhard Bauer <[email protected]> Date: Tue Aug 16 10:23:55 2011 +0200 Support -Xclang compiler option. diff --git a/compopt.c b/compopt.c index 35d51ad..77b57f5 100644 --- a/compopt.c +++ b/compopt.c @@ -49,6 +49,7 @@ static const struct compopt compopts[] = { {"-U", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG}, {"-V", TAKES_ARG}, {"-Xassembler", TAKES_ARG}, + {"-Xclang", TAKES_ARG}, {"-Xlinker", TAKES_ARG}, {"-Xpreprocessor", TOO_HARD_DIRECT | TAKES_ARG}, {"-aux-info", TAKES_ARG}, commit 06be1c4cc33bf2def9c6e64483b397128f57dbe3 Author: Lubos Lunak <[email protected]> Date: Thu Jul 26 14:45:16 2012 +0200 hash also Clang plugins diff --git a/ccache.c b/ccache.c index 50b4260..738c022 100644 --- a/ccache.c +++ b/ccache.c @@ -972,6 +972,16 @@ calculate_object_hash(struct args *args, struct mdfour *hash, int direct_mode) continue; } + if (str_eq(args->argv[i], "-Xclang") + && i + 3 < args->argc + && str_eq(args->argv[i+1], "-load") + && str_eq(args->argv[i+2], "-Xclang") + && stat(args->argv[i+3], &st) == 0) { + hash_delimiter(hash, "plugin"); + hash_compiler(hash, &st, args->argv[i+3], false); + continue; + } + /* All other arguments are included in the hash. */ hash_delimiter(hash, "arg"); hash_string(hash, args->argv[i]); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
