Bug 191453

Summary: databases/db48 fails on powerpc64
Product: Ports & Packages Reporter: Justin Hibbits <jhibbits>
Component: Individual Port(s)Assignee: Matthias Andree <mandree>
Status: Closed FIXED    
Severity: Affects Some People CC: arved
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix for db48 mutex functions for powerpc64 none

Description Justin Hibbits freebsd_committer freebsd_triage 2014-06-28 08:33:07 UTC
Created attachment 144214 [details]
Fix for db48 mutex functions for powerpc64

The mutex code for db48 uses inline assembly which fails on powerpc64, due to truncating a pointer to an integer.  The attached patch fixes this.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2014-07-02 14:13:46 UTC
over to maintainer
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-07-02 20:59:41 UTC
A commit references this bug:

Author: mandree
Date: Wed Jul  2 20:59:26 UTC 2014
New revision: 360264
URL: http://svnweb.freebsd.org/changeset/ports/360264

Log:
  Fix mutex code on powerpc64.

  PR:		191453
  Submitted by:	jhibbits@

Changes:
  head/databases/db48/Makefile
  head/databases/db48/files/patch-dbinc_mutex_int.h
  head/databases/db5/Makefile
  head/databases/db5/files/patch-dbinc_mutex_int.h
  head/databases/db6/Makefile
  head/databases/db6/files/
  head/databases/db6/files/patch-dbinc_mutex_int.h
Comment 3 Matthias Andree freebsd_committer freebsd_triage 2014-07-02 21:00:25 UTC
Hi Justin,

I have committed the change and forward-ported it to db5 and db6, which apparently also need it.

Thank you.