aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/sdl-pango-fillrect_crash.patch
blob: 7a41bbf2fe3762a8fb6b0d8b684b4ead0491cd5b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: SDL_Pango-0.1.2/src/SDL_Pango.c
===================================================================
--- SDL_Pango-0.1.2.orig/src/SDL_Pango.c	2007-09-18 15:56:12.406223540 +0200
+++ SDL_Pango-0.1.2/src/SDL_Pango.c	2007-09-18 15:57:27.986530616 +0200
@@ -932,7 +932,9 @@
     width = PANGO_PIXELS (logical_rect.width);
     height = PANGO_PIXELS (logical_rect.height);
 
-    SDL_FillRect(surface, NULL, SDL_MapRGBA(surface->format, 0, 0, 0, 0));
+    if (width && height) {
+        SDL_FillRect(surface, NULL, SDL_MapRGBA(surface->format, 0, 0, 0, 0));
+    }
 
     if((! context->tmp_ftbitmap) || context->tmp_ftbitmap->width < width
 	|| context->tmp_ftbitmap->rows < height)
-tooltip'>This is a follow-up to commit 83cda00bc62d665f05d37d07c78a1c4eab5297f0. * gnu/packages/docker.scm (docker-cli): Fix source hash caused by cascading %docker-version variable changes. Léo Le Bouter 2021-03-10gnu: containerd: Update to 1.3.10 [security fixes]....* gnu/packages/docker.scm (containerd): Update to 1.3.10. Léo Le Bouter 2021-03-10gnu: docker: Update to 19.03.15 [security fixes]....* gnu/packages/docker.scm (%docker-version): Bump to 19.03.15. (docker-libnetwork): Bump to 19.03-1.55e924b. (docker): [source]: Set git-reference url to 'https://github.com/moby/moby'. [arguments]<#:phases>: Modify 'delete-failing-tests phase to delete 'signal_linux_test.go'. Léo Le Bouter 2021-02-08gnu: docker: Update to 19.03.13....* gnu/packages/docker.scm (docker, docker-cli): Update to 19.03.13. Oleg Pykhalov 2020-11-21gnu: python-docker: Propagate runtime dependency....* gnu/packages/docker.scm (python-docker)[inputs]: Move PYTHON-WEBSOCKET-CLIENT from here ... [propagated-inputs]: ... to here. Marius Bakke 2020-11-14gnu: cqfd: Update to 5.2.1....* gnu/packages/docker.scm (cqfd): Update to 5.2.1. Maxim Cournoyer 2020-10-16gnu: containerd: Don't 'chdir' in build phases....This fixes breaks the 'install-license-files' phase added in 6b793fa66218337a1f638466753cd5326a6a6c18 and is generally not good practice. * gnu/packages/docker.scm (containerd): [arguments]: Use 'with-directory-excursion' instead of 'chdir' in build phases. Oleg Pykhalov 2020-10-16gnu: docker-cli: Fix build....This is a follow-up to 6b793fa66218337a1f638466753cd5326a6a6c18. * gnu/packages/docker.scm (docker-cli)[arguments]: In custom 'install phase don't change directory to install 'docker' binary. Efraim Flashner 2020-09-21gnu: docker: Compile with seccomp enabled....* gnu/packages/docker.scm (docker)[arguments]: Adjust custom 'configure phase to enable seccomp support. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Jesse Dowell 2020-09-21gnu: docker: Synchronize docker dependencies with the current version of docker....* gnu/packages/docker.scm (docker-libnetwork): Update to 19.03-1.026aaba. [source]: Follow URI redirection. [arguments]: Adjust import-path accordingly. [home-page]: Same. * gnu/packages/networking.scm (go-sctp): Update to 0.0.0-2.6e2cb13. [arguments]: Skip test suite. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Jesse Dowell 2020-09-05gnu: python-docker-py: Rename to python-docker....This is a follow-up to commit 3146b6da6dd3124f8693f48a9ed7ff8208324e23. * gnu/packages/docker.scm (python-docker-py): Rename to... (python-docker): ...this. (docker-compose): Adjust inputs. * gnu/packages/android.scm (fdroidserver): Adjust inputs. Andreas Enge