From 65a324062f41bbc9baff9fc0e22e76e7047a034c Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Mon, 16 Oct 2006 13:05:42 +0000 Subject: Add patches extracted from older Debian diffs but not applied yet because it's not certain yet that they are needed. --- debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch | 10 ++++++++++ .../patches/03_handle-sync-and-dont-unlock-display.patch | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch create mode 100644 debian/patches/03_handle-sync-and-dont-unlock-display.patch (limited to 'debian/patches') diff --git a/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch b/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch new file mode 100644 index 00000000000..2ca05adb61f --- /dev/null +++ b/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch @@ -0,0 +1,10 @@ +--- a/src/mesa/main/imports.h ++++ b/src/mesa/main/imports.h +@@ -153,6 +153,7 @@ + defined(__mips) || defined(_MIPS_ARCH) || \ + defined(__arm__) || \ + defined(__sh__) || defined(__m32r__) || \ ++ defined(__m68k__) || defined(__s390__) || \ + (defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS))) + #define USE_IEEE + #define IEEE_ONE 0x3f800000 diff --git a/debian/patches/03_handle-sync-and-dont-unlock-display.patch b/debian/patches/03_handle-sync-and-dont-unlock-display.patch new file mode 100644 index 00000000000..c9089ef86ed --- /dev/null +++ b/debian/patches/03_handle-sync-and-dont-unlock-display.patch @@ -0,0 +1,15 @@ +--- a/src/glx/x11/glxext.c ++++ b/src/glx/x11/glxext.c +@@ -1016,11 +1016,11 @@ + if (!_XReply(dpy, (xReply*) &reply, 0, False)) { + /* Something is busted. Punt. */ + UnlockDisplay(dpy); ++ SyncHandle(); + FreeScreenConfigs(priv); + return GL_FALSE; + } + +- UnlockDisplay(dpy); + if (!reply.numVisuals) { + /* This screen does not support GL rendering */ + UnlockDisplay(dpy); -- cgit v1.2.3