Magellan Linux

Contents of /trunk/ghostscript-gpl/patches/ghostscript-gpl-9.18-missing-gserrors-include.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2734 - (show annotations) (download)
Thu Dec 3 12:55:33 2015 UTC (8 years, 5 months ago) by niro
File size: 1412 byte(s)
-serveral fixes for 9.18
1 From feafe5e540a0545ec5d28f3f66bb542056bba495 Mon Sep 17 00:00:00 2001
2 From: Chris Liddell <chris.liddell@artifex.com>
3 Date: Fri, 23 Oct 2015 10:16:11 +0100
4 Subject: [PATCH] Bug 696301: add gserrors.h to the installed files
5
6 for the so-install target.
7
8 Also remove a spurious (copy'n'paste error) comment.
9
10 No cluster differences
11 ---
12 base/gserrors.h | 2 +-
13 base/unix-dll.mak | 1 +
14 2 files changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/base/gserrors.h b/base/gserrors.h
17 index 5f18081..cdebb38 100644
18 --- a/base/gserrors.h
19 +++ b/base/gserrors.h
20 @@ -25,7 +25,7 @@
21 /* We don't use a typedef internally to avoid a lot of casting. */
22
23 enum gs_error_type {
24 - gs_error_ok = 0, /* unknown error */
25 + gs_error_ok = 0,
26 gs_error_unknownerror = -1, /* unknown error */
27 gs_error_dictfull = -2,
28 gs_error_dictstackoverflow = -3,
29 diff --git a/base/unix-dll.mak b/base/unix-dll.mak
30 index 7b67aa1..73b4fa9 100644
31 --- a/base/unix-dll.mak
32 +++ b/base/unix-dll.mak
33 @@ -186,6 +186,7 @@ install-so-subtarget: so-subtarget
34 ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
35 $(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h
36 $(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h
37 + $(INSTALL_DATA) $(GLSRC)gserrors.h $(DESTDIR)$(gsincludedir)gserrors.h
38 $(INSTALL_DATA) $(DEVSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h
39
40 soinstall:
41 --
42 2.5.1
43