Commit 82a4fbd0 authored by Sören Tempel's avatar Sören Tempel

testing/radare2: attempt to fix build on x86

See: https://github.com/radare/radare2/issues/10171#issuecomment-393116562
parent 5c73f2f1
From 032a5cacd98d86414dffee61265a567df10c48e2 Mon Sep 17 00:00:00 2001
From: cc <longlene@gmail.com>
From 491b989889d6f74ae8ae7a31efae2ffbcacbea53 Mon Sep 17 00:00:00 2001
From: "longlene@gmail.com" <longlene@gmail.com>
Date: Tue, 22 May 2018 12:52:12 +0800
Subject: [PATCH 1/3] fix for build with syscapstone
Subject: [PATCH 1/4] fix for build with syscapstone
---
libr/Makefile | 9 +++++++--
......
From dcb863e18f619137c3fe040f632adccb13d07a09 Mon Sep 17 00:00:00 2001
From 7764c6941aec70991ea9083e2ee564a6c7177b46 Mon Sep 17 00:00:00 2001
From: Levente Polyak <levente@leventepolyak.net>
Date: Wed, 23 May 2018 11:13:26 +0200
Subject: [PATCH 2/3] libc: respect zip/deps.mk for zlib/libzip (#10163)
Subject: [PATCH 2/4] libc: respect zip/deps.mk for zlib/libzip (#10163)
Additionally respect standard caller {C,CPP,LD}FLAGS plus the
deps.mk relaed LINK
......
From ff045066c141efc56697ea0ca0a29f8960267bd3 Mon Sep 17 00:00:00 2001
From 7a3234c2c895316311b2abb5b3c462ed2589d93e Mon Sep 17 00:00:00 2001
From: Levente Polyak <levente@leventepolyak.net>
Date: Wed, 30 May 2018 16:57:45 +0200
Subject: [PATCH 3/3] make: don't dist .${LIBVERSION} into /usr/lib (#10164)
Subject: [PATCH 3/4] make: don't dist .${LIBVERSION} into /usr/lib (#10164)
Not exlucidng ^libr.{so,dynlin}$ doesn't do any good and will purely
result in distributing a .${LIBVERSION} into $DESTDIR
......
......@@ -5,7 +5,7 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=radare2
pkgver=2.6.0
pkgrel=0
pkgrel=1
pkgdesc="An opensource, crossplatform reverse engineering framework"
url="http://www.radare.org"
arch="all !aarch64"
......@@ -19,7 +19,8 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/radare/$pkgname/archive/${pkgver}.tar.gz
0001-fix-for-build-with-syscapstone.patch
0002-libc-respect-zip-deps.mk-for-zlib-libzip-10163.patch
0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch"
0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch
0004-Add-with-libr-and-deprecate-with-nonpic-pic-merged-1.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
......@@ -45,6 +46,7 @@ package() {
}
sha512sums="44e7d0c10e17b40d4d71af851cf462c159b03b3242dfccd786bd54d3cf9f92441084f26694166dd1385e84c00626f45dbe09d1fe713595721723c468ac47b01b radare2-2.6.0.tar.gz
3d7500e805d14cbe12b856a57c2d6efb37c968210f1bfc6bfea4517a9234b02fc0e924c6c9fd9475d05b18a998abaed642cc5714b996f9d02c07d74e81f17c10 0001-fix-for-build-with-syscapstone.patch
2f91f1718784ad77449596e828847d215556b2409a4c83f2d8d895c6b1d41f8b94f25d9450d15b595d008e8587c1eb687a0a8d8b4777a4a9b64411a0f6549c9d 0002-libc-respect-zip-deps.mk-for-zlib-libzip-10163.patch
d7ee63b301a6191eb0504b50ee19e3aaadd3fdd08389c9d043dcade8c0115bc862464899c1e0607f860f21e5e890cdd416362cbc4b098e149ecdba765e8f4548 0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch"
4a9c7ae1e3c692ba5a43f93142f8df6d9791ce580ff695e0dfe6587b07958eaf1cbb3e458a2331a1a05366778e0ed1a8db3808a395ecf8f9a9b55276755239b7 0001-fix-for-build-with-syscapstone.patch
cdb37652ff6f987d7882d26e07d9a7e4f1116187551abf7b6f25c3a2e9b1ed5a2267e8d5351df470d8d1379940afdd56d669a92bdf47ad71c50a55641182c4a8 0002-libc-respect-zip-deps.mk-for-zlib-libzip-10163.patch
f85861cb02e46200d70f18fbdfc1c176ef7c61dc33fb153d5d02a900e6f0b348e8d47e882637a28d6a48d6b90a55be9ad5b3007fd2794153ad4d47da47160b6e 0003-make-don-t-dist-.-LIBVERSION-into-usr-lib-10164.patch
6498d50b83d3d4e769f3a0560e5a36818726f3e8907b119da68c040d7a94c340b5e319f285a038647bc5f1f5269b303520c60363ecf33fc2169d56f96878b6cc 0004-Add-with-libr-and-deprecate-with-nonpic-pic-merged-1.patch"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment