wok-next view ucl/stuff/patches/01-Examples.patch @ rev 20852

Fix build: xplc, xournal
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 24 17:58:25 2018 +0300 (2018-06-24)
parents
children
line source
1 From: Robert Luberda <robert@debian.org>
2 Date: Mon, 26 Jul 2004 20:44:00 +0200
3 Subject: 01 Examples.
5 Fix examples.
6 ---
7 examples/portab.h | 2 +-
8 examples/simple.c | 2 +-
9 examples/uclpack.c | 2 +-
10 3 files changed, 3 insertions(+), 3 deletions(-)
12 diff --git a/examples/portab.h b/examples/portab.h
13 index 6cf0752..719839c 100644
14 --- a/examples/portab.h
15 +++ b/examples/portab.h
16 @@ -28,7 +28,7 @@
18 #include <ucl/uclconf.h>
20 -#if 1
21 +#if 0
23 #include "examples/portab_a.h"
25 diff --git a/examples/simple.c b/examples/simple.c
26 index 5fd54be..faecf60 100644
27 --- a/examples/simple.c
28 +++ b/examples/simple.c
29 @@ -32,7 +32,7 @@
31 /* portability layer */
32 #define WANT_UCL_MALLOC 1
33 -#include "examples/portab.h"
34 +#include "portab.h"
37 /*************************************************************************
38 diff --git a/examples/uclpack.c b/examples/uclpack.c
39 index a340c24..a104876 100644
40 --- a/examples/uclpack.c
41 +++ b/examples/uclpack.c
42 @@ -60,7 +60,7 @@
43 #define WANT_UCL_UCLOCK 1
44 #endif
45 #define WANT_UCL_WILDARGV 1
46 -#include "examples/portab.h"
47 +#include "portab.h"
50 static const char *progname = NULL;