Bug 13030

Summary: Patch to compile rpm-3.0.5 under Tru64 Unix
Product: [Retired] Red Hat Raw Hide Reporter: Ian Mortimer <i.mortimer>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-26 00:50:10 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 Ian Mortimer 2000-06-26 00:50:08 UTC
rpm-3.0.5 as released doesn't build under Compaq's
Tru64 Unix 4.0F with gcc.  Here's the patch:

diff -rc rpm-3.0.5.orig/lib/md5.h rpm-3.0.5/lib/md5.h
*** rpm-3.0.5.orig/lib/md5.h    Wed Jun 21 00:14:00 2000
--- rpm-3.0.5/lib/md5.h Mon Jun 26 09:40:27 2000
***************
*** 3,9 ****
--- 3,13 ----

  #include <sys/types.h>

+ #ifdef __alpha
+ typedef unsigned int uint32;
+ #else
  typedef u_int32_t uint32;
+ #endif

  struct MD5Context {
        uint32 buf[4];

Comment 1 Jeff Johnson 2000-07-05 12:07:24 UTC
Fixed. Will be in final rpm-3.0.5 release. Thanks for the report.