slackware-current/source/l/SDL2/SDL2-2.0.9-khrplatform.patch

16 lines
654 B
Diff
Raw Normal View History

Tue Mar 10 19:53:39 UTC 2020 d/guile-3.0.1-x86_64-1.txz: Upgraded. l/SDL2-2.0.10-x86_64-2.txz: Rebuilt. Rebuilt to pick up wayland support. Thanks to franzen. l/dconf-0.36.0-x86_64-1.txz: Upgraded. l/dconf-editor-3.36.0-x86_64-1.txz: Upgraded. l/gsettings-desktop-schemas-3.36.0-x86_64-1.txz: Upgraded. l/python-pygments-2.5.2-x86_64-1.txz: Upgraded. It seems like the pragmatic thing to do here is to revert this one to fix the python2 programs and modules that depend on it. We'll have to do a bit more research to determine what the best course of action is regarding python2 in general, though. Certainly we shouldn't be requiring python2 for anything important moving forward, but even that will take some work. Plasma 5 as currently built has multiple dependencies on python2, for example. n/bind-9.16.0-x86_64-4.txz: Rebuilt. Drop python2 support and switch to python3. x/liberation-fonts-ttf-2.1.0-noarch-1.txz: Upgraded. xap/mozilla-firefox-68.6.0esr-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/68.6.0/releasenotes/ https://www.mozilla.org/security/advisories/mfsa2020-09/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6805 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6806 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6807 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6811 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20503 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6812 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-6814 (* Security fix *)
2020-03-10 20:53:39 +01:00
diff -up SDL2-2.0.9/include/SDL_opengl_glext.h.khrplatform SDL2-2.0.9/include/SDL_opengl_glext.h
--- SDL2-2.0.9/include/SDL_opengl_glext.h.khrplatform 2019-02-15 20:22:39.173773779 -0500
+++ SDL2-2.0.9/include/SDL_opengl_glext.h 2019-02-15 20:22:58.176399330 -0500
@@ -469,8 +469,9 @@ GLAPI void APIENTRY glBlendEquation (GLe
typedef long GLsizeiptr;
typedef long GLintptr;
#else
-typedef ptrdiff_t GLsizeiptr;
-typedef ptrdiff_t GLintptr;
+#include <KHR/khrplatform.h>
+typedef khronos_intptr_t GLintptr;
+typedef khronos_ssize_t GLsizeiptr;
#endif
#define GL_BUFFER_SIZE 0x8764
#define GL_BUFFER_USAGE 0x8765