]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-zlib.patch
- zlib fixes but still some issues not solved
[packages/poldek.git] / poldek-zlib.patch
CommitLineData
cf07ce32
AM
1? poldek-rpmlib.patch
2? x
3Index: configure.in
4===================================================================
5RCS file: /cvsroot/poldek/poldek/configure.in,v
6retrieving revision 1.145
7retrieving revision 1.146
8diff -u -u -r1.145 -r1.146
9--- configure.in 12 May 2008 15:51:38 -0000 1.145
10+++ configure.in 13 Feb 2010 22:00:08 -0000 1.146
11@@ -1,6 +1,6 @@
12
13 dnl Process this file with autoconf to produce a configure script.
14-dnl $Id$
15+dnl $Id$
16
17 AC_INIT(poldek,0.30)
18 AC_CONFIG_SRCDIR([capreq.c])
19@@ -234,6 +234,8 @@
20 dnl Checks for libraries.
21 AC_CHECK_LIB(bz2, BZ2_bzCompress)
22 AC_CHECK_LIB(z, gzopen)
23+
24+AC_CHECK_FUNCS(gzungetc)
25
26 DBLIB=""
27 if test "${is_rpm4_0_4}." = "no." ; then
28Index: pkgdir/pkg_restore.c
29===================================================================
30RCS file: /cvsroot/poldek/poldek/pkgdir/pkg_restore.c,v
31retrieving revision 1.25
32retrieving revision 1.26
33diff -u -u -r1.25 -r1.26
34--- pkgdir/pkg_restore.c 25 May 2008 09:25:31 -0000 1.25
35+++ pkgdir/pkg_restore.c 14 Feb 2010 16:10:26 -0000 1.26
36@@ -11,7 +11,7 @@
37 */
38
39 /*
40- $Id$
41+ $Id$
42 */
43
44 #ifdef HAVE_CONFIG_H
45@@ -149,7 +149,7 @@
46 struct pkg tmpkg;
47 off_t offs;
48 unsigned long ul_offs;
49- char linebuf[4096];
50+ char linebuf[PATH_MAX];
51 int nerr = 0, nread, pkg_loaded = 0;
52 int tag, tag_binsize = PKG_STORETAG_SIZENIL;
53 const char *errmg_double_tag = "%s:%lu: double '%c' tag";
54Index: pkgdir/pdir/pdir.c
55===================================================================
56RCS file: /cvsroot/poldek/poldek/pkgdir/pdir/pdir.c,v
57retrieving revision 1.31
58retrieving revision 1.32
59diff -u -u -r1.31 -r1.32
60--- pkgdir/pdir/pdir.c 2 Feb 2008 21:49:04 -0000 1.31
61+++ pkgdir/pdir/pdir.c 14 Feb 2010 16:10:26 -0000 1.32
62@@ -11,7 +11,7 @@
63 */
64
65 /*
66- $Id$
67+ $Id$
68 */
69
70 #ifdef HAVE_CONFIG_H
71@@ -577,7 +577,7 @@
72 int do_open(struct pkgdir *pkgdir, unsigned flags)
73 {
74 struct vfile *vf;
75- char linebuf[1024 * 256];
76+ char linebuf[PATH_MAX];
77 int nline;
78 int nerr = 0, nread;
79 struct pkgroup_idx *pkgroups = NULL;
80Index: pkgdir/pdir/pdir_pkg_restore.c
81===================================================================
82RCS file: /cvsroot/poldek/poldek/pkgdir/pdir/pdir_pkg_restore.c,v
83retrieving revision 1.11
84retrieving revision 1.12
85diff -u -u -r1.11 -r1.12
86--- pkgdir/pdir/pdir_pkg_restore.c 25 May 2008 09:25:31 -0000 1.11
87+++ pkgdir/pdir/pdir_pkg_restore.c 14 Feb 2010 16:10:26 -0000 1.12
88@@ -11,7 +11,7 @@
89 */
90
91 /*
92- $Id$
93+ $Id$
94 */
95
96 #ifdef HAVE_CONFIG_H
97@@ -135,7 +135,7 @@
98 {
99 struct pkgtags_s pkgt;
100 off_t offs;
101- char linebuf[4096];
102+ char linebuf[PATH_MAX];
103 int nerr = 0, nread, with_pkg = 0;
104
105 const char *errmg_double_tag = "%s:%ld: double '%c' tag";
106Index: pkgdir/yum/yum.c
107===================================================================
108RCS file: /cvsroot/poldek/poldek/pkgdir/yum/yum.c,v
109retrieving revision 1.19
110retrieving revision 1.20
111diff -u -u -r1.19 -r1.20
112--- pkgdir/yum/yum.c 2 Feb 2008 21:49:05 -0000 1.19
113+++ pkgdir/yum/yum.c 14 Feb 2010 16:10:26 -0000 1.20
114@@ -11,7 +11,7 @@
115 */
116
117 /*
118- $Id$
119+ $Id$
120 */
121
122 #ifdef HAVE_CONFIG_H
123@@ -128,7 +128,7 @@
124 int do_open(struct pkgdir *pkgdir, unsigned flags)
125 {
126 struct vfile *vf;
127- char linebuf[1024 * 16];
128+ char linebuf[PATH_MAX];
129 int nline, nerr = 0, nread, n;
130 struct pkgroup_idx *pkgroups = NULL;
131 struct idx idx;
This page took 0.044278 seconds and 4 git commands to generate.