]> git.pld-linux.org Git - packages/barcode.git/blob - barcode-lib.patch
- updated to 0.99
[packages/barcode.git] / barcode-lib.patch
1 --- barcode-0.99/Makefile.am.orig       2013-03-29 22:51:07.000000000 +0100
2 +++ barcode-0.99/Makefile.am    2017-07-30 18:34:30.092999746 +0200
3 @@ -21,11 +21,13 @@
4  
5  AM_LDFLAGS = -L. @LIBPAPER@
6  
7 -EXTRA_DIST = barcode.h cmdline.h
8 +EXTRA_DIST = cmdline.h
9 +include_HEADERS = barcode.h
10  
11 -bin_PROGRAMS = barcode sample
12 +bin_PROGRAMS = barcode
13 +noinst_PROGRAMS = sample
14  
15 -noinst_LTLIBRARIES = libbarcode.la
16 +lib_LTLIBRARIES = libbarcode.la
17  
18  ACLOCAL_AMFLAGS = -I m4
19  
20 --- barcode-0.99/barcode_priv.h.orig    1970-01-01 01:00:00.000000000 +0100
21 +++ barcode-0.99/barcode_priv.h 2017-07-30 18:54:10.829652931 +0200
22 @@ -0,0 +1,12 @@
23 +#ifndef _BARCODE_PRIV_H_
24 +#define _BARCODE_PRIV_H_
25 +
26 +#include "config.h"
27 +#include "barcode.h"
28 +
29 +#include <gettext.h>
30 +
31 +#define _(X) gettext (X)
32 +#define _N(X) (X)
33 +
34 +#endif
35 --- barcode-0.99/barcode.h.orig 2013-03-29 22:51:07.000000000 +0100
36 +++ barcode-0.99/barcode.h      2017-07-30 18:54:10.812986267 +0200
37 @@ -23,13 +23,10 @@
38  #ifndef _BARCODE_H_
39  #define _BARCODE_H_
40  
41 -#include "config.h"
42  #include <stdio.h>
43  
44 -#include <gettext.h>
45 -
46 -#define _(X) gettext (X)
47 -#define _N(X) (X)
48 +#define BARCODE_VERSION     "0.99"
49 +#define BARCODE_VERSION_INT   9900
50  
51  /*
52   * The object
53 --- barcode-0.99/library.c.orig 2013-03-29 23:23:18.000000000 +0100
54 +++ barcode-0.99/library.c      2017-07-30 18:54:37.596319295 +0200
55 @@ -19,7 +19,7 @@
56   *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
57   */
58  
59 -#include "barcode.h"
60 +#include "barcode_priv.h"
61  
62  #include <stdio.h>
63  #include <stdlib.h>
64 --- barcode-0.99/main.c.orig    2013-03-29 23:22:24.000000000 +0100
65 +++ barcode-0.99/main.c 2017-07-30 19:05:37.969645087 +0200
66 @@ -20,7 +20,7 @@
67   *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
68   */
69         
70 -#include "barcode.h"
71 +#include "barcode_priv.h"
72  #include <stdio.h>
73  #include <stdlib.h>
74  #include <string.h>
75 --- barcode-0.99/pcl.c.orig     2013-03-29 23:23:31.000000000 +0100
76 +++ barcode-0.99/pcl.c  2017-07-30 19:37:17.896290059 +0200
77 @@ -19,7 +19,7 @@
78   *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
79   */
80  
81 -#include "barcode.h"
82 +#include "barcode_priv.h"
83  
84  #include <stdio.h>
85  #include <stdlib.h>
86 --- barcode-0.99/plessey.c.orig 2017-07-30 19:29:55.792961773 +0200
87 +++ barcode-0.99/plessey.c      2017-07-30 19:37:32.916289887 +0200
88 @@ -17,7 +17,7 @@
89   *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
90   */
91  
92 -#include "barcode.h"
93 +#include "barcode_priv.h"
94  
95  #include <stdio.h>
96  #include <stdlib.h>
97 --- barcode-0.99/cmdline.c.orig 2013-03-29 23:22:31.000000000 +0100
98 +++ barcode-0.99/cmdline.c      2017-07-30 19:39:21.519621980 +0200
99 @@ -22,7 +22,7 @@
100   *      Michele Comitini (mcm@glisco.it): better handling of numeric type args.
101   */
102  
103 -#include "barcode.h"
104 +#include "barcode_priv.h"
105  #include <stdio.h>
106  #include <stdlib.h>
107  #include <string.h>
108 --- barcode-0.99/sample.c.orig  2013-03-29 23:23:50.000000000 +0100
109 +++ barcode-0.99/sample.c       2017-07-30 20:36:21.412916266 +0200
110 @@ -1,4 +1,4 @@
111 -#include "barcode.h"
112 +#include "barcode_priv.h"
113  
114  #include <stdio.h>
115  #include <stdlib.h>
This page took 0.032346 seconds and 3 git commands to generate.