Hello community, here is the log from the commit of package crystalhd for openSUSE:Factory checked in at Tue Jun 28 11:28:19 CEST 2011.
-------- --- crystalhd/crystalhd.changes 2011-03-16 10:59:31.000000000 +0100 +++ /mounts/work_src_done/STABLE/crystalhd/crystalhd.changes 2011-06-28 09:25:14.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jun 28 09:24:48 CEST 2011 - [email protected] + +- Fix builds on FACTORY kernel with gcc 4.6 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- crystalhd-fix-includes.diff crystalhd-fix-sections.diff crystalhd-fix-uninitialized.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crystalhd.spec ++++++ --- /var/tmp/diff_new_pack.mkai1g/_old 2011-06-28 11:26:04.000000000 +0200 +++ /var/tmp/diff_new_pack.mkai1g/_new 2011-06-28 11:26:04.000000000 +0200 @@ -23,7 +23,7 @@ Summary: Broadcom Crystal HD driver KMP Group: System/Kernel Version: 3.10.0 -Release: 5 +Release: 6 License: GPLv2 Group: System/Kernel Source0: crystalhd-driver_%{version}-1.tar.bz2 @@ -32,6 +32,10 @@ Source3: preamble # PATCH-FIX-OPENSUSE unused-variable.patch -- Remove unused variables to fix compilation with gcc 4.6 Patch: unused-variable.patch +# Just for gcc-4.6 spewing invalid warnings +Patch1: crystalhd-fix-uninitialized.diff +Patch2: crystalhd-fix-includes.diff +Patch3: crystalhd-fix-sections.diff Requires: crystalhd-firmware Recommends: gstreamer-0_10-plugin-crystalhd Url: http://www.broadcom.com/support/crystal_hd/ @@ -56,6 +60,9 @@ %prep %setup -q -n crystalhd-driver %patch +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 echo 'crystalhd.ko external' > Module.supported set -- * mkdir source ++++++ crystalhd-fix-includes.diff ++++++ --- crystalhd_hw.h | 1 + 1 file changed, 1 insertion(+) --- a/crystalhd_hw.h +++ b/crystalhd_hw.h @@ -35,6 +35,7 @@ #else #include <asm/semaphore.h> #endif +#include <linux/delay.h> #include "crystalhd_fw_if.h" #include "crystalhd_misc.h" #include "DriverFwShare.h" ++++++ crystalhd-fix-sections.diff ++++++ --- crystalhd_lnx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/crystalhd_lnx.c +++ b/crystalhd_lnx.c @@ -498,7 +498,7 @@ return rc; } -static void __devexit chd_dec_release_chdev(struct crystalhd_adp *adp) +static void chd_dec_release_chdev(struct crystalhd_adp *adp) { crystalhd_ioctl_data *temp = NULL; if (!adp) @@ -582,7 +582,7 @@ return 0; } -static void __devexit chd_pci_release_mem(struct crystalhd_adp *pinfo) +static void chd_pci_release_mem(struct crystalhd_adp *pinfo) { if (!pinfo) return; ++++++ crystalhd-fix-uninitialized.diff ++++++ Just for buggy gcc-4.6 spewing wrong warnings... --- crystalhd_fleafuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/crystalhd_fleafuncs.c +++ b/crystalhd_fleafuncs.c @@ -563,7 +563,7 @@ static void crystalhd_flea_runtime_power_dn(struct crystalhd_hw *hw) { - uint32_t regVal; + uint32_t regVal = 0; uint32_t pollCnt; /*printk("RT PD \n"); */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
