Browse Source

upgrading package: aegis 4.11 -> 4.12

Ralf S. Engelschall 22 years ago
parent
commit
4deb4cfb28
2 changed files with 30 additions and 2 deletions
  1. 26 0
      aegis/aegis.patch
  2. 4 2
      aegis/aegis.spec

+ 26 - 0
aegis/aegis.patch

@@ -0,0 +1,26 @@
+Index: libaegis/getgr_cache.c
+--- libaegis/getgr_cache.c.orig	2003-09-29 11:14:14.000000000 +0200
++++ libaegis/getgr_cache.c	2003-09-29 20:55:11.000000000 +0200
+@@ -49,7 +49,7 @@
+ #ifndef SOURCE_FORGE_HACK
+ 	result->gr_name = 0;
+ 	result->gr_passwd = 0;
+-	result->gr_gid = (__gid_t)-1;
++	result->gr_gid = (gid_t)-1;
+ 	result->gr_mem = 0;
+ #else
+ 	/*
+Index: libaegis/getpw_cache.c
+--- libaegis/getpw_cache.c.orig	2003-09-29 11:14:14.000000000 +0200
++++ libaegis/getpw_cache.c	2003-09-29 20:55:27.000000000 +0200
+@@ -49,8 +49,8 @@
+ #ifndef SOURCE_FORGE_HACK
+ 	result->pw_name = 0;
+ 	result->pw_passwd = 0;
+-	result->pw_uid = (__uid_t)-1;
+-	result->pw_gid = (__gid_t)-1;
++	result->pw_uid = (uid_t)-1;
++	result->pw_gid = (gid_t)-1;
+ 	result->pw_gecos = 0;
+ #ifdef HAVE_pw_comment
+ 	result->pw_comment = 0;

+ 4 - 2
aegis/aegis.spec

@@ -32,11 +32,12 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [PLUS]
 Group:        Text
 License:      GPL
-Version:      4.11
-Release:      20030801
+Version:      4.12
+Release:      20030929
 
 #   list of sources
 Source0:      http://aegis.sourceforge.net/aegis-%{version}.tar.gz
+Patch0:       aegis.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -57,6 +58,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch -p0
     %{l_shtool} subst \
         -e 's/-chown /-true /g' \
         -e 's/chgrp /true /g' \