Browse Source

patch out mboxfile declaration to make gcc4 happy

Thomas Lotterer 20 years ago
parent
commit
91b0740cda
2 changed files with 15 additions and 1 deletions
  1. 14 0
      amd/amd.patch
  2. 1 1
      amd/amd.spec

+ 14 - 0
amd/amd.patch

@@ -99,3 +99,17 @@ Index: libamu/mount_fs.c
  
  #ifdef MNT2_NFS_OPT_SPONGY
    if (hasmntopt(mntp, MNTTAB_OPT_SPONGY) != NULL) {
+
+taken from FedoraCore4 am-utils-6.0.9-12.src.rpm/am-utils-6.0.9.gcc4.patch
+--- hlfsd/hlfsd.h.orig	2002-12-28 15:49:22.000000000 +0100
++++ hlfsd/hlfsd.h	2005-03-25 17:15:55.753207705 +0100
+@@ -142,7 +142,7 @@
+ extern char *mailbox(int, char *);
+ extern char *passwdfile;
+ extern char *slinkname;
+-extern char mboxfile[];
++/* extern char mboxfile[]; */
+ extern gid_t hlfs_gid;
+ extern int cache_interval;
+ extern int noverify;
+

+ 1 - 1
amd/amd.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        System
 License:      BSD
 Version:      6.0.10
-Release:      20050616
+Release:      20050922
 
 #   list of sources
 Source0:      ftp://ftp.am-utils.org/pub/am-utils/am-utils-%{version}.tar.gz