Hello community, here is the log from the commit of package memprof for openSUSE:Factory checked in at 2012-01-05 19:14:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/memprof (Old) and /work/SRC/openSUSE:Factory/.memprof.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "memprof", Maintainer is "gnome-maintain...@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/memprof/memprof.changes 2011-09-23 02:12:54.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.memprof.new/memprof.changes 2012-01-05 19:14:02.000000000 +0100 @@ -1,0 +2,6 @@ +Sun Oct 30 18:36:52 UTC 2011 - r...@wi.rr.com + +- Add memprof-arch-neutral.patch: Fix build error making + stack-frame.h arch neutral based on word size and not arch name. + +------------------------------------------------------------------- New: ---- memprof-arch-neutral.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ memprof.spec ++++++ --- /var/tmp/diff_new_pack.RJ2ZlK/_old 2012-01-05 19:14:03.000000000 +0100 +++ /var/tmp/diff_new_pack.RJ2ZlK/_new 2012-01-05 19:14:03.000000000 +0100 @@ -27,6 +27,8 @@ Source: %{name}-%{version}.tar.bz2 # PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches Patch3: memprof-0.5.1-desktop.patch +# PATCH-FIX-UPSTREAM memprof-arch-neutral.patch bgo#663253 r...@wi.rr.com -- Fix build on different archs than x86_64 and i586. +Patch4: memprof-arch-neutral.patch BuildRequires: binutils-devel BuildRequires: fdupes BuildRequires: gtk2-devel @@ -46,6 +48,7 @@ %setup -q translation-update-upstream %patch3 +%patch4 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing" ++++++ memprof-arch-neutral.patch ++++++ --- memprof-0.6.2/lib/stack-frame.h.orig 2011-10-30 13:33:48.000000000 -0500 +++ memprof-0.6.2/lib/stack-frame.h 2011-10-30 13:33:50.000000000 -0500 @@ -34,11 +34,11 @@ #define __STACK_FRAME_H__ /* STACKPOINTER macros to access the right regs on different ARCHs */ -#if defined (__i386__) +#if __WORDSIZE == 32 #define EIPRIP eip #define EBPRBP ebp #define ESPRSP esp -#elif defined (__x86_64__) +#elif __WORDSIZE == 64 #define EIPRIP rip #define EBPRBP rbp #define ESPRSP rsp -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org