Hello community, here is the log from the commit of package bonnie checked in at Fri May 19 16:37:55 CEST 2006. -------- --- bonnie/bonnie.changes 2006-01-25 21:34:43.000000000 +0100 +++ bonnie/bonnie.changes 2006-05-19 15:27:14.000000000 +0200 @@ -1,0 +2,5 @@ +Fri May 19 15:27:05 CEST 2006 - ro@suse.de + +- fix build on ppc64 (define PAGE_MASK if not done) + +------------------------------------------------------------------- New: ---- bonnie-1.4.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bonnie.spec ++++++ --- /var/tmp/diff_new_pack.x64pcp/_old 2006-05-19 16:36:52.000000000 +0200 +++ /var/tmp/diff_new_pack.x64pcp/_new 2006-05-19 16:36:52.000000000 +0200 @@ -1,40 +1,41 @@ # # spec file for package bonnie (Version 1.4) # -# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# please send bugfixes or comments to feedback@suse.de. +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# usedforbuild aaa_base aaa_dir aaa_version autoconf automake base bash bindutil binutils bison bzip cpio cpp cracklib cyrus-sasl db devs diffutils e2fsprogs file fileutils findutils flex gawk gcc gdbm gdbm-devel gettext glibc glibc-devel glibc-locale gpm gppshare grep groff gzip kbd less libtool libz m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg pam pam-devel pam-modules patch perl ps rcs readline rpm sendmail sh-utils shadow strace syslogd sysvinit texinfo textutils timezone unzip util-linux vim Name: bonnie -Copyright: Freely distributable (Artistic) +URL: http://www.garloff.de/kurt/linux/bonnie/ +License: GPL Group: System/Benchmark Autoreqprov: on Summary: File System Benchmark Version: 1.4 -Release: 0 +Release: 351 Source: %{name}-%{version}.tar.bz2 +Patch: bonnie-1.4.dif #Patch: %{name}-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Bonnie is a popular performance benchmark that targets various aspects of -Unix filesystems. +Bonnie is a popular performance benchmark that targets various aspects +of Unix file systems. + + Authors: -------- Tim Bray <tbray@textuality.com> Kurt Garloff <garloff@suse.de> -SuSE series: ap - %prep %setup -n bonnie -#%patch -p1 +%patch %build make CC=gcc CFLAGS="$RPM_OPT_FLAGS" @@ -48,6 +49,8 @@ %{_mandir}/man1/bonnie.1.gz %changelog -n bonnie +* Fri May 19 2006 - ro@suse.de +- fix build on ppc64 (define PAGE_MASK if not done) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Thu Apr 04 2002 - garloff@suse.de ++++++ bonnie-1.4.dif ++++++ --- Bonnie.c +++ Bonnie.c @@ -170,6 +170,13 @@ #define o_direct 0 #endif +#ifndef PAGE_SIZE +#define PAGE_SIZE getpagesize() +#endif +#ifndef PAGE_MASK +#define PAGE_MASK (~(PAGE_SIZE - 1)) +#endif + int main( int argc, char * argv[]) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de