spice: remove x86 debugging instruction (patch from ArchLinux ARM).

This commit is contained in:
Christian Neukirchen 2015-04-07 16:00:46 +02:00
parent 71ee6a3410
commit b93015c2e5
2 changed files with 24 additions and 1 deletions

View file

@ -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 T>
class AutoRef {
public:

View file

@ -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"