From a53f0dfb8cf0897471d396ec2602b6d60b95f245 Mon Sep 17 00:00:00 2001 From: Johannes Date: Sun, 2 Feb 2020 16:29:31 +0100 Subject: [PATCH 1/2] radare2: update to 4.2.1 --- srcpkgs/radare2/patches/musl-debug.patch | 42 ------------------------ srcpkgs/radare2/template | 6 ++-- 2 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 srcpkgs/radare2/patches/musl-debug.patch diff --git a/srcpkgs/radare2/patches/musl-debug.patch b/srcpkgs/radare2/patches/musl-debug.patch deleted file mode 100644 index 83dada16b6b..00000000000 --- a/srcpkgs/radare2/patches/musl-debug.patch +++ /dev/null @@ -1,42 +0,0 @@ -backported from master - -From 0e34303648430dfcb3f0b9947233d897883e1484 Mon Sep 17 00:00:00 2001 -From: pancake -Date: Fri, 10 Jan 2020 03:50:30 +0100 -Subject: [PATCH] Third fix attepmt for musl builds - ---- libr/debug/p/native/linux/linux_debug.c 2019-12-20 13:22:09.000000000 +0100 -+++ libr/debug/p/native/linux/linux_debug.c 2020-01-11 21:23:23.359825810 +0100 -@@ -18,6 +18,12 @@ - #include - #include - -+#ifdef __GLIBC__ -+#define HAVE_YMM 1 -+#else -+#define HAVE_YMM 0 -+#endif -+ - char *linux_reg_profile (RDebug *dbg) { - #if __arm__ - #include "reg/linux-arm.h" -@@ -40,7 +46,9 @@ - #endif - } else { - #include "reg/linux-x64.h" --#include -+#if HAVE_YMM -+# include -+#endif - } - #elif __powerpc__ - if (dbg->bits & R_SYS_BITS_32) { -@@ -1043,7 +1051,7 @@ - break; - case R_REG_TYPE_YMM: - { --#if __x86_64__ -+#if HAVE_YMM && __x86_64__ - ut32 ymm_space[128]; // full ymm registers - struct _xstate xstate; - struct iovec iov; diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template index 1741ce512fe..cb721b81e1c 100644 --- a/srcpkgs/radare2/template +++ b/srcpkgs/radare2/template @@ -1,18 +1,18 @@ # Template file for 'radare2' # cutter needs to be bumped when radare2 is updated pkgname=radare2 -version=4.1.1 +version=4.2.1 revision=1 build_style=gnu-configure configure_args="--with-syscapstone" -hostmakedepends="pkg-config git" +hostmakedepends="pkg-config" makedepends="capstone-devel" short_desc="Advanced command line debugger and hexadecimal editor" maintainer="Johannes " license="LGPL-3.0-only" homepage="http://www.radare.org" distfiles="https://github.com/radare/radare2/archive/${version}.tar.gz" -checksum=b62472601cdd20356b838d6f91738159e30ac1d7b4d0c0cb158575b1ef969e69 +checksum=70426b7a482f233058b2f161063d55f4a6ff26019e4b4f35a96c74057796009a case "$XBPS_TARGET_MACHINE" in mips*) CFLAGS="-Os";; From e7fd74e4fbbd199ff7c54771a4c41d5a78536a8f Mon Sep 17 00:00:00 2001 From: Johannes Date: Sun, 2 Feb 2020 16:29:47 +0100 Subject: [PATCH 2/2] cutter: update to 1.10.1. --- srcpkgs/cutter/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template index 027fac67c27..dbbef683525 100644 --- a/srcpkgs/cutter/template +++ b/srcpkgs/cutter/template @@ -1,6 +1,6 @@ # Template file for 'cutter' pkgname=cutter -version=1.10.0 +version=1.10.1 revision=1 build_wrksrc=src build_style=qmake @@ -13,4 +13,4 @@ maintainer="johannes " license="GPL-3.0-only" homepage="https://github.com/radareorg/cutter" distfiles="https://github.com/radareorg/${pkgname}/archive/v${version}.tar.gz" -checksum=3a121638e056a05059aa3792943af1696f4e035661d01c179e45cb9baf00245a +checksum=a9dec757889f59cd80322d0b40727d748367716b97b16d940d480ed24e67a34b