summaryrefslogtreecommitdiff
path: root/lang/python33
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-02-02 13:32:45 +0000
committerChris Rees <crees@FreeBSD.org>2013-02-02 13:32:45 +0000
commit7b720b845f5f69861b5f93fdba44bcf520179869 (patch)
treef9abd53dce1c035d3aa619a9788b40ede51df489 /lang/python33
parent- PKGNAMEPREFIX must appear earlier for bsd.cabal.mk consumers otherwise (diff)
Fix package on 9.1-RELEASE
Notes
Notes: svn path=/head/; revision=311428
Diffstat (limited to 'lang/python33')
-rw-r--r--lang/python33/files/patch-Modules-_decimal-libmpdec-io.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/python33/files/patch-Modules-_decimal-libmpdec-io.c b/lang/python33/files/patch-Modules-_decimal-libmpdec-io.c
new file mode 100644
index 000000000000..42dd36a42227
--- /dev/null
+++ b/lang/python33/files/patch-Modules-_decimal-libmpdec-io.c
@@ -0,0 +1,16 @@
+--- Modules/_decimal/libmpdec/io.c.orig 2013-02-02 13:00:09.687048586 +0000
++++ Modules/_decimal/libmpdec/io.c 2013-02-02 13:29:21.722048769 +0000
+@@ -25,6 +25,13 @@
+ * SUCH DAMAGE.
+ */
+
++/* Work around bug in FreeBSD 9.1-RELEASE; fixed in r243331 */
++
++#ifndef __GNUC_STDC_INLINE__
++#define __GNUC_STDC_INLINE__ 0
++#endif
++
++
+ #include "mpdecimal.h"
+ #include <stdio.h>
+ #include <stdlib.h>