]> git.pld-linux.org Git - packages/poldek.git/blob - poldek-largefile.patch
- fix issue with lack of progress bar in i686 build
[packages/poldek.git] / poldek-largefile.patch
1 diff -urp poldek-0.30.1.org/configure.ac poldek-0.30.1/configure.ac
2 --- poldek-0.30.1.org/configure.ac      2014-03-26 20:23:01.000000000 +0100
3 +++ poldek-0.30.1/configure.ac  2015-12-16 08:43:07.693420809 +0100
4 @@ -51,6 +51,8 @@ dnl AC_DEFINE([ENABLE_VFILE_TRURLIO],1,[
5  
6  AC_DISABLE_STATIC
7  
8 +AC_SYS_LARGEFILE
9 +
10  dnl Checks for programs.
11  m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
12  AC_PROG_CC()
13 Tylko w poldek-0.30.1: configure.ac~
14 diff -urp poldek-0.30.1.org/tndb/configure.ac poldek-0.30.1/tndb/configure.ac
15 --- poldek-0.30.1.org/tndb/configure.ac 2014-03-26 20:20:43.000000000 +0100
16 +++ poldek-0.30.1/tndb/configure.ac     2015-12-16 08:45:36.390318410 +0100
17 @@ -15,6 +15,8 @@ AM_INIT_AUTOMAKE([1.11 foreign no-dist-g
18  AM_MAINTAINER_MODE([enable])
19  AM_SILENT_RULES([no])
20  
21 +AC_SYS_LARGEFILE
22 +
23  # Checks for programs.
24  m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
25  AC_PROG_CC
26 diff -urp poldek-0.30.1.org/trurlib/configure.ac poldek-0.30.1/trurlib/configure.ac
27 --- poldek-0.30.1.org/trurlib/configure.ac      2014-03-26 20:20:45.000000000 +0100
28 +++ poldek-0.30.1/trurlib/configure.ac  2015-12-16 08:45:25.400054699 +0100
29 @@ -15,6 +15,8 @@ AM_INIT_AUTOMAKE([1.11 foreign no-dist-g
30  AM_MAINTAINER_MODE([enable])
31  AM_SILENT_RULES([no])
32  
33 +AC_SYS_LARGEFILE
34 +
35  # Checks for programs.
36  m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
37  AC_PROG_CC
38 --- poldek-0.30.1/vfile/vfff/vfff.h~    2014-03-25 23:32:25.000000000 +0100
39 +++ poldek-0.30.1/vfile/vfff/vfff.h     2015-12-27 22:03:53.306854171 +0100
40 @@ -13,6 +13,10 @@
41  #ifndef VFFF_VCN_H
42  #define VFFF_VCN_H
43  
44 +#ifdef HAVE_CONFIG_H
45 +# include "config.h"
46 +#endif
47 +
48  #include <stdarg.h>
49  #include <sys/param.h>          /* for PATH_MAX */
50  #include <netinet/in.h>
51 --- poldek-0.30.1/vfile/vfff/ftp.c.dd   2015-12-28 16:29:34.793238446 +0000
52 +++ poldek-0.30.1/vfile/vfff/ftp.c      2015-12-28 16:29:47.105324341 +0000
53 @@ -10,6 +10,10 @@
54    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
55  */
56  
57 +#ifdef HAVE_CONFIG_H
58 +# include "config.h"
59 +#endif
60 +
61  #include <ctype.h>
62  #include <errno.h>
63  #include <fcntl.h>
64 --- poldek-0.30.1/vfile/vfff/http.c.dd  2015-12-28 16:28:59.848990134 +0000
65 +++ poldek-0.30.1/vfile/vfff/http.c     2015-12-28 16:29:25.201170973 +0000
66 @@ -10,6 +10,10 @@
67    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
68  */
69  
70 +#ifdef HAVE_CONFIG_H
71 +# include "config.h"
72 +#endif
73 +
74  #include <ctype.h>
75  #include <errno.h>
76  #include <fcntl.h>
77 --- poldek-0.30.1/vfile/vfff/vfff.h.dd  2015-12-28 16:30:06.337456985 +0000
78 +++ poldek-0.30.1/vfile/vfff/vfff.h     2015-12-28 16:30:46.305727157 +0000
79 @@ -22,6 +22,9 @@
80  #include <netinet/in.h>
81  #include <time.h>
82  
83 +#include <sys/types.h>
84 +#include <unistd.h>
85 +
86  #ifndef IPPORT_HTTP
87  # define IPPORT_HTTP 80
88  #endif
89 --- poldek-0.30.1/vfile/vfreq.h.dd      2014-03-25 22:32:25.000000000 +0000
90 +++ poldek-0.30.1/vfile/vfreq.h 2015-12-28 16:27:45.504435535 +0000
91 @@ -13,6 +13,13 @@
92  #ifndef POLDEK_VFILE_VFREQ_H
93  #define POLDEK_VFILE_VFREQ_H
94  
95 +#ifdef HAVE_CONFIG_H
96 +# include "config.h"
97 +#endif
98 +
99 +#include <sys/types.h>
100 +#include <unistd.h>
101 +
102  #include <time.h>
103  
104  void *vf_progress_new(const char *label);
105 --- poldek-0.30.1/vfile/vfff/vfff.c.dd  2014-03-25 22:32:25.000000000 +0000
106 +++ poldek-0.30.1/vfile/vfff/vfff.c     2015-12-28 16:59:18.775511542 +0000
107 @@ -10,6 +10,10 @@
108    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
109  */
110  
111 +#ifdef HAVE_CONFIG_H
112 +# include "config.h"
113 +#endif
114 +
115  #include <arpa/inet.h>
116  #include <ctype.h>
117  #include <errno.h>
This page took 0.029528 seconds and 3 git commands to generate.