commit bulk_extractor for openSUSE:Factory
Hello community, here is the log from the commit of package bulk_extractor for openSUSE:Factory checked in at 2012-12-31 14:24:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bulk_extractor (Old) and /work/SRC/openSUSE:Factory/.bulk_extractor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "bulk_extractor", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/bulk_extractor/bulk_extractor.changes 2012-09-10 15:28:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bulk_extractor.new/bulk_extractor.changes 2012-12-31 14:24:25.000000000 +0100 @@ -1,0 +2,6 @@ +Sun Dec 30 23:40:59 UTC 2012 - dvaleev@suse.com + +- don't optimize a code when doing HAVE_ASM_CPUID detection + ppc-cpuid.patch + +------------------------------------------------------------------- New: ---- ppc-cpuid.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bulk_extractor.spec ++++++ --- /var/tmp/diff_new_pack.86xGom/_old 2012-12-31 14:24:28.000000000 +0100 +++ /var/tmp/diff_new_pack.86xGom/_new 2012-12-31 14:24:28.000000000 +0100 @@ -26,6 +26,7 @@ # Source: bulk_extractor-%%{version}.tar.gz Source: http://afflib.org/downloads/bulk_extractor-%{version}.tar.gz Patch1: cpuid.patch +Patch2: ppc-cpuid.patch BuildRequires: afflib-devel BuildRequires: flex BuildRequires: gcc-c++ @@ -46,6 +47,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %configure ++++++ ppc-cpuid.patch ++++++ Index: bulk_extractor-1.2.0/configure.ac =================================================================== --- bulk_extractor-1.2.0.orig/configure.ac +++ bulk_extractor-1.2.0/configure.ac @@ -407,7 +407,7 @@ AC_LANG_POP() ################################################################ # # Do we have the CPUID instruction? -AC_TRY_COMPILE([#define cpuid(id) __asm__( "cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) : "a"(id), "b"(0), "c"(0), "d"(0))], +AC_TRY_COMPILE([#define cpuid(id) __asm__ volatile ( "cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) : "a"(id), "b"(0), "c"(0), "d"(0))], [unsigned long eax, ebx, ecx, edx;cpuid(0);], have_cpuid=yes, have_cpuid=no) Index: bulk_extractor-1.2.0/configure =================================================================== --- bulk_extractor-1.2.0.orig/configure +++ bulk_extractor-1.2.0/configure @@ -7799,7 +7799,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Do we have the CPUID instruction? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#define cpuid(id) __asm__( "cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) : "a"(id), "b"(0), "c"(0), "d"(0)) +#define cpuid(id) __asm__ volatile ( "cpuid" : "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx) : "a"(id), "b"(0), "c"(0), "d"(0)) int main () { -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de