diff options
author | trasz <trasz@FreeBSD.org> | 2007-06-18 05:43:29 +0800 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2007-06-18 05:43:29 +0800 |
commit | 07b3dcf27c98c808772b0d6710debed5e1a7c233 (patch) | |
tree | f8a609b01cc27921dbda3b2b8905bd8499b23e6c /sysutils | |
parent | a9d6698df2bab0fad7b555b2246b643d44a86376 (diff) | |
download | freebsd-ports-gnome-07b3dcf27c98c808772b0d6710debed5e1a7c233.tar.gz freebsd-ports-gnome-07b3dcf27c98c808772b0d6710debed5e1a7c233.tar.zst freebsd-ports-gnome-07b3dcf27c98c808772b0d6710debed5e1a7c233.zip |
- Fix buld with gcc42.
Submitted by: pointyhat via kris
Approved by: miwi (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fusefs-encfs/files/patch-encfs-PtrImpl.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/fusefs-encfs/files/patch-encfs-PtrImpl.h b/sysutils/fusefs-encfs/files/patch-encfs-PtrImpl.h index 38713cc2933d..5ae806b7cd6c 100644 --- a/sysutils/fusefs-encfs/files/patch-encfs-PtrImpl.h +++ b/sysutils/fusefs-encfs/files/patch-encfs-PtrImpl.h @@ -1,12 +1,16 @@ ---- encfs/PtrImpl.h.orig Fri Apr 15 11:34:22 2005 -+++ encfs/PtrImpl.h Thu Jan 18 22:34:52 2007 -@@ -26,6 +26,16 @@ +--- encfs/PtrImpl.h.orig Wed Feb 14 22:36:56 2007 ++++ encfs/PtrImpl.h Thu Jun 14 18:04:10 2007 +@@ -26,6 +26,20 @@ #include "OpaqueValue.h" +#include "config.h" +#if defined(HAVE_ATOMIC_GCC) || defined(HAVE_ATOMIC_GCC_PRIVATE) ++#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2) ++#include <ext/atomicity.h> ++#else +#include <bits/atomicity.h> ++#endif +#define HAVE_ATOMIC_FUNCS +#endif + @@ -17,7 +21,7 @@ namespace rel { -@@ -55,7 +65,12 @@ +@@ -55,7 +69,12 @@ virtual void destroy() =0; protected: |