[globus-common] - Updated pthread exception patch for better compatibility with boost's headers
Mattias Ellert
ellert at fedoraproject.org
Mon Sep 6 13:11:33 UTC 2010
commit b00c84f9b289eda029cbafd3635fde46d7e26760
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date: Mon Sep 6 15:10:37 2010 +0200
- Updated pthread exception patch for better compatibility with boost's headers
globus-common-no-pthread-exceptions.patch | 2 +-
globus-common.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/globus-common-no-pthread-exceptions.patch b/globus-common-no-pthread-exceptions.patch
index d6edd32..d783984 100644
--- a/globus-common-no-pthread-exceptions.patch
+++ b/globus-common-no-pthread-exceptions.patch
@@ -8,7 +8,7 @@ diff -ur globus-common-7.30.orig/library/globus_thread_pthreads.h globus-common-
+#if defined __GNUC__ && defined __EXCEPTIONS
+#undef __EXCEPTIONS
#include <pthread.h>
-+#define __EXCEPTIONS
++#define __EXCEPTIONS 1
+#else
+#include <pthread.h>
+#endif
diff --git a/globus-common.spec b/globus-common.spec
index 648de29..9315aea 100644
--- a/globus-common.spec
+++ b/globus-common.spec
@@ -10,7 +10,7 @@ Name: globus-common
%global _name %(tr - _ <<< %{name})
Version: 11.5
%global setupversion 2.6
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Globus Toolkit - Common Library
Group: System Environment/Libraries
@@ -379,6 +379,9 @@ rm -f config.log config.status
%dir %{_docdir}/%{name}-%{version}/html
%changelog
+* Mon Sep 06 2010 Mattias Ellert <mattias.ellert at fysast.uu.se> - 11.5-3
+- Updated pthread exception patch for better compatibility with boost's headers
+
* Sun Aug 08 2010 Mattias Ellert <mattias.ellert at fysast.uu.se> - 11.5-2
- Fix perl dependncies (use vs. require)
More information about the scm-commits
mailing list