File numpy-1.9.0-remove-__declspec.patch of Package python-numpy

Date: 2014-09-09 04:45:00 +0000
Subject: Remove windows-specific function
Upstream: openSUSE Fix

__declspec(thread) is a windows-specific function that is causing
spurious compiler warnings.  These warnings can be safely ignored,
but are being falsely flagged as serious problems that cause the
build to fail.  Since this is windows-specific, it can be 
safely removed.

--- a/numpy/core/
+++ b/numpy/core/
@@ -163,7 +163,7 @@
 # variable attributes tested via "int %s a" % attribute
-OPTIONAL_VARIABLE_ATTRIBUTES = ["__thread", "__declspec(thread)"]
 # Subset of OPTIONAL_STDFUNCS which may alreay have HAVE_* defined by Python.h