mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Fix mutex code on powerpc64.
PR: 191453 Submitted by: jhibbits@
This commit is contained in:
parent
2fd54788f8
commit
eeaaf77bc5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360264
@ -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?=
|
||||
|
11
databases/db48/files/patch-dbinc_mutex_int.h
Normal file
11
databases/db48/files/patch-dbinc_mutex_int.h
Normal file
@ -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
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= db5
|
||||
PORTVERSION= 5.3.28
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases java
|
||||
MASTER_SITES= http://download.oracle.com/berkeley-db/
|
||||
PKGNAMEPREFIX?=
|
||||
|
11
databases/db5/files/patch-dbinc_mutex_int.h
Normal file
11
databases/db5/files/patch-dbinc_mutex_int.h
Normal file
@ -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
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= db6
|
||||
PORTVERSION= 6.0.30
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases java
|
||||
MASTER_SITES= http://download.oracle.com/berkeley-db/
|
||||
PKGNAMEPREFIX?=
|
||||
|
11
databases/db6/files/patch-dbinc_mutex_int.h
Normal file
11
databases/db6/files/patch-dbinc_mutex_int.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user