diff options
Diffstat (limited to 'media-gfx/imv/files')
-rw-r--r-- | media-gfx/imv/files/imv-4.2.0-add-string-inc.patch | 9 | ||||
-rw-r--r-- | media-gfx/imv/files/imv-4.2.0-wayland-roundtrip-after-scale.patch | 14 |
2 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/imv/files/imv-4.2.0-add-string-inc.patch b/media-gfx/imv/files/imv-4.2.0-add-string-inc.patch new file mode 100644 index 000000000000..e726d7b093a2 --- /dev/null +++ b/media-gfx/imv/files/imv-4.2.0-add-string-inc.patch @@ -0,0 +1,9 @@ +https://github.com/eXeC64/imv/issues/299 +--- a/src/backend_freeimage.c 2020-12-17 15:30:42.000000000 -0500 ++++ b/src/backend_freeimage.c 2021-01-23 12:03:46.175921640 -0500 +@@ -8,4 +8,5 @@ + #include <FreeImage.h> + #include <stdlib.h> ++#include <string.h> + + struct private { diff --git a/media-gfx/imv/files/imv-4.2.0-wayland-roundtrip-after-scale.patch b/media-gfx/imv/files/imv-4.2.0-wayland-roundtrip-after-scale.patch new file mode 100644 index 000000000000..381013329062 --- /dev/null +++ b/media-gfx/imv/files/imv-4.2.0-wayland-roundtrip-after-scale.patch @@ -0,0 +1,14 @@ +https://github.com/eXeC64/imv/issues/305 +--- a/src/wl_window.c 2020-12-17 15:30:42.000000000 -0500 ++++ b/src/wl_window.c 2021-02-02 19:03:52.598901093 -0500 +@@ -545,2 +545,3 @@ + wl_surface_commit(window->wl_surface); ++ wl_display_roundtrip(window->wl_display); + size_t buffer_width = window->width * window->scale; +@@ -636,4 +637,4 @@ + .height = window->height, +- .buffer_width = window->width * window->scale, +- .buffer_height = window->height * window->scale ++ .buffer_width = buffer_width, ++ .buffer_height = buffer_height, + } |