Hello community, here is the log from the commit of package xawtv checked in at Sun May 21 02:14:32 CEST 2006. -------- --- xawtv/xawtv.changes 2006-01-25 21:42:58.000000000 +0100 +++ xawtv/xawtv.changes 2006-05-19 16:47:11.000000000 +0200 @@ -1,0 +2,5 @@ +Fri May 19 16:47:04 CEST 2006 - ro@suse.de + +- fix build on ppc64 + +------------------------------------------------------------------- New: ---- xawtv-pagemask.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xawtv.spec ++++++ --- /var/tmp/diff_new_pack.uOKXxT/_old 2006-05-21 02:14:17.000000000 +0200 +++ /var/tmp/diff_new_pack.uOKXxT/_new 2006-05-21 02:14:17.000000000 +0200 @@ -5,7 +5,7 @@ # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -19,12 +19,13 @@ Conflicts: xaw3dd Autoreqprov: on Version: 3.94 -Release: 9 +Release: 21 Summary: Video4Linux TV application (Athena) Source: http://dl.bytesex.org/releases/xawtv/%{name}-%{version}.tar.bz2 Source1: motv.desktop Patch: xawtv-gcc4.patch Patch1: xawtv-strip.patch +Patch2: xawtv-pagemask.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: permissions @@ -144,6 +145,7 @@ %setup -q %patch %patch1 +%patch2 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" @@ -301,6 +303,8 @@ rm -rf "%{buildroot}" %changelog -n xawtv +* Fri May 19 2006 - ro@suse.de +- fix build on ppc64 * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 20 2006 - schwab@suse.de ++++++ xawtv-pagemask.patch ++++++ --- console/fbtools.c +++ console/fbtools.c @@ -23,6 +23,13 @@ #include <asm/page.h> +#ifndef PAGE_SIZE +#define PAGE_SIZE getpagesize() +#endif +#ifndef PAGE_MASK +#define PAGE_MASK (~(PAGE_SIZE - 1)) +#endif + #include "fbtools.h" /* -------------------------------------------------------------------- */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...