]> git.pld-linux.org Git - packages/librsync.git/commitdiff
remove patches: format-security, 4Gigbug and link dropped from spec in 71f4f5d auto/th/librsync-2.3.2-1
authorJan Palus <atler@pld-linux.org>
Tue, 7 Dec 2021 11:12:02 +0000 (12:12 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 7 Dec 2021 11:12:02 +0000 (12:12 +0100)
format-security.patch [deleted file]
librsync-4Gigbug.patch [deleted file]
librsync-link.patch [deleted file]

diff --git a/format-security.patch b/format-security.patch
deleted file mode 100644 (file)
index c0b7a64..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- librsync-0.9.7/buf.c~      2004-02-08 00:17:57.000000000 +0100
-+++ librsync-0.9.7/buf.c       2015-07-25 11:19:24.237688098 +0200
-@@ -213,7 +213,7 @@
-     got = fread(*buf, 1, *len, f);
-     if (got == -1) {
--        rs_error(strerror(errno));
-+        rs_error("%s", strerror(errno));
-         return RS_IO_ERROR;
-     } else if (got == 0) {
-         rs_error("unexpected eof on fd%d", fileno(f));
diff --git a/librsync-4Gigbug.patch b/librsync-4Gigbug.patch
deleted file mode 100644 (file)
index fef0894..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -urN librsync-0.9.7/mdfour.h librsync-0.9.7dev/mdfour.h
---- librsync-0.9.7/mdfour.h    2004-02-07 18:17:57.000000000 -0500
-+++ librsync-0.9.7dev/mdfour.h 2006-03-06 03:21:46.000000000 -0500
-@@ -24,7 +24,7 @@
- #include "types.h"
- struct rs_mdfour {
--    int                 A, B, C, D;
-+    unsigned int        A, B, C, D;
- #if HAVE_UINT64
-     uint64_t            totalN;
- #else
-diff -urN librsync-0.9.7/patch.c librsync-0.9.7dev/patch.c
---- librsync-0.9.7/patch.c     2004-09-17 17:35:50.000000000 -0400
-+++ librsync-0.9.7dev/patch.c  2006-03-06 03:21:06.000000000 -0500
-@@ -214,12 +214,12 @@
-     void            *buf, *ptr;
-     rs_buffers_t    *buffs = job->stream;
--    len = job->basis_len;
--    
-     /* copy only as much as will fit in the output buffer, so that we
-      * don't have to block or store the input. */
--    if (len > buffs->avail_out)
-+    if (job->basis_len > buffs->avail_out)
-         len = buffs->avail_out;
-+    else
-+        len = job->basis_len;
-     if (!len)
-         return RS_BLOCKED;
diff --git a/librsync-link.patch b/librsync-link.patch
deleted file mode 100644 (file)
index 7bd49a0..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- librsync-0.9.7/configure.ac.orig   2004-10-10 11:52:26.000000000 +0200
-+++ librsync-0.9.7/configure.ac        2004-10-18 22:39:40.600385603 +0200
-@@ -27,9 +27,9 @@
- AC_PROG_LIBTOOL
- # Checks for libraries.
--AC_CHECK_LIB(z, deflate)
--AC_CHECK_LIB(bz2, BZ2_bzCompress)
--AC_CHECK_LIB(popt, poptGetContext,,[BUILD_POPT='popt/libpopt.a'; CFLAGS="$CFLAGS -I$srcdir/popt"])
-+dnl AC_CHECK_LIB(z, deflate)  -- unued
-+dnl AC_CHECK_LIB(bz2, BZ2_bzCompress)  -- unused
-+AC_CHECK_LIB(popt, poptGetContext,[BUILD_POPT=-lpopt],[BUILD_POPT='popt/libpopt.a'; CFLAGS="$CFLAGS -I$srcdir/popt"])
- # Checks for header files.
- AC_FUNC_ALLOCA
---- librsync-0.9.7/Makefile.am.orig    2004-02-08 00:17:57.000000000 +0100
-+++ librsync-0.9.7/Makefile.am 2004-10-18 22:36:07.967024276 +0200
-@@ -60,7 +60,7 @@
- rdiff_LDADD = @BUILD_POPT@ librsync.la
--rdiff_DEPENDENCIES = @BUILD_POPT@ librsync.la
-+rdiff_DEPENDENCIES = librsync.la
- # this script is used to build prototab.[ch]
- noinst_SCRIPTS = mkprototab.pl
This page took 0.12278 seconds and 4 git commands to generate.