Bug 11534 - MD5-enabled SysVinit doesn't compile on glibc20 [PATCH]
MD5-enabled SysVinit doesn't compile on glibc20 [PATCH]
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: SysVinit (Show other bugs)
6.2
All Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-05-20 04:20 EDT by Pekka Savola
Modified: 2014-03-16 22:13 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-05-20 04:20:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pekka Savola 2000-05-20 04:20:30 EDT
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 16:05:25 EDT
Fixed in 2.78-8.

Note You need to log in before you can comment on or make changes to this bug.