cvs commit: patches/inetutils inetutils-1.4.2-kernel_headers-1.patch inetutils-1.4.2-kernel-headers-1.patch

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sat Jun 5 03:52:10 PDT 2004


jim         04/06/05 04:52:10

  Added:       inetutils inetutils-1.4.2-kernel_headers-1.patch
  Removed:     inetutils inetutils-1.4.2-kernel-headers-1.patch
  Log:
  Naming Scheme Update
  
  Revision  Changes    Path
  1.1                  patches/inetutils/inetutils-1.4.2-kernel_headers-1.patch
  
  Index: inetutils-1.4.2-kernel_headers-1.patch
  ===================================================================
  Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
  Date: 2004-01-30
  Initial Package Version: 2.6
  Origin: Based on lfs-hackers 
  Description: Fixes Compile with the 2.6 Kernel
   
  diff -Naur inetutils-1.4.2.orig/libinetutils/revoke.c inetutils-1.4.2/libinetutils/revoke.c
  --- inetutils-1.4.2.orig/libinetutils/revoke.c	2002-06-26 03:15:06.000000000 +0000
  +++ inetutils-1.4.2/libinetutils/revoke.c	2004-01-30 20:20:22.000000000 +0000
  @@ -1,5 +1,7 @@
   /* stub revoke */
   
  +#include <linux/version.h>
  +
   #ifdef HAVE_CONFIG_H
   #include <config.h>
   #endif
  @@ -10,6 +12,7 @@
   extern int errno;
   #endif
   
  +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
   int
   revoke (char *path)
   {
  @@ -21,3 +24,5 @@
   #endif
     return -1;
   }
  +#endif
  +
  
  
  



More information about the patches mailing list