commit d6e748bec91e027baf27033b1f688e9226115d5e
Author: Tomasz Pala <[email protected]>
Date:   Sun Aug 9 17:43:48 2015 +0200

    fixed missing image on non-24bit displays

 qiv.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/qiv.spec b/qiv.spec
index 664d3df..38292f2 100644
--- a/qiv.spec
+++ b/qiv.spec
@@ -2,7 +2,7 @@ Summary:        Very fast image viewer for X Window
 Summary(pl.UTF-8):     Bardzo szybka przeglądarka plików graficznych dla X 
Window
 Name:          qiv
 Version:       2.3.1
-Release:       1
+Release:       2
 License:       GPL
 Group:         X11/Applications/Graphics
 Source0:       http://spiegl.de/qiv/download/%{name}-%{version}.tgz
@@ -34,6 +34,7 @@ GDK/Imlib.
 
 %prep
 %setup -q
+%{__sed} -e 's|q->p = gdk_pixmap_foreign_new_for_screen(screen, x_pixmap, 
q->win_w, q->win_h, 24);|q->p = gdk_pixmap_foreign_new_for_screen(screen, 
x_pixmap, q->win_w, q->win_h, gdk_drawable_get_depth(q->win));|' -i image.c
 
 %build
 %{__make} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qiv.git/commitdiff/d6e748bec91e027baf27033b1f688e9226115d5e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to