commit openam for openSUSE:Factory

2012-07-15 Thread h_root
Hello community,

here is the log from the commit of package openam for openSUSE:Factory checked 
in at 2012-07-15 12:05:02

Comparing /work/SRC/openSUSE:Factory/openam (Old)
 and  /work/SRC/openSUSE:Factory/.openam.new (New)


Package is openam, Maintainer is kk...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/openam/openam.changes2011-09-23 
02:15:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.openam.new/openam.changes   2012-07-15 
12:05:03.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul 11 08:08:45 UTC 2012 - adr...@suse.de
+
+- fix builds when using a target arch (eg. armv7hl)
+- drop unsafe build root removal
+
+---



Other differences:
--
++ openam.spec ++
--- /var/tmp/diff_new_pack.U9JuAZ/_old  2012-07-15 12:05:05.0 +0200
+++ /var/tmp/diff_new_pack.U9JuAZ/_new  2012-07-15 12:05:05.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package openam (Version 1.1.18)
+# spec file for package openam
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,18 +15,27 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
+%ifarch %ix86
+%define arch x86
+%else
+%define arch %{_target_cpu}
+%endif
 
 Name:   openam
-BuildRequires:  SDL-devel gcc-c++ libdv openh323-devel openldap2-devel 
pwlib-devel speex-devel
+BuildRequires:  SDL-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libdv
+BuildRequires:  openh323-devel
+BuildRequires:  openldap2-devel
+BuildRequires:  pwlib-devel
+BuildRequires:  speex-devel
 Url:http://www.openh323.org
+Summary:A Simple Answering Machine Using the H.323 Protocol
 License:MPL-1.1
-AutoReqProv:on
 Group:  Productivity/Telephony/H323/Servers
-Summary:A Simple Answering Machine Using the H.323 Protocol
 Version:1.1.18
-Release:431
+Release:0
 Source0:openam-1.1.18.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -46,17 +55,8 @@
 make PREFIX=/usr OPENH323DIR=/usr/share/openh323 OH323_LIBDIR=%{_libdir} opt
 
 %install
-[ $RPM_BUILD_ROOT != / ]  [ -d $RPM_BUILD_ROOT ]  rm -rf 
$RPM_BUILD_ROOT;
-export M=`uname -m`
-case $M in
-   *86)  export M=x86 ;; # treat i586 and i686 alike
-esac
 mkdir -p $RPM_BUILD_ROOT/usr/sbin
-install -c obj_linux_$M_r/openam $RPM_BUILD_ROOT/usr/sbin
-
-%clean
-# Clear up the mess
-[ $RPM_BUILD_ROOT != / ]  [ -d $RPM_BUILD_ROOT ]  rm -rf 
$RPM_BUILD_ROOT;
+install -c obj_linux_%{arch}_r/openam $RPM_BUILD_ROOT/usr/sbin
 
 %files
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit openivr for openSUSE:Factory

2012-07-15 Thread h_root
Hello community,

here is the log from the commit of package openivr for openSUSE:Factory checked 
in at 2012-07-15 12:05:10

Comparing /work/SRC/openSUSE:Factory/openivr (Old)
 and  /work/SRC/openSUSE:Factory/.openivr.new (New)


Package is openivr, Maintainer is kk...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/openivr/openivr.changes  2011-09-23 
02:15:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.openivr.new/openivr.changes 2012-07-15 
12:05:12.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul 11 08:08:45 UTC 2012 - adr...@suse.de
+
+- fix builds when using a target arch (eg. armv7hl)
+- drop unsafe build root removal
+
+---



Other differences:
--
++ openivr.spec ++
--- /var/tmp/diff_new_pack.EEEU9G/_old  2012-07-15 12:05:13.0 +0200
+++ /var/tmp/diff_new_pack.EEEU9G/_new  2012-07-15 12:05:13.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package openivr (Version 1.0.6)
+# spec file for package openivr
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,19 +15,28 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
+%ifarch %ix86
+%define arch x86
+%else
+%define arch %{_target_cpu}
+%endif
 
 Name:   openivr
-BuildRequires:  SDL-devel gcc-c++ libdv openh323-devel openldap2-devel 
pwlib-devel speex-devel
+BuildRequires:  SDL-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libdv
+BuildRequires:  openh323-devel
+BuildRequires:  openldap2-devel
+BuildRequires:  pwlib-devel
+BuildRequires:  speex-devel
 Url:http://www.openh323.org
-License:MPL-1.1
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-AutoReqProv:on
-Group:  Productivity/Telephony/H323/Servers
 Summary:H.323 Interactive Voice Response
+License:MPL-1.1
+Group:  Productivity/Telephony/H323/Servers
 Version:1.0.6
-Release:450
+Release:0
 Source0:openivr-%{version}.tar.bz2
 
 %description
@@ -42,17 +51,8 @@
 make PREFIX=/usr OPENH323DIR=/usr/share/openh323 OH323_LIBDIR=%{_libdir} opt
 
 %install
-[ $RPM_BUILD_ROOT != / ]  [ -d $RPM_BUILD_ROOT ]  rm -rf 
$RPM_BUILD_ROOT;
-export M=`uname -m`
-if [ `uname -m | cut -b 3-` == 86 ]; then
-  export M=x86
-fi
 mkdir -p $RPM_BUILD_ROOT/usr/sbin
-install -c obj_linux_$M_r/openivr $RPM_BUILD_ROOT/usr/sbin
-
-%clean
-# Clear up the mess
-[ $RPM_BUILD_ROOT != / ]  [ -d $RPM_BUILD_ROOT ]  rm -rf 
$RPM_BUILD_ROOT;
+install -c obj_linux_%{arch}_r/openivr $RPM_BUILD_ROOT/usr/sbin
 
 %files
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit qscintilla for openSUSE:Factory

2012-07-15 Thread h_root
Hello community,

here is the log from the commit of package qscintilla for openSUSE:Factory 
checked in at 2012-07-15 12:05:22

Comparing /work/SRC/openSUSE:Factory/qscintilla (Old)
 and  /work/SRC/openSUSE:Factory/.qscintilla.new (New)


Package is qscintilla, Maintainer is kde-maintain...@suse.de

Changes:

--- /work/SRC/openSUSE:Factory/qscintilla/python-qscintilla.changes 
2012-02-16 10:09:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.qscintilla.new/python-qscintilla.changes
2012-07-15 12:05:41.0 +0200
@@ -2 +2,16 @@
-Sun Feb  5 00:37:41 UTC 2012 - ter...@gmail.com
+Thu Jul  5 09:43:26 UTC 2012 - dmuel...@suse.com
+
+- link .changes files for python/3-qscintilla to qscintilla.changes
+- update to 2.6.2:
+  * Added support for Qt v5.
+  * QsciLexer::wordCharacters() is now part of the public API.
+  * Bug fixes.
+
+---
+Mon Feb 27 09:44:14 CET 2012 - dmuel...@suse.de
+
+- update to 2.6.1:
+  - Mainly a bugfix release 
+
+---
+Sun Feb  5 00:35:40 UTC 2012 - ter...@gmail.com
@@ -7,0 +23 @@
+- remove Qt3 support (it does not compile with current Qt3 packages)
@@ -10 +26 @@
-Mon Aug 29 18:41:49 UTC 2011 - ter...@gmail.com
+Wed Nov 23 06:35:52 UTC 2011 - ter...@gmail.com
@@ -12 +28 @@
-- move sip files into separate package to avoid python 2/3 conflicts
+- build QScintilla plugin for QT4 Designer
@@ -15 +31 @@
-Mon Aug 15 01:42:37 UTC 2011 - ter...@gmail.com
+Mon Aug 15 01:40:43 UTC 2011 - ter...@gmail.com
--- /work/SRC/openSUSE:Factory/qscintilla/python3-qscintilla.changes
2012-02-16 10:09:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.qscintilla.new/python3-qscintilla.changes   
2012-07-15 12:05:41.0 +0200
@@ -2 +2 @@
-Sun Feb  5 00:38:16 UTC 2012 - ter...@gmail.com
+Thu Jul  5 09:43:26 UTC 2012 - dmuel...@suse.com
@@ -4,4 +4,5 @@
-- update to 2.6:
-  - based on Scintilla v2.29. 
-  - improved support for rebinding keys to commands 
-  - native key bindings under OS/X. 
+- link .changes files for python/3-qscintilla to qscintilla.changes
+- update to 2.6.2:
+  * Added support for Qt v5.
+  * QsciLexer::wordCharacters() is now part of the public API.
+  * Bug fixes.
@@ -10 +11 @@
-Tue Nov 22 23:50:59 UTC 2011 - cgiboude...@gmx.com
+Mon Feb 27 09:44:14 CET 2012 - dmuel...@suse.de
@@ -12 +13,2 @@
-- Define python3_sitearch for opensuse  12.1
+- update to 2.6.1:
+  - Mainly a bugfix release 
@@ -15 +17 @@
-Tue Sep 13 13:52:03 UTC 2011 - co...@suse.com
+Sun Feb  5 00:35:40 UTC 2012 - ter...@gmail.com
@@ -17 +19,5 @@
-- do not require packages not installed
+- update to 2.6:
+  - based on Scintilla v2.29. 
+  - improved support for rebinding keys to commands 
+  - native key bindings under OS/X. 
+- remove Qt3 support (it does not compile with current Qt3 packages)
@@ -20 +26 @@
-Mon Aug 29 18:42:23 UTC 2011 - ter...@gmail.com
+Wed Nov 23 06:35:52 UTC 2011 - ter...@gmail.com
@@ -22 +28 @@
-- move sip files into separate package to avoid python 2/3 conflicts
+- build QScintilla plugin for QT4 Designer
@@ -25 +31 @@
-Mon Aug 15 01:42:37 UTC 2011 - ter...@gmail.com
+Mon Aug 15 01:40:43 UTC 2011 - ter...@gmail.com
@@ -28 +33,0 @@
-
@@ -32,32 +37 @@
-* Mon Aug  8 2011 ter...@gmail.com
-
-- more python3 changes
-

-Sun Oct 17 2010 h...@urpla.net
-
-- python 3 adjustments
-

-Tue Sep 21 2010 h...@urpla.net
-
-- update to 2.4.5 release:
-  * Fixed a bug in QsciLexerVerilog that meant that the Keyword style was being
-completely ignored.
-  * QsciStyle now auto-allocates style numbers from 63 rather than STYLE_MAX
-because Scintilla only initially creates enough storage for that number of
-styles.
-  * Fixed a regression, and the original bug, in 
QsciScintilla::clearAnnotations().
-  * Implemented QsciLexerHTML::autoCompletionFillups() to change the fillups to
-/.
-  * The QsciScintillaBase.SendScintilla() Python overloads will now accept 
unicode
-strings that can be encoded to UTF-8.
-  * The entries in user and auto-completion lists should now support UTF-8.
-  * Reverted the addition of the /Encoding/ annotations to SendScintilla() as 
it is
-(probably) not the right solution.
-  * With Python v3, the QsciScintillaBase.SendScintilla() overloads that take
-char * arguments now require them to be bytes objects and no longer allow 
them
-to be str objects.
-

-Fri Jul 30 2010 h...@urpla.net
+Wed Sep  1 10:51:33 CEST 2010 - dmuel...@suse.de
@@ -65,13 +39,5 @@
-- update to 2.4.4 release:
-  * Pop-lists now get removed when the main widget loses focus.
-  * Changed 

commit autogen for openSUSE:Factory

2012-07-15 Thread h_root
Hello community,

here is the log from the commit of package autogen for openSUSE:Factory checked 
in at 2012-07-15 12:05:39

Comparing /work/SRC/openSUSE:Factory/autogen (Old)
 and  /work/SRC/openSUSE:Factory/.autogen.new (New)


Package is autogen, Maintainer is p...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/autogen/autogen.changes  2011-10-03 
09:13:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.autogen.new/autogen.changes 2012-07-15 
12:05:44.0 +0200
@@ -1,0 +2,14 @@
+Sat Jul 14 17:28:10 UTC 2012 - crrodrig...@opensuse.org
+
+- Fix source URL, this update must reach 12.2 because
+  autogen was generating broken C code that segfaults
+  with fortify source.
+
+---
+Tue May 22 03:55:25 UTC 2012 - crrodrig...@opensuse.org
+
+- Update to version 5.16
+* Changes, many see http://autogen.sourceforge.net/announce.html.
+
+
+---

Old:

  autogen-5.11.8.tar.bz2

New:

  autogen-5.16.tar.xz



Other differences:
--
++ autogen.spec ++
--- /var/tmp/diff_new_pack.CpbpUN/_old  2012-07-15 12:05:46.0 +0200
+++ /var/tmp/diff_new_pack.CpbpUN/_new  2012-07-15 12:05:46.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package autogen
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,17 +16,19 @@
 #
 
 
-
 Name:   autogen
-BuildRequires:  guile-devel libxml2-devel pkg-config
+BuildRequires:  guile-devel
 BuildRequires:  libtool
+BuildRequires:  libxml2-devel
+BuildRequires:  pkg-config
+BuildRequires:  xz
 Summary:Automated Text File Generator
-Version:5.11.8
-Release:2
-Group:  Development/Tools/Building
 License:GPL-3.0+
+Group:  Development/Tools/Building
+Version:5.16
+Release:0
 Url:http://autogen.sourceforge.net/
-Source: 
http://ftp.gnu.org/gnu/autogen/%{version}/%{name}-%{version}.tar.bz2
+Source: %{name}-%{version}.tar.xz
 Patch0: autogen-setfilename.patch
 Patch1: autogen-build_ldpath.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ autogen-build_ldpath.patch ++
--- /var/tmp/diff_new_pack.CpbpUN/_old  2012-07-15 12:05:46.0 +0200
+++ /var/tmp/diff_new_pack.CpbpUN/_new  2012-07-15 12:05:46.0 +0200
@@ -1,8 +1,6 @@
-Index: doc/mk-agen-texi-in
-===
 doc/mk-agen-texi-in.orig   2011-02-03 18:07:54.0 +0100
-+++ doc/mk-agen-texi-in2011-03-09 14:35:50.638982611 +0100
-@@ -98,9 +98,9 @@ setup_exports()
+--- doc/mk-agen-texi-in.orig
 doc/mk-agen-texi-in
+@@ -102,9 +102,9 @@ setup_exports()
srcdir=`cd @srcdir@ ; pwd`
PATH=${top_builddir}/columns:${PATH}
timer=`expr @AG_TIMEOUT@ '*' 5`
@@ -15,20 +13,9 @@
  
eval `egrep '^AG_[A-Z_]*' ${top_srcdir}/VERSION`
  
-@@ -222,7 +222,7 @@ setup_exports
- sanity_check
- run_getdefs
- 
--env 2
-+${VERBOSE}  env | sort 2
- exec 3 ${tmp_dir}/ag.ini
- cat 3 - _EOF_
-   timeout ${timer}
-Index: autoopts/Makefile.am
-===
 autoopts/Makefile.am.orig  2011-03-08 01:35:12.0 +0100
-+++ autoopts/Makefile.am   2011-03-09 14:50:16.858878038 +0100
-@@ -120,7 +120,7 @@ INST_SH   = autoopts-con
+--- autoopts/Makefile.am.orig
 autoopts/Makefile.am
+@@ -133,7 +133,7 @@ INST_SH   = autoopts-con
  
  man_MANS  = $(INST_MANS)
  m4data_DATA   = autoopts.m4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit autogen for openSUSE:12.2

2012-07-15 Thread h_root
Hello community,

here is the log from the commit of package autogen for openSUSE:12.2 checked in 
at 2012-07-15 12:05:44

Comparing /work/SRC/openSUSE:12.2/autogen (Old)
 and  /work/SRC/openSUSE:12.2/.autogen.new (New)


Package is autogen, Maintainer is p...@suse.com

Changes:

--- /work/SRC/openSUSE:12.2/autogen/autogen.changes 2012-06-25 
15:15:40.0 +0200
+++ /work/SRC/openSUSE:12.2/.autogen.new/autogen.changes2012-07-15 
12:05:46.0 +0200
@@ -1,0 +2,14 @@
+Sat Jul 14 17:28:10 UTC 2012 - crrodrig...@opensuse.org
+
+- Fix source URL, this update must reach 12.2 because
+  autogen was generating broken C code that segfaults
+  with fortify source.
+
+---
+Tue May 22 03:55:25 UTC 2012 - crrodrig...@opensuse.org
+
+- Update to version 5.16
+* Changes, many see http://autogen.sourceforge.net/announce.html.
+
+
+---

Old:

  autogen-5.11.8.tar.bz2

New:

  autogen-5.16.tar.xz



Other differences:
--
++ autogen.spec ++
--- /var/tmp/diff_new_pack.SzbJOu/_old  2012-07-15 12:05:46.0 +0200
+++ /var/tmp/diff_new_pack.SzbJOu/_new  2012-07-15 12:05:46.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package autogen
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,17 +16,19 @@
 #
 
 
-
 Name:   autogen
-BuildRequires:  guile-devel libxml2-devel pkg-config
+BuildRequires:  guile-devel
 BuildRequires:  libtool
+BuildRequires:  libxml2-devel
+BuildRequires:  pkg-config
+BuildRequires:  xz
 Summary:Automated Text File Generator
-Version:5.11.8
-Release:2
-Group:  Development/Tools/Building
 License:GPL-3.0+
+Group:  Development/Tools/Building
+Version:5.16
+Release:0
 Url:http://autogen.sourceforge.net/
-Source: 
http://ftp.gnu.org/gnu/autogen/%{version}/%{name}-%{version}.tar.bz2
+Source: %{name}-%{version}.tar.xz
 Patch0: autogen-setfilename.patch
 Patch1: autogen-build_ldpath.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ autogen-build_ldpath.patch ++
--- /var/tmp/diff_new_pack.SzbJOu/_old  2012-07-15 12:05:46.0 +0200
+++ /var/tmp/diff_new_pack.SzbJOu/_new  2012-07-15 12:05:46.0 +0200
@@ -1,8 +1,6 @@
-Index: doc/mk-agen-texi-in
-===
 doc/mk-agen-texi-in.orig   2011-02-03 18:07:54.0 +0100
-+++ doc/mk-agen-texi-in2011-03-09 14:35:50.638982611 +0100
-@@ -98,9 +98,9 @@ setup_exports()
+--- doc/mk-agen-texi-in.orig
 doc/mk-agen-texi-in
+@@ -102,9 +102,9 @@ setup_exports()
srcdir=`cd @srcdir@ ; pwd`
PATH=${top_builddir}/columns:${PATH}
timer=`expr @AG_TIMEOUT@ '*' 5`
@@ -15,20 +13,9 @@
  
eval `egrep '^AG_[A-Z_]*' ${top_srcdir}/VERSION`
  
-@@ -222,7 +222,7 @@ setup_exports
- sanity_check
- run_getdefs
- 
--env 2
-+${VERBOSE}  env | sort 2
- exec 3 ${tmp_dir}/ag.ini
- cat 3 - _EOF_
-   timeout ${timer}
-Index: autoopts/Makefile.am
-===
 autoopts/Makefile.am.orig  2011-03-08 01:35:12.0 +0100
-+++ autoopts/Makefile.am   2011-03-09 14:50:16.858878038 +0100
-@@ -120,7 +120,7 @@ INST_SH   = autoopts-con
+--- autoopts/Makefile.am.orig
 autoopts/Makefile.am
+@@ -133,7 +133,7 @@ INST_SH   = autoopts-con
  
  man_MANS  = $(INST_MANS)
  m4data_DATA   = autoopts.m4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit llvm for openSUSE:Factory

2012-07-15 Thread h_root
Hello community,

here is the log from the commit of package llvm for openSUSE:Factory checked in 
at 2012-07-15 12:05:48

Comparing /work/SRC/openSUSE:Factory/llvm (Old)
 and  /work/SRC/openSUSE:Factory/.llvm.new (New)


Package is llvm, Maintainer is mh...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/llvm/llvm.changes2012-05-26 
13:07:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes   2012-07-15 
12:05:54.0 +0200
@@ -1,0 +2,16 @@
+Fri Jul 13 21:03:40 UTC 2012 - llu...@suse.com
+
+- change rewrite-includes patch to use options to match upstream
+  changed option names
+
+---
+Fri Jul 13 10:14:15 UTC 2012 - llu...@suse.com
+
+- fix debuginfo generation (PR#13303)
+
+---
+Mon Jun 18 20:26:51 UTC 2012 - llu...@suse.com
+
+- Do not reject PCH because of -DFOO duplication (PR#13141)
+
+---

New:

  pr12463.patch
  pr13141.patch
  pr13303.patch



Other differences:
--
++ llvm.spec ++
--- /var/tmp/diff_new_pack.iAtnLs/_old  2012-07-15 12:05:55.0 +0200
+++ /var/tmp/diff_new_pack.iAtnLs/_new  2012-07-15 12:05:55.0 +0200
@@ -39,6 +39,9 @@
 Patch4: default-to-i586.patch
 Patch5: clang-fix-mips-test.patch
 Patch6: rewrite-includes.patch
+Patch7: pr12463.patch
+Patch8: pr13141.patch
+Patch9: pr13303.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -138,6 +141,9 @@
 %patch6 -p0
 # sle11 patch cannot create empty files
 touch tools/clang/test/Frontend/Inputs/rewrite-includes9.h
+%patch7 -p0
+%patch8 -p0
+%patch9 -p1
 
 # We hardcode i586
 rm tools/clang/test/Driver/x86_features.c

++ pr12463.patch ++
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index fea0fe1..1046972 100644
--- tools/clang/lib/Sema/SemaExpr.cpp
+++ tools/clang/lib/Sema/SemaExpr.cpp
@@ -6577,23 +6577,29 @@ QualType Sema::CheckCompareOperands(ExprResult LHS, 
ExprResult RHS,
   checkEnumComparison(*this, Loc, LHS, RHS);
 
   if (!LHSType-hasFloatingRepresentation() 
-  !(LHSType-isBlockPointerType()  IsRelational) 
-  !LHS.get()-getLocStart().isMacroID() 
-  !RHS.get()-getLocStart().isMacroID()) {
+  !(LHSType-isBlockPointerType()  IsRelational)) {
 // For non-floating point types, check for self-comparisons of the form
 // x == x, x != x, x  x, etc.  These always evaluate to a constant, and
 // often indicate logic errors in the program.
 //
-// NOTE: Don't warn about comparison expressions resulting from macro
-// expansion. Also don't warn about comparisons which are only self
+// NOTE: Don't warn about self-comparison expressions resulting from macro
+// expansion, unless they don't make sense at all.
+// Also don't warn about comparisons which are only self
 // comparisons within a template specialization. The warnings should catch
 // obvious cases in the definition of the template anyways. The idea is to
 // warn when the typed comparison operator will always evaluate to the same
 // result.
+bool InMacro = LHS.get()-getLocStart().isMacroID() ||
+   RHS.get()-getLocStart().isMacroID();
 if (DeclRefExpr* DRL = dyn_castDeclRefExpr(LHSStripped)) {
   if (DeclRefExpr* DRR = dyn_castDeclRefExpr(RHSStripped)) {
+if (isaCastExpr(LHSStripped))
+  LHSStripped = LHSStripped-IgnoreParenCasts();
 if (DRL-getDecl() == DRR-getDecl() 
-!IsWithinTemplateSpecialization(DRL-getDecl())) {
+!IsWithinTemplateSpecialization(DRL-getDecl()) 
+!InMacro 
+!isaStringLiteral(LHSStripped) 
+!isaObjCEncodeExpr(LHSStripped)) {
   DiagRuntimeBehavior(Loc, 0, PDiag(diag::warn_comparison_always)
0 // self-
(Opc == BO_EQ
@@ -6602,23 +6608,26 @@ QualType Sema::CheckCompareOperands(ExprResult LHS, 
ExprResult RHS,
 } else if (LHSType-isArrayType()  RHSType-isArrayType() 
!DRL-getDecl()-getType()-isReferenceType() 
!DRR-getDecl()-getType()-isReferenceType()) {
-// what is it always going to eval to?
-char always_evals_to;
 switch(Opc) {
 case BO_EQ: // e.g. array1 == array2
-  always_evals_to = 0; // false
+  if (!InMacro)
+DiagRuntimeBehavior(Loc, 0, PDiag(diag::warn_comparison_always)
+ 1 // array
+ 

commit llvm for openSUSE:12.2

2012-07-15 Thread h_root
Hello community,

here is the log from the commit of package llvm for openSUSE:12.2 checked in at 
2012-07-15 12:05:53

Comparing /work/SRC/openSUSE:12.2/llvm (Old)
 and  /work/SRC/openSUSE:12.2/.llvm.new (New)


Package is llvm, Maintainer is mh...@novell.com

Changes:

--- /work/SRC/openSUSE:12.2/llvm/llvm.changes   2012-06-25 15:45:40.0 
+0200
+++ /work/SRC/openSUSE:12.2/.llvm.new/llvm.changes  2012-07-15 
12:05:56.0 +0200
@@ -1,0 +2,16 @@
+Fri Jul 13 21:03:40 UTC 2012 - llu...@suse.com
+
+- change rewrite-includes patch to use options to match upstream
+  changed option names
+
+---
+Fri Jul 13 10:14:15 UTC 2012 - llu...@suse.com
+
+- fix debuginfo generation (PR#13303)
+
+---
+Mon Jun 18 20:26:51 UTC 2012 - llu...@suse.com
+
+- Do not reject PCH because of -DFOO duplication (PR#13141)
+
+---

New:

  pr12463.patch
  pr13141.patch
  pr13303.patch



Other differences:
--
++ llvm.spec ++
--- /var/tmp/diff_new_pack.Jsg8Ac/_old  2012-07-15 12:05:56.0 +0200
+++ /var/tmp/diff_new_pack.Jsg8Ac/_new  2012-07-15 12:05:56.0 +0200
@@ -39,6 +39,9 @@
 Patch4: default-to-i586.patch
 Patch5: clang-fix-mips-test.patch
 Patch6: rewrite-includes.patch
+Patch7: pr12463.patch
+Patch8: pr13141.patch
+Patch9: pr13303.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -138,6 +141,9 @@
 %patch6 -p0
 # sle11 patch cannot create empty files
 touch tools/clang/test/Frontend/Inputs/rewrite-includes9.h
+%patch7 -p0
+%patch8 -p0
+%patch9 -p1
 
 # We hardcode i586
 rm tools/clang/test/Driver/x86_features.c

++ pr12463.patch ++
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index fea0fe1..1046972 100644
--- tools/clang/lib/Sema/SemaExpr.cpp
+++ tools/clang/lib/Sema/SemaExpr.cpp
@@ -6577,23 +6577,29 @@ QualType Sema::CheckCompareOperands(ExprResult LHS, 
ExprResult RHS,
   checkEnumComparison(*this, Loc, LHS, RHS);
 
   if (!LHSType-hasFloatingRepresentation() 
-  !(LHSType-isBlockPointerType()  IsRelational) 
-  !LHS.get()-getLocStart().isMacroID() 
-  !RHS.get()-getLocStart().isMacroID()) {
+  !(LHSType-isBlockPointerType()  IsRelational)) {
 // For non-floating point types, check for self-comparisons of the form
 // x == x, x != x, x  x, etc.  These always evaluate to a constant, and
 // often indicate logic errors in the program.
 //
-// NOTE: Don't warn about comparison expressions resulting from macro
-// expansion. Also don't warn about comparisons which are only self
+// NOTE: Don't warn about self-comparison expressions resulting from macro
+// expansion, unless they don't make sense at all.
+// Also don't warn about comparisons which are only self
 // comparisons within a template specialization. The warnings should catch
 // obvious cases in the definition of the template anyways. The idea is to
 // warn when the typed comparison operator will always evaluate to the same
 // result.
+bool InMacro = LHS.get()-getLocStart().isMacroID() ||
+   RHS.get()-getLocStart().isMacroID();
 if (DeclRefExpr* DRL = dyn_castDeclRefExpr(LHSStripped)) {
   if (DeclRefExpr* DRR = dyn_castDeclRefExpr(RHSStripped)) {
+if (isaCastExpr(LHSStripped))
+  LHSStripped = LHSStripped-IgnoreParenCasts();
 if (DRL-getDecl() == DRR-getDecl() 
-!IsWithinTemplateSpecialization(DRL-getDecl())) {
+!IsWithinTemplateSpecialization(DRL-getDecl()) 
+!InMacro 
+!isaStringLiteral(LHSStripped) 
+!isaObjCEncodeExpr(LHSStripped)) {
   DiagRuntimeBehavior(Loc, 0, PDiag(diag::warn_comparison_always)
0 // self-
(Opc == BO_EQ
@@ -6602,23 +6608,26 @@ QualType Sema::CheckCompareOperands(ExprResult LHS, 
ExprResult RHS,
 } else if (LHSType-isArrayType()  RHSType-isArrayType() 
!DRL-getDecl()-getType()-isReferenceType() 
!DRR-getDecl()-getType()-isReferenceType()) {
-// what is it always going to eval to?
-char always_evals_to;
 switch(Opc) {
 case BO_EQ: // e.g. array1 == array2
-  always_evals_to = 0; // false
+  if (!InMacro)
+DiagRuntimeBehavior(Loc, 0, PDiag(diag::warn_comparison_always)
+ 1 // array
+ 0 /*