SHA256
1
0
forked from pool/graphviz

Accepting request 36887 from home:oertel:branches:openSUSE:Factory

Copy from home:oertel:branches:openSUSE:Factory/graphviz via accept of submit request 36887 revision 2.
Request was accepted with message:
forward

OBS-URL: https://build.opensuse.org/request/show/36887
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=10
This commit is contained in:
Ruediger Oertel 2010-04-04 17:38:55 +00:00 committed by Git OBS Bridge
parent 078d3f3f28
commit 1bb13b83a2
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- lib/gd/gd_png.c
+++ lib/gd/gd_png.c
@@ -150,7 +150,7 @@
return NULL;
}
- if (!png_check_sig (sig, 8)) { /* bad signature */
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
return NULL; /* bad signature */
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 4 18:47:39 CEST 2010 - ro@suse.de
- fix build of gd library with new libpng14
(should use system gd lib ?)
-------------------------------------------------------------------
Tue Mar 16 18:52:54 CET 2010 - ro@suse.de

View File

@ -35,6 +35,7 @@ Patch0: graphviz-fix-pkgIndex.patch
Patch3: graphviz-neato_splines.patch
Patch11: graphviz-2.20.2-interpreter_names.patch
Patch13: graphviz-stddefs.patch
Patch14: graphviz-gd_png_check_sig.patch
Url: http://www.graphviz.org/
License: IBM Public License ..
Prefix: /usr
@ -90,6 +91,7 @@ Authors:
%patch3
%patch11
%patch13
%patch14
# Fix path in generated man pages
sed -e 's$@LIB_DIR@$%{_libdir}$g' tclpkg/gv/gv_doc_langs.tcl >tclpkg/gv/gv_doc_langs.tcl.new && mv tclpkg/gv/gv_doc_langs.tcl.new tclpkg/gv/gv_doc_langs.tcl
# remove broken macros