1 |
commit: 41a0df79170417915d31e78bbf1db02c5f2c1653 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Aug 8 08:30:09 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 13 11:23:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a0df79 |
7 |
|
8 |
app-arch/dump: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/5350 |
11 |
|
12 |
.../files/dump-0.4.44-fix-pointers-aliasing.patch | 126 --------------------- |
13 |
...mp-0.4.44-rl_completion_matches-detection.patch | 24 ---- |
14 |
app-arch/dump/files/dump-0.4.44-sysmacros.patch | 12 -- |
15 |
app-arch/dump/files/dump-0.4.44-underlinking.patch | 31 ----- |
16 |
4 files changed, 193 deletions(-) |
17 |
|
18 |
diff --git a/app-arch/dump/files/dump-0.4.44-fix-pointers-aliasing.patch b/app-arch/dump/files/dump-0.4.44-fix-pointers-aliasing.patch |
19 |
deleted file mode 100644 |
20 |
index 6e329008547..00000000000 |
21 |
--- a/app-arch/dump/files/dump-0.4.44-fix-pointers-aliasing.patch |
22 |
+++ /dev/null |
23 |
@@ -1,126 +0,0 @@ |
24 |
-https://sourceforge.net/tracker/?func=detail&aid=3322910&group_id=1306&atid=301306 |
25 |
- |
26 |
-=== modified file 'dump/tape.c' |
27 |
---- dump/tape.c 2011-06-20 07:22:40 +0000 |
28 |
-+++ dump/tape.c 2011-06-20 07:57:11 +0000 |
29 |
-@@ -1281,9 +1281,9 @@ |
30 |
- compresult = 1; |
31 |
- #ifdef HAVE_ZLIB |
32 |
- if (zipflag == COMPRESS_ZLIB) { |
33 |
-- compresult = compress2(comp_buf->buf, |
34 |
-+ compresult = compress2((Bytef *)comp_buf->buf, |
35 |
- &worklen, |
36 |
-- (char *)slp->tblock[0], |
37 |
-+ (Bytef *)slp->tblock[0], |
38 |
- writesize, |
39 |
- compressed); |
40 |
- if (compresult == Z_OK) |
41 |
-@@ -1313,8 +1313,9 @@ |
42 |
- #ifdef HAVE_LZO |
43 |
- if (zipflag == COMPRESS_LZO) { |
44 |
- lzo_uint worklen2 = worklen; |
45 |
-- compresult = lzo1x_1_compress((char *)slp->tblock[0],writesize, |
46 |
-- comp_buf->buf, |
47 |
-+ compresult = lzo1x_1_compress((lzo_bytep)slp->tblock[0], |
48 |
-+ writesize, |
49 |
-+ (lzo_bytep)comp_buf->buf, |
50 |
- &worklen2, |
51 |
- LZO_WorkMem); |
52 |
- worklen = worklen2; |
53 |
- |
54 |
-=== modified file 'dump/traverse.c' |
55 |
---- dump/traverse.c 2011-06-20 07:22:40 +0000 |
56 |
-+++ dump/traverse.c 2011-06-20 07:57:11 +0000 |
57 |
-@@ -782,13 +782,13 @@ |
58 |
- for (i = p->next_block; i < blockcnt; i++) { |
59 |
- p->buf[p->cnt++] = 0; |
60 |
- if (p->cnt == p->max) { |
61 |
-- blksout (p->buf, p->cnt, p->ino); |
62 |
-+ blksout ((blk_t *)p->buf, p->cnt, p->ino); |
63 |
- p->cnt = 0; |
64 |
- } |
65 |
- } |
66 |
- p->buf[p->cnt++] = *blocknr; |
67 |
- if (p->cnt == p->max) { |
68 |
-- blksout (p->buf, p->cnt, p->ino); |
69 |
-+ blksout ((blk_t *)p->buf, p->cnt, p->ino); |
70 |
- p->cnt = 0; |
71 |
- } |
72 |
- p->next_block = blockcnt + 1; |
73 |
-@@ -868,14 +868,15 @@ |
74 |
- void |
75 |
- dumpino(struct dinode *dp, dump_ino_t ino, int metaonly) |
76 |
- { |
77 |
-+ fsizeT remaining; |
78 |
-+ char buf[TP_BSIZE]; |
79 |
-+ struct new_bsd_inode nbi; |
80 |
-+ int i; |
81 |
-+#ifdef __linux__ |
82 |
-+ struct block_context bc; |
83 |
-+#else |
84 |
- unsigned long cnt; |
85 |
-- fsizeT size, remaining; |
86 |
-- char buf[TP_BSIZE]; |
87 |
-- struct new_bsd_inode nbi; |
88 |
-- int i; |
89 |
--#ifdef __linux__ |
90 |
-- struct block_context bc; |
91 |
--#else |
92 |
-+ fsizeT size; |
93 |
- int ind_level; |
94 |
- #endif |
95 |
- u_quad_t i_size; |
96 |
-@@ -1001,13 +1002,13 @@ |
97 |
- for (i = 0; i < (int)howmany(remaining, sblock->fs_fsize); i++) { |
98 |
- bc.buf[bc.cnt++] = 0; |
99 |
- if (bc.cnt == bc.max) { |
100 |
-- blksout (bc.buf, bc.cnt, bc.ino); |
101 |
-+ blksout ((blk_t *)bc.buf, bc.cnt, bc.ino); |
102 |
- bc.cnt = 0; |
103 |
- } |
104 |
- } |
105 |
- } |
106 |
- if (bc.cnt > 0) { |
107 |
-- blksout (bc.buf, bc.cnt, bc.ino); |
108 |
-+ blksout ((blk_t *)bc.buf, bc.cnt, bc.ino); |
109 |
- } |
110 |
- free(bc.buf); |
111 |
- dump_xattr(ino, dp); |
112 |
-@@ -1016,7 +1017,7 @@ |
113 |
- cnt = NDADDR * sblock->fs_frag; |
114 |
- else |
115 |
- cnt = howmany(i_size, sblock->fs_fsize); |
116 |
-- blksout(&dp->di_db[0], cnt, ino); |
117 |
-+ blksout((blk_t *)&dp->di_db[0], cnt, ino); |
118 |
- if ((quad_t) (size = i_size - NDADDR * sblock->fs_bsize) <= 0) { |
119 |
- dump_xattr(ino, dp); |
120 |
- return; |
121 |
- |
122 |
-=== modified file 'restore/tape.c' |
123 |
---- restore/tape.c 2011-06-20 07:22:40 +0000 |
124 |
-+++ restore/tape.c 2011-06-20 07:57:11 +0000 |
125 |
-@@ -2335,8 +2335,10 @@ |
126 |
- #ifndef HAVE_ZLIB |
127 |
- errx(1,"This restore version doesn't support zlib decompression"); |
128 |
- #else |
129 |
-- cresult = uncompress(comprbuf, &worklen, |
130 |
-- tpbin->buf, blocklen); |
131 |
-+ cresult = uncompress((Bytef *)comprbuf, |
132 |
-+ &worklen, |
133 |
-+ (Bytef *)tpbin->buf, |
134 |
-+ blocklen); |
135 |
- output = comprbuf; |
136 |
- switch (cresult) { |
137 |
- case Z_OK: |
138 |
-@@ -2397,8 +2399,8 @@ |
139 |
- errx(1,"This restore version doesn't support lzo decompression"); |
140 |
- #else |
141 |
- lzo_uint worklen2 = worklen; |
142 |
-- cresult = lzo1x_decompress(tpbin->buf, blocklen, |
143 |
-- comprbuf, &worklen2, NULL); |
144 |
-+ cresult = lzo1x_decompress((lzo_bytep)tpbin->buf, blocklen, |
145 |
-+ (lzo_bytep)comprbuf, &worklen2, NULL); |
146 |
- worklen = worklen2; |
147 |
- output = comprbuf; |
148 |
- switch (cresult) { |
149 |
- |
150 |
|
151 |
diff --git a/app-arch/dump/files/dump-0.4.44-rl_completion_matches-detection.patch b/app-arch/dump/files/dump-0.4.44-rl_completion_matches-detection.patch |
152 |
deleted file mode 100644 |
153 |
index 6f968f549d7..00000000000 |
154 |
--- a/app-arch/dump/files/dump-0.4.44-rl_completion_matches-detection.patch |
155 |
+++ /dev/null |
156 |
@@ -1,24 +0,0 @@ |
157 |
-https://sourceforge.net/tracker/?func=detail&aid=3322906&group_id=1306&atid=301306 |
158 |
- |
159 |
-=== modified file 'configure.in' |
160 |
---- configure.in 2011-06-20 07:22:40 +0000 |
161 |
-+++ configure.in 2011-06-20 07:56:19 +0000 |
162 |
-@@ -516,7 +516,7 @@ |
163 |
- dnl |
164 |
- dnl Check for rl_completion_matches |
165 |
- dnl |
166 |
--AC_CHECK_LIB(readline, rl_completion_matches, [rlcm=yes], [rlcm=no], "-ltermcap") |
167 |
-+AC_CHECK_LIB(readline, rl_completion_matches, [rlcm=yes], [rlcm=no], [$rdllib]) |
168 |
- if test "$rlcm" = yes; then |
169 |
- AC_DEFINE([HAVE_READLINE_RLCM],1,[Define this if your readline libs have the rl_completion_matches library.]) |
170 |
- fi |
171 |
-@@ -524,7 +524,7 @@ |
172 |
- dnl |
173 |
- dnl Check for rl_completion_append_character |
174 |
- dnl |
175 |
--AC_CHECK_LIB(readline, rl_completion_append_character, [rcac=yes], [rcac=no], "-ltermcap") |
176 |
-+AC_CHECK_LIB(readline, rl_completion_append_character, [rcac=yes], [rcac=no], [$rdllib]) |
177 |
- if test "$rcac" = yes; then |
178 |
- AC_DEFINE([HAVE_READLINE_CAC],1,[Define this if your readline libs have the rl_completion_append_character variable.]) |
179 |
- fi |
180 |
- |
181 |
|
182 |
diff --git a/app-arch/dump/files/dump-0.4.44-sysmacros.patch b/app-arch/dump/files/dump-0.4.44-sysmacros.patch |
183 |
deleted file mode 100644 |
184 |
index bda233ffa44..00000000000 |
185 |
--- a/app-arch/dump/files/dump-0.4.44-sysmacros.patch |
186 |
+++ /dev/null |
187 |
@@ -1,12 +0,0 @@ |
188 |
-https://bugs.gentoo.org/580204 |
189 |
- |
190 |
---- a/restore/tape.c |
191 |
-+++ b/restore/tape.c |
192 |
-@@ -65,6 +65,7 @@ |
193 |
- #include <sys/un.h> |
194 |
- |
195 |
- #ifdef __linux__ |
196 |
-+#include <sys/sysmacros.h> |
197 |
- #include <sys/time.h> |
198 |
- #include <time.h> |
199 |
- #ifdef HAVE_EXT2FS_EXT2_FS_H |
200 |
|
201 |
diff --git a/app-arch/dump/files/dump-0.4.44-underlinking.patch b/app-arch/dump/files/dump-0.4.44-underlinking.patch |
202 |
deleted file mode 100644 |
203 |
index b211f007976..00000000000 |
204 |
--- a/app-arch/dump/files/dump-0.4.44-underlinking.patch |
205 |
+++ /dev/null |
206 |
@@ -1,31 +0,0 @@ |
207 |
-diff --git a/MCONFIG.in b/MCONFIG.in |
208 |
-index 64cb016..f5d1012 100644 |
209 |
---- a/MCONFIG.in |
210 |
-+++ b/MCONFIG.in |
211 |
-@@ -40,7 +40,7 @@ GINC+= @EXT2FS_CFLAGS@ |
212 |
- # indicate where the ext2fs library can be found (this is not needed if you |
213 |
- # have run `make install-libs' in the e2fsprogs source directory). |
214 |
- #GLIBDIR= -L/usr/src/e2fsprogs-0.5c/lib |
215 |
--GLIBS= $(GLIBDIR) -L../compat/lib -lcompat @EXT2FS_LIBS@ |
216 |
-+GLIBS= $(GLIBDIR) -L../compat/lib -lcompat @EXT2FS_LIBS@ @COM_ERR_LIBS@ |
217 |
- |
218 |
- # |
219 |
- # Definitions (don't change them unless you know what you are doing) |
220 |
-diff --git a/configure.in b/configure.in |
221 |
-index 2d69157..c8a9e04 100644 |
222 |
---- a/configure.in |
223 |
-+++ b/configure.in |
224 |
-@@ -414,11 +414,12 @@ fi |
225 |
- if test "$ext2fs_h" = no -o "x$EXT2FS_LIBS" = "x"; then |
226 |
- AC_MSG_ERROR(You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs) |
227 |
- fi |
228 |
-+PKG_CHECK_MODULES(COM_ERR, [com_err]) |
229 |
- |
230 |
- dnl |
231 |
- dnl Check for ext2fs_read_inode_full |
232 |
- dnl |
233 |
--AC_CHECK_LIB(ext2fs, ext2fs_read_inode_full, [rif=yes], [rif=no], [-lcom_err]) |
234 |
-+AC_CHECK_LIB(ext2fs, ext2fs_read_inode_full, [rif=yes], [rif=no], [$COM_ERR_LIBS]) |
235 |
- if test "$rif" = yes; then |
236 |
- AC_DEFINE([HAVE_EXT2FS_READ_INODE_FULL],1,[Define this if your ext2fs libs have the ext2fs_read_inode_full function.]) |
237 |
- fi |