[packages/bogl] - fix format string error - cleanup files - rel 10
baggins
baggins at pld-linux.org
Sun Jul 14 20:16:43 CEST 2013
commit edd96fbab9b1f27d11361b40f24db3140da88012
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jul 14 20:16:25 2013 +0200
- fix format string error
- cleanup files
- rel 10
bogl.spec | 7 ++++---
format-security.patch | 11 +++++++++++
2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/bogl.spec b/bogl.spec
index 1c7c287..25063e7 100644
--- a/bogl.spec
+++ b/bogl.spec
@@ -4,7 +4,7 @@ Summary: A terminal program for displaying Unicode on the console
Summary(pl.UTF-8): Program terminalowy do wyświetlania Unikodu na konsoli
Name: bogl
Version: 0.1.18
-Release: 9
+Release: 10
Epoch: 0
License: GPL
Group: Libraries
@@ -25,6 +25,7 @@ Patch4: %{name}-0.1.18-gcc.patch
Patch5: %{name}-0.1.18-noexecstack.patch
Patch6: %{name}-page_mask.patch
Patch7: %{name}-shared.patch
+Patch8: format-security.patch
URL: http://www.stanford.edu/~blp/projects.html
BuildRequires: gd-devel
BuildRequires: libpng-devel
@@ -89,6 +90,7 @@ konsoli.
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
mkdir -p fonts
cd fonts
@@ -132,6 +134,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) %{_libdir}/libbogl.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libbogl.so.0
%files devel
%defattr(644,root,root,755)
@@ -153,7 +156,5 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README.BOGL-bterm
%attr(755,root,root) %{_bindir}/bterm
-# XXX: dir duplicated with terminfo package
-%dir %{_datadir}/terminfo/b
%{_datadir}/terminfo/b/bterm
%{_libdir}/bogl
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..ceb72e0
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- bogl/reduce-font.c.orig 2013-07-14 19:51:19.125683835 +0200
++++ bogl/reduce-font.c 2013-07-14 19:51:32.319146874 +0200
+@@ -146,7 +146,7 @@
+ else if (strncmp (buf, "STARTCHAR ", 10) == 0)
+ header = 0;
+ else
+- fprintf (stdout, buf);
++ fprintf (stdout, "%s", buf);
+ }
+
+ if (!header)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bogl.git/commitdiff/edd96fbab9b1f27d11361b40f24db3140da88012
More information about the pld-cvs-commit
mailing list