mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
* gnu/packages/patches/gimp-fix-metadata-editor.patch: New file. * gnu/packages/patches/gimp-fix-tiff-load.patch: New file. * gnu/local.mk (dist_patch_DATA): Register them here. * gnu/packages/gimp.scm (gimp-2) [source] <patches>: Apply them. Fixes: #1676 Change-Id: I6524d7e4f90f56d75f69a3b65e0ee6627924258c Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
25 lines
849 B
Diff
25 lines
849 B
Diff
From a2458f1528e5733574bb26ff5452b1329116e6db Mon Sep 17 00:00:00 2001
|
|
From: Simon Budig <simon@budig.de>
|
|
Date: Sat, 20 May 2023 18:40:41 +0200
|
|
Subject: [PATCH] file-tiff-load: fix mismatching variable type
|
|
|
|
---
|
|
plug-ins/file-tiff/file-tiff-load.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/plug-ins/file-tiff/file-tiff-load.c b/plug-ins/file-tiff/file-tiff-load.c
|
|
index 0aafbaec5fd..a26e7af2752 100644
|
|
--- a/plug-ins/file-tiff/file-tiff-load.c
|
|
+++ b/plug-ins/file-tiff/file-tiff-load.c
|
|
@@ -1297,8 +1297,8 @@ load_image (GFile *file,
|
|
|
|
/* any resolution info in the file? */
|
|
{
|
|
- gfloat xres = 72.0;
|
|
- gfloat yres = 72.0;
|
|
+ gdouble xres = 72.0;
|
|
+ gdouble yres = 72.0;
|
|
gushort read_unit;
|
|
GimpUnit unit = GIMP_UNIT_PIXEL; /* invalid unit */
|
|
|
|
|