[packages/vmips] - added doc patch (build only man and info, no html or pdf (not packaged anyway) - added format patc

qboosh qboosh at pld-linux.org
Sun Jan 27 14:53:00 CET 2013


commit 98f51778375e339f1be40d174c6a9d306deffbb6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jan 27 14:53:48 2013 +0100

    - added doc patch (build only man and info, no html or pdf (not packaged anyway)
    - added format patch (fixes build with -Werror=format-security)

 vmips-doc.patch    | 11 +++++++++++
 vmips-format.patch | 17 +++++++++++++++++
 vmips.spec         |  4 ++++
 3 files changed, 32 insertions(+)
---
diff --git a/vmips.spec b/vmips.spec
index dc0e074..1c5a096 100644
--- a/vmips.spec
+++ b/vmips.spec
@@ -10,6 +10,8 @@ Source0:	http://vmips.sourceforge.net/releases/%{name}-%{version}/vmips-%{versio
 Patch0:		%{name}-am.patch
 Patch1:		%{name}-gcc.patch
 Patch2:		%{name}-info.patch
+Patch3:		%{name}-doc.patch
+Patch4:		%{name}-format.patch
 URL:		http://vmips.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -32,6 +34,8 @@ C++ i jest rozpowszechniany na licencji GNU GPL.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 %{__aclocal}
diff --git a/vmips-doc.patch b/vmips-doc.patch
new file mode 100644
index 0000000..a9da195
--- /dev/null
+++ b/vmips-doc.patch
@@ -0,0 +1,11 @@
+--- vmips-1.4/doc/Makefile.in.orig	2012-01-30 08:50:23.000000000 +0100
++++ vmips-1.4/doc/Makefile.in	2013-01-27 14:35:01.464075331 +0100
+@@ -54,7 +54,7 @@
+ vmipstool_MANPAGE = vmipstool.$(MANSECT)
+ MANPAGES = $(vmips_MANPAGE) $(vmipstool_MANPAGE)
+ 
+-all: $(DOC) info html man pdf
++all: $(DOC) info man
+ 
+ # Nothing to do here (yet):
+ check installcheck:
diff --git a/vmips-format.patch b/vmips-format.patch
new file mode 100644
index 0000000..33b8b4e
--- /dev/null
+++ b/vmips-format.patch
@@ -0,0 +1,17 @@
+--- vmips-1.4/error.cc.orig	2004-12-09 09:48:04.000000000 +0100
++++ vmips-1.4/error.cc	2013-01-27 14:32:38.777534402 +0100
+@@ -34,12 +34,12 @@
+ 	assert(fmt);
+ 
+ 	if (pre)
+-		fprintf(file, pre);
++		fputs(pre, file);
+ 	
+ 	vfprintf(file, fmt, ap);
+ 
+ 	if (post)
+-		fprintf(file, post);
++		fputs(post, file);
+ 
+ 	fflush(file);
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vmips.git/commitdiff/98f51778375e339f1be40d174c6a9d306deffbb6



More information about the pld-cvs-commit mailing list