diff --git a/file-5.12-llong.dif b/file-5.12-llong.dif new file mode 100644 index 0000000..3011bad --- /dev/null +++ b/file-5.12-llong.dif @@ -0,0 +1,10 @@ +--- configure.ac ++++ configure.ac 2013-01-23 12:57:44.605952352 +0000 +@@ -107,6 +107,7 @@ AC_TYPE_UINT32_T + AC_TYPE_INT32_T + AC_TYPE_UINT64_T + AC_TYPE_INT64_T ++AC_CHECK_SIZEOF(long long) + AC_FUNC_MMAP + AC_FUNC_FORK + AC_FUNC_MBRTOWC diff --git a/file.changes b/file.changes index 3f45bd5..7619075 100644 --- a/file.changes +++ b/file.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 23 13:00:47 UTC 2013 - werner@suse.de + +- Make if build on ppc64, that is re-add the configure check for + sizeof long long otherwise readelf fail on ppc64 + ------------------------------------------------------------------- Tue Jan 22 16:22:05 UTC 2013 - werner@suse.de diff --git a/file.spec b/file.spec index 572e92b..99b8d6c 100644 --- a/file.spec +++ b/file.spec @@ -36,6 +36,7 @@ Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz Source2: baselibs.conf Patch: file-5.12.dif Patch1: file-5.12-misc.dif +Patch2: file-5.12-llong.dif Patch4: file-4.24-autoconf.dif Patch5: file-4.03-tex.dif Patch7: file-4.20-ssd.dif @@ -100,6 +101,7 @@ to develop applications that require the magic "file" interface. %setup -q -n file-%{version} %patch42 -p1 %patch1 -p0 -b .misc +%patch2 -p0 -b .llong %patch4 -p0 -b .conf %patch5 -p0 -b .tex %patch7 -p0 -b .ssd