summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-06 22:11:02 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-06 22:11:02 +0000
commitc474465deabcc5d549698dfbbb4b8707bcbbcdaf (patch)
treebac74fe1ebc778fa86253f85094dd17516ad7e9b /dev-python/pycxx
parentDelete old patch. (diff)
downloadgentoo-2-c474465deabcc5d549698dfbbb4b8707bcbbcdaf.tar.gz
gentoo-2-c474465deabcc5d549698dfbbb4b8707bcbbcdaf.tar.bz2
gentoo-2-c474465deabcc5d549698dfbbb4b8707bcbbcdaf.zip
Delete old patch.
(Portage version: 14208-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pycxx')
-rw-r--r--dev-python/pycxx/files/pycxx-5.4.2-headers-c.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/dev-python/pycxx/files/pycxx-5.4.2-headers-c.patch b/dev-python/pycxx/files/pycxx-5.4.2-headers-c.patch
deleted file mode 100644
index 3acb9930570c..000000000000
--- a/dev-python/pycxx/files/pycxx-5.4.2-headers-c.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- pycxx-5.4.2.orig/setup.py
-+++ pycxx-5.4.2/setup.py
-@@ -3,7 +3,8 @@
- from distutils.command.install import install
- from distutils.core import setup
-
--headers = glob (os.path.join ("CXX","*.hxx"))
-+headers = glob (os.path.join ("CXX","*.hxx")) + \
-+ glob (os.path.join ("CXX","*.h"))
- sources = glob (os.path.join ("Src", "*.cxx")) + \
- glob (os.path.join ("Src", "*.c"))
-
---- pycxx-5.4.2.orig/CXX/WrapPython.h
-+++ pycxx-5.4.2/CXX/WrapPython.h
-@@ -1,3 +1,4 @@
-+/*
- //-----------------------------------------------------------------------------
- //
- // Copyright (c) 1998 - 2007, The Regents of the University of California
-@@ -34,16 +35,25 @@
- // DAMAGE.
- //
- //-----------------------------------------------------------------------------
-+*/
-
- #ifndef __PyCXX_wrap_python_hxx__
- #define __PyCXX_wrap_python_hxx__
-
--// On some platforms we have to include time.h to get select defined
-+/* On some platforms we have to include time.h to get select defined */
- #if !defined(__WIN32__) && !defined(WIN32) && !defined(_WIN32) && !defined(_WIN64)
- #include <sys/time.h>
- #endif
-
--// pull in python definitions
-+/* Prevent warnings */
-+#if defined(_XOPEN_SOURCE)
-+ #undef _XOPEN_SOURCE
-+#endif
-+#if defined(_POSIX_C_SOURCE)
-+ #undef _POSIX_C_SOURCE
-+#endif
-+
-+/* pull in python definitions */
- #include <Python.h>
-
- #endif
---- pycxx-5.4.2.orig/CXX/Objects.hxx
-+++ pycxx-5.4.2/CXX/Objects.hxx
-@@ -372,7 +372,7 @@
- // PyObject_SetItem is too weird to be using from C++
- // so it is intentionally omitted.
-
-- void delItem (const Object& key)
-+ void delItem (const Object& /*key*/)
- {
- //if(PyObject_DelItem(p, *key) == -1)
- // failed to link on Windows?