Hello community,

here is the log from the commit of package OpenGTL for openSUSE:Factory checked 
in at 2012-12-03 11:11:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/OpenGTL (Old)
 and      /work/SRC/openSUSE:Factory/.OpenGTL.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "OpenGTL", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/OpenGTL/OpenGTL.changes  2012-10-03 
09:21:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.OpenGTL.new/OpenGTL.changes     2012-12-03 
11:11:27.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Nov 24 16:06:53 UTC 2012 - [email protected]
+
+- Added patches
+  * llvm.patch -- correctly detect our 3.1 version of llvm
+  * targetData.patch -- rename from "llvm/Target/TargetData.h" to
+    "llvm/DataLayout.h"
+
+-------------------------------------------------------------------

New:
----
  llvm.patch
  targetData.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ OpenGTL.spec ++++++
--- /var/tmp/diff_new_pack.H2MGn0/_old  2012-12-03 11:11:28.000000000 +0100
+++ /var/tmp/diff_new_pack.H2MGn0/_new  2012-12-03 11:11:28.000000000 +0100
@@ -33,6 +33,10 @@
 Patch0:         GTLImageIO-Extensions-Installdir.patch
 # PATCH-FIX-UPSTREAM ld_link_fix.patch bnc#778260 kde#304903 
[email protected] -- Fix 'ld' not wanting to link the llvm JIT library
 Patch1:         ld_link_fix.patch
+# PATCH-FIX-OPENSUSE llvm.patch [email protected] -- Correctly detect our 
3.1 version of llvm
+Patch2:         llvm.patch
+# PATCH-FIX-UPSTREAM targetData.patch [email protected] -- Rename from 
"llvm/Target/TargetData.h" to "llvm/DataLayout.h"
+Patch3:         targetData.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libpng-devel
@@ -136,6 +140,10 @@
 %setup -q
 %patch0
 %patch1 -p1
+%if 0%{?suse_version} > 1220
+%patch2
+%patch3
+%endif
 
 %build
 mkdir build

++++++ llvm.patch ++++++
--- CMakeLists.txt.old  2012-11-24 15:49:10.603213815 +0000
+++ CMakeLists.txt      2012-11-24 15:49:59.553210726 +0000
@@ -47,7 +47,7 @@ configure_file(config-endian.h.cmake ${C
 
 find_package(LLVM REQUIRED)
 
-if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL "3.1" OR LLVM_VERSION STREQUAL 
"3.0" ) ) # There is no way with MSVC to know the llvm version
+if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL "3.1" OR LLVM_VERSION STREQUAL 
"3.0" OR LLVM_VERSION STRGREATER "3.1") ) # There is no way with MSVC to know 
the llvm version
   message(FATAL_ERROR "LLVM 3.0 or 3.1 is required.")
 endif()
 
++++++ targetData.patch ++++++
--- OpenCTL/OpenCTL/Program.cpp.old     2012-11-24 15:58:47.600182919 +0000
+++ OpenCTL/OpenCTL/Program.cpp 2012-11-24 15:59:16.735177705 +0000
@@ -29,7 +29,7 @@
 #include <llvm/PassManager.h>
 #include <llvm/Analysis/LoopPass.h>
 #include <llvm/Analysis/Verifier.h>
-#include <llvm/Target/TargetData.h>
+#include <llvm/DataLayout.h>
 #include <llvm/GlobalVariable.h>
 
 // GTLCore
--- OpenGTL/GTLCore/ModuleData_p.cpp.old        2012-11-24 15:55:16.866194096 
+0000
+++ OpenGTL/GTLCore/ModuleData_p.cpp    2012-11-24 15:56:03.008191694 +0000
@@ -23,7 +23,7 @@
 
 #include <llvm/Module.h>
 #include <llvm/PassManager.h>
-#include <llvm/Target/TargetData.h>
+#include <llvm/DataLayout.h>
 #include <llvm/Target/TargetMachine.h>
 #include <llvm/Analysis/Verifier.h>
 #include <llvm/Transforms/Utils/Cloning.h>
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to