aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-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>