Date: Monday, December 31, 2018 @ 17:07:37 Author: mtorromeo Revision: 420041
Removed sse4 instructions Added: rmlint/trunk/no-sse4.patch Modified: rmlint/trunk/PKGBUILD ---------------+ PKGBUILD | 9 ++++++--- no-sse4.patch | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-12-31 16:43:13 UTC (rev 420040) +++ PKGBUILD 2018-12-31 17:07:37 UTC (rev 420041) @@ -5,7 +5,7 @@ pkgbase=rmlint pkgname=(rmlint rmlint-shredder) pkgver=2.8.0 -pkgrel=1 +pkgrel=2 url="https://github.com/sahib/rmlint" license=('GPL3') arch=('x86_64') @@ -12,12 +12,15 @@ makedepends=('scons' 'python-sphinx' 'gettext' 'sqlite' 'libutil-linux' 'binutils' 'json-glib' 'libelf' 'python-gobject' 'python-cairo' 'dconf' 'gtksourceview3' 'librsvg' 'desktop-file-utils' 'python-requests') -source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz") -sha256sums=('196bb595ac4d3d1a76ed62542b7895bda1cea47f0f77483286b2dfc8fc797253') +source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz" + "no-sse4.patch") +sha256sums=('196bb595ac4d3d1a76ed62542b7895bda1cea47f0f77483286b2dfc8fc797253' + '634386ee36022f0ebbb4750a7fbc8475eb2be8e36bee051f7e5878ea09b791f1') prepare() { cd "$srcdir"/$pkgbase-$pkgver sed 's/python4/python/' -i gui/SConscript + # patch -p1 -i "$srcdir"/no-sse4.patch } build() { Added: no-sse4.patch =================================================================== --- no-sse4.patch (rev 0) +++ no-sse4.patch 2018-12-31 17:07:37 UTC (rev 420041) @@ -0,0 +1,16 @@ +diff --git a/SConstruct b/SConstruct +index 81d54a4..66cc632 100755 +--- a/SConstruct ++++ b/SConstruct +@@ -661,10 +661,7 @@ if conf.env['IS_CYGWIN']: + else: + conf.env.Append(CCFLAGS=['-fPIC']) + +-# check _mm_crc32_u64 (SSE4.2) support: +-conf.check_mm_crc32_u64() +-if conf.env['HAVE_MM_CRC32_U64']: +- conf.env.Append(CCFLAGS=['-msse4.2']) ++conf.env['HAVE_MM_CRC32_U64'] = False + + if 'clang' in os.path.basename(conf.env['CC']): + conf.env.Append(CCFLAGS=['-fcolor-diagnostics']) # Colored warnings
