svn commit: r360264 - in head/databases: db48 db48/files db5 db5/files db6 db6/files

Matthias Andree mandree at FreeBSD.org
Wed Jul 2 20:59:26 UTC 2014


Author: mandree
Date: Wed Jul  2 20:59:24 2014
New Revision: 360264
URL: http://svnweb.freebsd.org/changeset/ports/360264
QAT: https://qat.redports.org/buildarchive/r360264/

Log:
  Fix mutex code on powerpc64.
  
  PR:		191453
  Submitted by:	jhibbits@

Added:
  head/databases/db48/files/patch-dbinc_mutex_int.h   (contents, props changed)
  head/databases/db5/files/patch-dbinc_mutex_int.h   (contents, props changed)
  head/databases/db6/files/
  head/databases/db6/files/patch-dbinc_mutex_int.h   (contents, props changed)
Modified:
  head/databases/db48/Makefile
  head/databases/db5/Makefile
  head/databases/db6/Makefile

Modified: head/databases/db48/Makefile
==============================================================================
--- head/databases/db48/Makefile	Wed Jul  2 20:58:04 2014	(r360263)
+++ head/databases/db48/Makefile	Wed Jul  2 20:59:24 2014	(r360264)
@@ -3,7 +3,7 @@
 
 PORTNAME=	db48
 PORTVERSION=	4.8.30.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases
 MASTER_SITES=	http://download.oracle.com/berkeley-db/
 PKGNAMEPREFIX?=

Added: head/databases/db48/files/patch-dbinc_mutex_int.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/db48/files/patch-dbinc_mutex_int.h	Wed Jul  2 20:59:24 2014	(r360264)
@@ -0,0 +1,11 @@
+--- ../dbinc/mutex_int.h.orig	2010-04-12 13:25:22.000000000 -0700
++++ ../dbinc/mutex_int.h	2014-06-28 01:16:48.321255725 -0700
+@@ -596,7 +596,7 @@
+ 	 : "=&r" (__r), "+r" (tsl)
+ 	 :
+ 	 : "cr0", "memory");
+-	 return (int)tsl;
++	 return (tsl != 0);
+ }
+ 
+ static inline int

Modified: head/databases/db5/Makefile
==============================================================================
--- head/databases/db5/Makefile	Wed Jul  2 20:58:04 2014	(r360263)
+++ head/databases/db5/Makefile	Wed Jul  2 20:59:24 2014	(r360264)
@@ -3,6 +3,7 @@
 
 PORTNAME=	db5
 PORTVERSION=	5.3.28
+PORTREVISION=	1
 CATEGORIES=	databases java
 MASTER_SITES=	http://download.oracle.com/berkeley-db/
 PKGNAMEPREFIX?=

Added: head/databases/db5/files/patch-dbinc_mutex_int.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/db5/files/patch-dbinc_mutex_int.h	Wed Jul  2 20:59:24 2014	(r360264)
@@ -0,0 +1,11 @@
+--- ../src/dbinc/mutex_int.h.orig	2010-04-12 13:25:22.000000000 -0700
++++ ../src/dbinc/mutex_int.h	2014-06-28 01:16:48.321255725 -0700
+@@ -596,7 +596,7 @@
+ 	 : "=&r" (__r), "+r" (tsl)
+ 	 :
+ 	 : "cr0", "memory");
+-	 return (int)tsl;
++	 return (tsl != 0);
+ }
+ 
+ static inline int

Modified: head/databases/db6/Makefile
==============================================================================
--- head/databases/db6/Makefile	Wed Jul  2 20:58:04 2014	(r360263)
+++ head/databases/db6/Makefile	Wed Jul  2 20:59:24 2014	(r360264)
@@ -3,6 +3,7 @@
 
 PORTNAME=	db6
 PORTVERSION=	6.0.30
+PORTREVISION=	1
 CATEGORIES=	databases java
 MASTER_SITES=	http://download.oracle.com/berkeley-db/
 PKGNAMEPREFIX?=

Added: head/databases/db6/files/patch-dbinc_mutex_int.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/db6/files/patch-dbinc_mutex_int.h	Wed Jul  2 20:59:24 2014	(r360264)
@@ -0,0 +1,11 @@
+--- ../src/dbinc/mutex_int.h.orig	2010-04-12 13:25:22.000000000 -0700
++++ ../src/dbinc/mutex_int.h	2014-06-28 01:16:48.321255725 -0700
+@@ -596,7 +596,7 @@
+ 	 : "=&r" (__r), "+r" (tsl)
+ 	 :
+ 	 : "cr0", "memory");
+-	 return (int)tsl;
++	 return (tsl != 0);
+ }
+ 
+ static inline int


More information about the svn-ports-all mailing list