Bug 11534

Summary: MD5-enabled SysVinit doesn't compile on glibc20 [PATCH]
Product: [Retired] Red Hat Linux Reporter: Pekka Savola <pekkas>
Component: SysVinitAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-20 08:20:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pekka Savola 2000-05-20 08:20:30 UTC
It seems newer SysVinit packages that have MD5 patches in won't compile on
my RH51 glibc20 system.

Here's a small patch to make it backward-compatible:

--- sysvinit-2.78/src/md5.h.orig        Sat May 20 11:02:31 2000
+++ sysvinit-2.78/src/md5.h     Sat May 20 11:14:00 2000
@@ -2,7 +2,7 @@
 #define MD5_H

 #include <features.h>
-#if defined(__GLIBC__) && __GLIBC__ > 1
+#if defined(__GLIBC__) && __GLIBC__ > 1 && !(__GLIBC__ == 2 &&
__GLIBC_MINOR__ == 0)
 # include <stdint.h>
 typedef uint32_t uint32;
 #else

Comment 1 Bill Nottingham 2000-06-08 20:05:25 UTC
Fixed in 2.78-8.