From 4965d6ac8af2df4d0c6def155547a2a584b3408591f34996df49bea20b733fca Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Sun, 4 Apr 2010 18:05:13 +0000 Subject: [PATCH] Accepting request 36897 from X11:windowmanagers Copy from X11:windowmanagers/WindowMaker based on submit request 36897 from user oertel OBS-URL: https://build.opensuse.org/request/show/36897 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/WindowMaker?expand=0&rev=15 --- WindowMaker-png_check_sig.patch | 11 +++++++++++ WindowMaker.changes | 5 +++++ WindowMaker.spec | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 WindowMaker-png_check_sig.patch diff --git a/WindowMaker-png_check_sig.patch b/WindowMaker-png_check_sig.patch new file mode 100644 index 0000000..9e964b8 --- /dev/null +++ b/WindowMaker-png_check_sig.patch @@ -0,0 +1,11 @@ +--- wrlib/load.c ++++ wrlib/load.c +@@ -348,7 +348,7 @@ + + #ifdef USE_PNG + /* check for PNG */ +- if (png_check_sig(buffer, 8)) ++ if (!png_sig_cmp(buffer, 0, 8)) + return IM_PNG; + #endif + diff --git a/WindowMaker.changes b/WindowMaker.changes index 7457012..f8c2d9f 100644 --- a/WindowMaker.changes +++ b/WindowMaker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 4 18:59:43 CEST 2010 - ro@suse.de + +- fix build with libpng14 + ------------------------------------------------------------------- Mon Mar 30 03:31:24 CEST 2009 - crrodriguez@suse.de diff --git a/WindowMaker.spec b/WindowMaker.spec index 86219ce..b58d1b4 100644 --- a/WindowMaker.spec +++ b/WindowMaker.spec @@ -29,7 +29,7 @@ Requires: xdg-menu AutoReqProv: on Summary: A Colorful and Flexible Window Manager Version: 0.92.0 -Release: 207 +Release: 208 Source: Window-Maker-5a2507602c48.tar.bz2 Source1: WindowMaker-extra-0.1.tar.bz2 Source2: SuSE-theme.tar.bz2 @@ -52,6 +52,7 @@ Patch37: WindowMaker-event.patch Patch38: WindowMaker-wmspec.c-findBestIcon.patch Patch39: WindowMaker-dir-specification.patch Patch40: WindowMaker-composite.patch +Patch41: WindowMaker-png_check_sig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %package devel @@ -99,6 +100,7 @@ cp WindowMaker/{menu.*,plmenu.*} menu.orig %patch38 %patch39 %patch40 +%patch41 cp %{S:4} . cp %{S:6} . rename no nb po/no.*