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..f96182a 100644 --- a/WindowMaker.changes +++ b/WindowMaker.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Jul 26 19:45:06 UTC 2011 - andrea.turrini@gmail.com + +- fixed typos in description of WindowMaker.spec + +------------------------------------------------------------------- +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..d4eda33 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 @@ -62,7 +63,7 @@ Group: Development/Libraries/X11 %description Window Maker is a colorful and flexible window manager and -thedesignnated successor of AfterStep. nFor more details, check +the designated successor of AfterStep. For more details, check http://www.windowmaker.org. @@ -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.*