mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Fix crash by using POSIX mutexes on all armv6* ARCHes not just armv6.
This is to fix illegal-instruction crashes on armv6hf. PR: 205001 Submitted by: dave@dogwood.com Reviewed by: mikael.urankar@gmail.com MFH: 2015Q4
This commit is contained in:
parent
9eff735e9c
commit
4d3fb10844
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404013
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= db5
|
||||
PORTVERSION= 5.3.28
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= databases java
|
||||
MASTER_SITES= http://download.oracle.com/berkeley-db/
|
||||
PKGNAMEPREFIX?=
|
||||
@ -39,8 +39,9 @@ SQL_DESC= Enable SQL API (EXPERIMENTAL)
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == "aarch64" || ${ARCH} == "armv6"
|
||||
.if ${ARCH} == "aarch64" || ${ARCH:Marmv6*}
|
||||
# db5 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
|
||||
# also bug#205001
|
||||
CONFIGURE_ARGS+= --enable-posixmutexes
|
||||
.endif
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= db6
|
||||
PORTVERSION= 6.1.19
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases java
|
||||
MASTER_SITES= http://download.oracle.com/berkeley-db/
|
||||
PKGNAMEPREFIX?=
|
||||
@ -40,8 +41,9 @@ SQL_DESC= Enable SQL API (EXPERIMENTAL)
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == "aarch64" || ${ARCH} == "armv6"
|
||||
.if ${ARCH} == "aarch64" || ${ARCH:Marmv6*}
|
||||
# db6 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
|
||||
# and also bug #205001
|
||||
CONFIGURE_ARGS+= --enable-posixmutexes
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user