Bump for 4.0-15
[LibreOffice.git] / xpdf / xpdf-no-writable-literals.patch
blob9a1366e1613c69a77e0144250caee4295e8306ba
1 --- misc/xpdf-3.02/xpdf/Error.h.sav 2007-02-27 23:05:52.000000000 +0100
2 +++ misc/build/xpdf-3.02/xpdf/Error.h 2012-10-09 23:24:12.002455791 +0200
3 @@ -18,6 +18,6 @@
4 #include <stdio.h>
5 #include "config.h"
7 -extern void CDECL error(int pos, char *msg, ...);
8 +extern void CDECL error(int pos, const char *msg, ...);
10 #endif
11 --- misc/build/xpdf-3.02/xpdf/Error.cc.sav 2007-02-27 23:05:52.000000000 +0100
12 +++ misc/build/xpdf-3.02/xpdf/Error.cc 2012-10-09 23:24:27.813569809 +0200
13 @@ -18,7 +18,7 @@
14 #include "GlobalParams.h"
15 #include "Error.h"
17 -void CDECL error(int pos, char *msg, ...) {
18 +void CDECL error(int pos, const char *msg, ...) {
19 va_list args;
21 // NB: this can be called before the globalParams object is created