From b93015c2e5825668368ac90406d9e4b307a9637b Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 7 Apr 2015 16:00:46 +0200 Subject: [PATCH] spice: remove x86 debugging instruction (patch from ArchLinux ARM). --- srcpkgs/spice/patches/remove-breakpoint.patch | 24 +++++++++++++++++++ srcpkgs/spice/template | 1 - 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/spice/patches/remove-breakpoint.patch diff --git a/srcpkgs/spice/patches/remove-breakpoint.patch b/srcpkgs/spice/patches/remove-breakpoint.patch new file mode 100644 index 0000000000..895372351c --- /dev/null +++ b/srcpkgs/spice/patches/remove-breakpoint.patch @@ -0,0 +1,24 @@ +--- client/red_pixmap.h 2014-05-14 05:14:34.000000000 -0600 ++++ client/red_pixmap.h 2014-07-07 05:29:00.121233414 -0600 +@@ -46,8 +46,6 @@ + spice_printerr("equal fails at (+%d+%d) +%d+%d:%d in %dx%d", + rect.left, rect.top, x-rect.left, y-rect.top, i, + _width-rect.left, _height-rect.top); +- if (getenv("DIFFBP")) +- SPICE_BREAKPOINT(); + return false; + } + } +--- client/utils.h 2014-05-14 05:14:34.000000000 -0600 ++++ client/utils.h 2014-07-07 05:29:16.866177393 -0600 +@@ -50,10 +50,6 @@ + throw Exception(exption_string, err); \ + } + +-#define SPICE_BREAKPOINT() do{ \ +- __asm__ __volatile__ ("int $03"); \ +-}while(0) +- + template + class AutoRef { + public: diff --git a/srcpkgs/spice/template b/srcpkgs/spice/template index 86dcefe4cb..78a7cbd519 100644 --- a/srcpkgs/spice/template +++ b/srcpkgs/spice/template @@ -2,7 +2,6 @@ pkgname=spice version=0.12.5 revision=7 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" build_style=gnu-configure configure_args="--disable-tunnel --disable-opengl --disable-smartcard --with-sasl --disable-static --enable-xinerama"