media-libs/libfec: correct license
[sgilles-overlay.git] / dev-libs / libtexpdf / files / fix-fs-self-refs.patch
blob40c0392b99e0c2ead4d53742c57b09591408ad27
1 diff --git a/dpxfile.c b/dpxfile.c
2 index 463d5e0..eac75d6 100644
3 --- a/dpxfile.c
4 +++ b/dpxfile.c
5 @@ -25,7 +25,7 @@
6 #include <wchar.h>
7 #endif
9 -#include "libtexpdf/libtexpdf.h"
10 +#include "libtexpdf.h"
12 #include <time.h>
13 #include <unistd.h>
14 diff --git a/library-poc.c b/library-poc.c
15 index 9cca1c3..06b2ee8 100644
16 --- a/library-poc.c
17 +++ b/library-poc.c
18 @@ -8,7 +8,7 @@ gcc -g -o library-poc -I.. ./.libs/libtexpdf.a library-poc.c -lpng -lz `pkg-con
21 #include <stdint.h>
22 -#include "libtexpdf/libtexpdf.h"
23 +#include "libtexpdf.h"
25 int load_font (char* filename) {
26 char fontmap_key[1024];
27 diff --git a/libtexpdf.h b/libtexpdf.h
28 index 3fa3583..3fb8b42 100644
29 --- a/libtexpdf.h
30 +++ b/libtexpdf.h
31 @@ -3,7 +3,7 @@
32 #define XETEX 1 /* We are all xetex now */
34 #ifdef BUILDING_LIBTEXPDF
35 -#include <libtexpdf/config.h>
36 +#include "config.h"
37 #endif
39 #ifdef HAVE_STRING_H
40 diff --git a/pngimage.c b/pngimage.c
41 index 6c6e7e3..09228a9 100644
42 --- a/pngimage.c
43 +++ b/pngimage.c
44 @@ -22,7 +22,7 @@
45 #define XETEX 1 /* We are all xetex now */
47 #ifdef BUILDING_LIBTEXPDF
48 -#include <libtexpdf/config.h>
49 +#include "config.h"
50 #endif