Accepting request 36898 from graphics

Copy from graphics/graphviz based on submit request 36898 from user oertel

OBS-URL: https://build.opensuse.org/request/show/36898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/graphviz?expand=0&rev=34
This commit is contained in:
OBS User autobuild 2010-04-04 18:07:37 +00:00 committed by Git OBS Bridge
commit f1fcf5b320
4 changed files with 21 additions and 2 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

@ -30,7 +30,7 @@ BuildRequires: graphviz gtkglext-devel libglade2-devel libgnomeui-devel
BuildRequires: fdupes BuildRequires: fdupes
%endif %endif
Version: 2.26.3 Version: 2.26.3
Release: 1 Release: 2
AutoReqProv: on AutoReqProv: on
Summary: Graph Visualization Tools Summary: Graph Visualization Tools
Group: Productivity/Graphics/Visualization/Graph Group: Productivity/Graphics/Visualization/Graph

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 Tue Mar 16 18:52:54 CET 2010 - ro@suse.de

View File

@ -25,7 +25,7 @@ BuildRequires: xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXpm-devel
BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel
PreReq: /bin/rm PreReq: /bin/rm
Version: 2.26.3 Version: 2.26.3
Release: 1 Release: 2
AutoReqProv: on AutoReqProv: on
Summary: Graph Visualization Tools Summary: Graph Visualization Tools
Group: Productivity/Graphics/Visualization/Graph Group: Productivity/Graphics/Visualization/Graph
@ -35,6 +35,7 @@ Patch0: graphviz-fix-pkgIndex.patch
Patch3: graphviz-neato_splines.patch Patch3: graphviz-neato_splines.patch
Patch11: graphviz-2.20.2-interpreter_names.patch Patch11: graphviz-2.20.2-interpreter_names.patch
Patch13: graphviz-stddefs.patch Patch13: graphviz-stddefs.patch
Patch14: graphviz-gd_png_check_sig.patch
Url: http://www.graphviz.org/ Url: http://www.graphviz.org/
License: IBM Public License .. License: IBM Public License ..
Prefix: /usr Prefix: /usr
@ -90,6 +91,7 @@ Authors:
%patch3 %patch3
%patch11 %patch11
%patch13 %patch13
%patch14
# Fix path in generated man pages # 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 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 # remove broken macros