summaryrefslogtreecommitdiffstats
path: root/11.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-11 15:01:31 +0200
committerRemi Collet <remi@remirepo.net>2018-06-11 15:01:31 +0200
commit2a395f3465760fbad4dd6fed3de7bcc8d247d89c (patch)
tree50007b563335f10573fc70896d0c3d2b107ba744 /11.patch
new package, version 0.3.0
open https://github.com/Letargie/pggi/pull/8 [-Wformat=] open https://github.com/Letargie/pggi/pull/9 [-Wimplicit-function-declaration] open https://github.com/Letargie/pggi/pull/11 [-Werror=format-security]
Diffstat (limited to '11.patch')
-rw-r--r--11.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/11.patch b/11.patch
new file mode 100644
index 0000000..7ca05a5
--- /dev/null
+++ b/11.patch
@@ -0,0 +1,23 @@
+From 432848cca35a4edd8ce775cb6531592783e3450d Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 11 Jun 2018 14:56:08 +0200
+Subject: [PATCH] Fix: src/gdk/gpixbuf.c:120:3: error: format not a string
+ literal and no format arguments [-Werror=format-security]
+
+---
+ src/gdk/gpixbuf.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gdk/gpixbuf.c b/src/gdk/gpixbuf.c
+index 04871da..2c7303c 100755
+--- a/src/gdk/gpixbuf.c
++++ b/src/gdk/gpixbuf.c
+@@ -117,7 +117,7 @@ GPIXBUF_METHOD(createFromFile){
+ pix = gdk_pixbuf_new_from_file_at_scale (filename, width, height, preserve_ratio, &error);
+ }
+ if(!pix){
+- zend_throw_exception_ex(pggi_exception_get(), 0, error->message);
++ zend_throw_exception_ex(pggi_exception_get(), 0, "%s", error->message);
+ return;
+ }
+ zval * new_pixbuf;