fix build on sparc64
ok ajacoutot
This commit is contained in:
parent
859f068437
commit
4587fb41ee
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2008/11/04 15:35:56 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2008/11/06 19:12:24 sturm Exp $
|
||||
|
||||
COMMENT= C++ class library for working with Internet mail
|
||||
|
||||
DISTNAME= libvmime-0.9.0
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= devel mail
|
||||
|
||||
SHARED_LIBS+= vmime 1.0 # .0.0
|
||||
|
12
devel/libvmime/patches/patch-vmime_utility_smartPtrInt_hpp
Normal file
12
devel/libvmime/patches/patch-vmime_utility_smartPtrInt_hpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-vmime_utility_smartPtrInt_hpp,v 1.1 2008/11/06 19:12:24 sturm Exp $
|
||||
--- vmime/utility/smartPtrInt.hpp.orig Wed Nov 5 10:40:02 2008
|
||||
+++ vmime/utility/smartPtrInt.hpp Wed Nov 5 10:40:18 2008
|
||||
@@ -53,7 +53,7 @@ class refCounter (private)
|
||||
#if defined(_WIN32)
|
||||
long m_value;
|
||||
#elif defined(__GNUC__) && (defined(__GLIBCPP__) || defined(__GLIBCXX__))
|
||||
- mutable volatile int m_value;
|
||||
+ mutable volatile _Atomic_word m_value;
|
||||
#elif defined (VMIME_HAVE_PTHREAD)
|
||||
volatile long m_value;
|
||||
pthread_mutex_t m_mutex;
|
Loading…
Reference in New Issue
Block a user