]> git.pld-linux.org Git - packages/fbida.git/commitdiff
- added fbida-libpng-1.4.patch (png_set_expand_gray_1_2_4_to_8 instead of auto/th/fbida-2_07-2
authorwitekfl <witekfl@pld-linux.org>
Sun, 31 Jan 2010 09:09:43 +0000 (09:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  png_set_gray_1_2_4_to_8)
- rel 2

Changed files:
    fbida-libpng-1.4.patch -> 1.1
    fbida.spec -> 1.16

fbida-libpng-1.4.patch [new file with mode: 0644]
fbida.spec

diff --git a/fbida-libpng-1.4.patch b/fbida-libpng-1.4.patch
new file mode 100644 (file)
index 0000000..2899140
--- /dev/null
@@ -0,0 +1,11 @@
+--- fbida-2.07/rd/read-png.c.old       2010-01-31 09:53:29.000000000 +0100
++++ fbida-2.07/rd/read-png.c   2010-01-31 09:55:03.000000000 +0100
+@@ -69,7 +69,7 @@ png_init(FILE *fp, char *filename, unsig
+     if (h->color_type == PNG_COLOR_TYPE_PALETTE)
+       png_set_palette_to_rgb(h->png);
+     if (h->color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
+-      png_set_gray_1_2_4_to_8(h->png);
++      png_set_expand_gray_1_2_4_to_8(h->png);
+     if (png_get_bKGD(h->png, h->info, &file_bg)) {
+       png_set_background(h->png,file_bg,PNG_BACKGROUND_GAMMA_FILE,1,1.0);
index f2cb34aabe2aea03ed500bd7e4e3ae0fe9e77500..7f8b9a8dbbd660f7817418c52acf84608cc2861c 100644 (file)
@@ -20,13 +20,14 @@ Summary:    fbida - a few applications for viewing and editing images
 Summary(pl.UTF-8):     fbida - kilka aplikacji do oglądania i edycji obrazków
 Name:          fbida
 Version:       2.07
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Graphics
 Source0:       http://dl.bytesex.org/releases/fbida/%{name}-%{version}.tar.gz
 # Source0-md5: 3e05910fb7c1d9b2bd3e272d96db069c
 Patch0:                %{name}-config-noforce.patch
 Patch1:                %{name}-desktop.patch
+Patch2:                %{name}-libpng-1.4.patch
 URL:           http://linux.bytesex.org/fbida/
 %{?with_curl:BuildRequires:    curl-devel}
 BuildRequires: fontconfig-devel
@@ -119,6 +120,7 @@ Dostępne jest też trochę podstawowych funkcji edycyjnych.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 CFLAGS="%{rpmcflags}" \
This page took 0.100117 seconds and 4 git commands to generate.