瀏覽代碼

fix rsync patch for Linux

Ralf S. Engelschall 24 年之前
父節點
當前提交
a9adc58aed
共有 2 個文件被更改,包括 7 次插入9 次删除
  1. 6 8
      rsync/rsync.patch
  2. 1 1
      rsync/rsync.spec

+ 6 - 8
rsync/rsync.patch

@@ -21,18 +21,16 @@
          NEEDOUT
 --- rsync.h.orig	Mon Mar 25 08:29:43 2002
 +++ rsync.h	Tue Apr 23 13:49:06 2002
-@@ -113,10 +113,6 @@
+@@ -113,7 +113,7 @@
  #include <string.h>
  #endif
  
 -#ifdef HAVE_MALLOC_H
--#include <malloc.h>
--#endif
--
- #ifdef TIME_WITH_SYS_TIME
- #include <sys/time.h>
- #include <time.h>
-@@ -181,10 +177,6 @@
++#if defined(HAVE_MALLINFO) && defined(HAVE_MALLOC_H)
+ #include <malloc.h>
+ #endif
+ 
+@@ -181,10 +181,6 @@
  
  #ifdef HAVE_GLOB_H
  #include <glob.h>

+ 1 - 1
rsync/rsync.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
 Group:        Filesystem
 License:      GPL
 Version:      2.5.5
-Release:      20020423
+Release:      20020611
 
 #   list of sources
 Source0:      http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz