--- /dev/null
+--- libggi-2.2.2/display/linvtsw/visual.c~ 2005-07-30 13:38:51.000000000 +0200
++++ libggi-2.2.2/display/linvtsw/visual.c 2015-12-05 22:41:47.692439694 +0100
+@@ -316,7 +316,7 @@ vtswitch_open(ggi_visual *vis)
+ close(fd);
+ fd = open("/dev/console", O_WRONLY);
+ if (fd < 0) {
+- fprintf(stderr, nopermstring);
++ fprintf(stderr, "%s", nopermstring);
+ return GGI_ENODEVICE;
+ }
+ if ((vthandling.vtnum = get_newcons(fd)) < 0) {
+@@ -394,7 +394,7 @@ vtswitch_open(ggi_visual *vis)
+ origvtnum = vt_state.v_active;
+ if (vthandling.vtnum != vt_state.v_active) {
+ if (ioctl(vtfd, VT_ACTIVATE, vthandling.vtnum)) {
+- fprintf(stderr, nopermstring);
++ fprintf(stderr, "%s", nopermstring);
+ close(vtfd);
+ vtfd = -1;
+ return GGI_ENODEVICE;
Summary(pl.UTF-8): GGI - Generic Graphics Interface
Name: libggi
Version: 2.2.2
-Release: 7
+Release: 8
Epoch: 1
License: BSD-like
Group: Libraries
Patch2: link.patch
Patch3: %{name}-directfb.patch
Patch4: %{name}-glide.patch
+Patch5: %{name}-security.patch
URL: http://www.ggi-project.org/
%{?with_directfb:BuildRequires: DirectFB-devel >= 1.4.15}
%{?with_glide:BuildRequires: Glide2x-devel}
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{__rm} acinclude.m4 m4/{libtool,lt*}.m4