pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Avoid redefinition of redefinition of wchar_t and...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e0c4dfbb54e7
branches: trunk
changeset: 461323:e0c4dfbb54e7
user: recht <recht%pkgsrc.org@localhost>
date: Sun Sep 14 14:04:31 2003 +0000
description:
Avoid redefinition of redefinition of wchar_t and wint_ if
_XOPEN_SOURCE_EXTENDED is defined. This fixes py-curses on NetBSD > 1.6T.
Bumb PKGREVSION to 2, because of the header change.
diffstat:
lang/python23-pth/Makefile | 4 ++--
lang/python23-pth/distinfo | 3 ++-
lang/python23-pth/patches/patch-am | 26 ++++++++++++++++++++++++++
lang/python23/Makefile | 4 ++--
lang/python23/distinfo | 3 ++-
lang/python23/patches/patch-am | 26 ++++++++++++++++++++++++++
6 files changed, 60 insertions(+), 6 deletions(-)
diffs (123 lines):
diff -r d1ec4923bd28 -r e0c4dfbb54e7 lang/python23-pth/Makefile
--- a/lang/python23-pth/Makefile Sun Sep 14 11:58:43 2003 +0000
+++ b/lang/python23-pth/Makefile Sun Sep 14 14:04:31 2003 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2003/09/10 00:11:04 recht Exp $
+# $NetBSD: Makefile,v 1.7 2003/09/14 14:04:32 recht Exp $
#
DISTNAME= Python-2.3
PKGNAME= python23-pth-2.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.python.org/pub/python/2.3/
EXTRACT_SUFX= .tgz
diff -r d1ec4923bd28 -r e0c4dfbb54e7 lang/python23-pth/distinfo
--- a/lang/python23-pth/distinfo Sun Sep 14 11:58:43 2003 +0000
+++ b/lang/python23-pth/distinfo Sun Sep 14 14:04:31 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2003/09/10 00:11:04 recht Exp $
+$NetBSD: distinfo,v 1.7 2003/09/14 14:04:32 recht Exp $
SHA1 (Python-2.3.tgz) = ce5fbde09be17ea5dddd4baa62d2b90e06e7e5c1
Size (Python-2.3.tgz) = 8436880 bytes
@@ -10,6 +10,7 @@
SHA1 (patch-aj) = e2291bde6a59fc0441bc7c87c0946b7f5601aa5c
SHA1 (patch-ak) = 341e7dd750e46463f6174676e06fd3a847efd311
SHA1 (patch-al) = 5614ef46970b5eea2bfdcfc64d1018aa0f4a6e85
+SHA1 (patch-am) = 20235b2febbc2811ca5f9b54958a4064722431ed
SHA1 (patch-ba) = 9be4490e38c895dfc5041af1889ca7ab1c6d8bd9
SHA1 (patch-bb) = 1390c5f0bcd75f5f3f1b9949921b555e1021954f
SHA1 (patch-bc) = 0a83a90aea8a1414b43fa3506912ab09aafbc3c0
diff -r d1ec4923bd28 -r e0c4dfbb54e7 lang/python23-pth/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python23-pth/patches/patch-am Sun Sep 14 14:04:31 2003 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-am,v 1.1 2003/09/14 14:04:32 recht Exp $
+
+--- Include/py_curses.h.orig 2003-09-14 13:55:07.000000000 +0200
++++ Include/py_curses.h 2003-09-14 14:10:49.000000000 +0200
+@@ -39,6 +39,21 @@
+ #endif
+ #endif
+
++#ifdef __NetBSD__
++/*
++** On NetBSD, [n]curses.h and stdlib.h/wchar.h use different guards
++** against multiple definition of wchar_t and wint_t.
++*/
++#ifdef _XOPEN_SOURCE_EXTENDED
++#ifndef _WCHAR_T
++#define _WCHAR_T
++#endif
++#ifndef _WINT_T
++#define _WINT_T
++#endif
++#endif
++#endif
++
+ #ifdef HAVE_NCURSES_H
+ #include <ncurses.h>
+ #else
diff -r d1ec4923bd28 -r e0c4dfbb54e7 lang/python23/Makefile
--- a/lang/python23/Makefile Sun Sep 14 11:58:43 2003 +0000
+++ b/lang/python23/Makefile Sun Sep 14 14:04:31 2003 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2003/09/10 00:11:03 recht Exp $
+# $NetBSD: Makefile,v 1.7 2003/09/14 14:04:31 recht Exp $
#
DISTNAME= Python-2.3
PKGNAME= python23-2.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.python.org/pub/python/2.3/
EXTRACT_SUFX= .tgz
diff -r d1ec4923bd28 -r e0c4dfbb54e7 lang/python23/distinfo
--- a/lang/python23/distinfo Sun Sep 14 11:58:43 2003 +0000
+++ b/lang/python23/distinfo Sun Sep 14 14:04:31 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2003/09/10 00:11:03 recht Exp $
+$NetBSD: distinfo,v 1.7 2003/09/14 14:04:31 recht Exp $
SHA1 (Python-2.3.tgz) = ce5fbde09be17ea5dddd4baa62d2b90e06e7e5c1
Size (Python-2.3.tgz) = 8436880 bytes
@@ -7,5 +7,6 @@
SHA1 (patch-ai) = 75d30db64343afcf2f0bcfe8e73dc9948acb237e
SHA1 (patch-aj) = 1e3ce4072e90cb7be6d0a5539ec213b56518dcc7
SHA1 (patch-al) = 5614ef46970b5eea2bfdcfc64d1018aa0f4a6e85
+SHA1 (patch-am) = 20235b2febbc2811ca5f9b54958a4064722431ed
SHA1 (patch-bb) = 1390c5f0bcd75f5f3f1b9949921b555e1021954f
SHA1 (patch-bc) = 0a83a90aea8a1414b43fa3506912ab09aafbc3c0
diff -r d1ec4923bd28 -r e0c4dfbb54e7 lang/python23/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python23/patches/patch-am Sun Sep 14 14:04:31 2003 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-am,v 1.1 2003/09/14 14:04:31 recht Exp $
+
+--- Include/py_curses.h.orig 2003-09-14 13:55:07.000000000 +0200
++++ Include/py_curses.h 2003-09-14 14:10:49.000000000 +0200
+@@ -39,6 +39,21 @@
+ #endif
+ #endif
+
++#ifdef __NetBSD__
++/*
++** On NetBSD, [n]curses.h and stdlib.h/wchar.h use different guards
++** against multiple definition of wchar_t and wint_t.
++*/
++#ifdef _XOPEN_SOURCE_EXTENDED
++#ifndef _WCHAR_T
++#define _WCHAR_T
++#endif
++#ifndef _WINT_T
++#define _WINT_T
++#endif
++#endif
++#endif
++
+ #ifdef HAVE_NCURSES_H
+ #include <ncurses.h>
+ #else
Home |
Main Index |
Thread Index |
Old Index