Hello community,

here is the log from the commit of package CodeAnalyst for openSUSE:Factory
checked in at Wed Jul 13 12:22:24 CEST 2011.



--------
--- CodeAnalyst/CodeAnalyst.changes     2011-04-04 18:45:04.000000000 +0200
+++ /mounts/work_src_done/STABLE/CodeAnalyst/CodeAnalyst.changes        
2011-07-12 13:17:20.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Jul 12 11:16:35 UTC 2011 - [email protected]
+
+- fixed build with gcc 4.6
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  gcc46.patch

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

Other differences:
------------------
++++++ CodeAnalyst.spec ++++++
--- /var/tmp/diff_new_pack.apxrru/_old  2011-07-13 12:15:37.000000000 +0200
+++ /var/tmp/diff_new_pack.apxrru/_new  2011-07-13 12:15:37.000000000 +0200
@@ -22,7 +22,7 @@
 
 Name:           CodeAnalyst
 Version:        2.12.3
-Release:        1
+Release:        3
 License:        GPLv2
 Group:          Development/Tools/Other
 Url:            http://developer.amd.com/cpu/CodeAnalyst/codeanalystlinux
@@ -34,6 +34,7 @@
 Patch0:         ca-use-oprofile-default-buffersize.patch
 # Fix basename issue when building
 Patch3:         ca-fix-oprofile-ibs-check.patch
+Patch4:         gcc46.patch
 Requires:       binutils
 Requires:       oprofile >= 0.9.4
 PreReq:         pwdutils
@@ -66,6 +67,7 @@
 %setup -q -n %{name}-%{file_ver}
 %patch0 -b .ca-use-oprofile-default-buffersize
 %patch3 -p0 -b .ca-fix-oprofile-ibs-check
+%patch4
 
 %build
 ./autogen.sh

++++++ gcc46.patch ++++++
--- src/ca/gui/Makefile.am.orig 2010-12-15 03:12:10.000000000 +0100
+++ src/ca/gui/Makefile.am      2011-07-11 15:30:13.000000000 +0200
@@ -204,7 +204,7 @@
        -ldl
 endif
 
-CodeAnalyst_LDFLAGS= -fPIC --no-undefined @QT_LDFLAGS@
+CodeAnalyst_LDFLAGS= -fPIC -Wl,--no-undefined @QT_LDFLAGS@
 
 splashdir=$(prefix)/share/codeanalyst
 splash_DATA=CASplash.png
--- ./src/ca/diffgui/NewSessionWizard.h.orig    2011-07-11 17:11:58.000000000 
+0200
+++ ./src/ca/diffgui/NewSessionWizard.h 2011-07-11 17:12:33.000000000 +0200
@@ -19,6 +19,7 @@
 #ifndef _NEWSESSIONWIZARD_H_
 #define _NEWSESSIONWIZARD_H_
 
+#include <stddef.h>
 #include "diffStruct.h"
 #include "iNewSessionWizard.h"
 #include "tbsreader.h"
--- ./src/ca/diffgui/Makefile.am.orig   2011-07-11 17:17:28.000000000 +0200
+++ ./src/ca/diffgui/Makefile.am        2011-07-11 17:17:54.000000000 +0200
@@ -92,7 +92,7 @@
 
 endif
 
-DiffAnalyst_LDFLAGS= -fPIC --no-undefined @QT_LDFLAGS@
+DiffAnalyst_LDFLAGS= -fPIC -Wl,--no-undefined @QT_LDFLAGS@
 
 AM_CPPFLAGS= $(FLAG64) -pipe -DQT_SHARED -DQT_THREAD_SUPPORT \
        @QT_INCLUDES@ \
--- src/ca/utils/Makefile.am.orig       2011-07-11 17:22:05.000000000 +0200
+++ src/ca/utils/Makefile.am    2011-07-12 13:05:38.000000000 +0200
@@ -4,7 +4,7 @@
        ca_user_manager.cpp
 
 ca_user_manager_LDFLAGS = \
-       -fPIC --no-undefined @QT_LDFLAGS@
+       -fPIC -Wl,--no-undefined @QT_LDFLAGS@
 
 ca_user_manager_LDADD = \
        @QT_LIB@ \
@@ -14,7 +14,7 @@
        ca_oprofile_controller.cpp
 
 ca_oprofile_controller_LDFLAGS = \
-       -fPIC --no-undefined
+       -fPIC -Wl,--no-undefined
 
 ca_oprofile_controller_LDADD = \
        -lpopt 

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to