From 55616452884dde0d4a58efaefc02c22e4860e8b2 Mon Sep 17 00:00:00 2001 From: perky Date: Fri, 26 Sep 2003 16:44:13 +0000 Subject: - Revive os.fsync function which is disabled by a typo of Python-2.3.1. - Bump PORTREVISION Obtained from: Python CVS --- lang/python/Makefile | 1 + lang/python/files/patch-configure | 17 +++++++++++++---- lang/python/files/patch-pyconfig.h.in | 11 +++++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 lang/python/files/patch-pyconfig.h.in (limited to 'lang/python') diff --git a/lang/python/Makefile b/lang/python/Makefile index 6abf5a004344..760b589fa0e0 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -7,6 +7,7 @@ PORTNAME= python PORTVERSION= 2.3.1 +PORTREVISION= 1 CATEGORIES= lang python ipv6 MASTER_SITES= ${MASTER_SITE_PYTHON} MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION} diff --git a/lang/python/files/patch-configure b/lang/python/files/patch-configure index c17e753795a5..60016879c44c 100644 --- a/lang/python/files/patch-configure +++ b/lang/python/files/patch-configure @@ -1,7 +1,7 @@ ---- configure.orig Sun Jul 13 18:46:13 2003 -+++ configure Sat Jul 19 15:21:09 2003 -@@ -3288,6 +3288,12 @@ - RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH +--- configure.orig Sun Sep 21 00:29:40 2003 ++++ configure Fri Sep 26 13:08:51 2003 +@@ -3596,6 +3596,12 @@ + RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} INSTSONAME="$LDLIBRARY".$SOVERSION ;; + FreeBSD*) @@ -13,3 +13,12 @@ hp*|HP*) LDLIBRARY='libpython$(VERSION).sl' BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)' +@@ -13384,7 +13390,7 @@ + (exit $ac_status); }; }; then + + cat >>confdefs.h <<\_ACEOF +-#define HAVE_SYNC 1 ++#define HAVE_FSYNC 1 + _ACEOF + + echo "$as_me:$LINENO: result: yes" >&5 diff --git a/lang/python/files/patch-pyconfig.h.in b/lang/python/files/patch-pyconfig.h.in new file mode 100644 index 000000000000..289f4dcafcad --- /dev/null +++ b/lang/python/files/patch-pyconfig.h.in @@ -0,0 +1,11 @@ +--- pyconfig.h.in.orig Fri Sep 26 13:09:17 2003 ++++ pyconfig.h.in Fri Sep 26 13:09:25 2003 +@@ -486,7 +486,7 @@ + #undef HAVE_SYMLINK + + /* Define if you have the 'fsync' function. */ +-#undef HAVE_SYNC ++#undef HAVE_FSYNC + + /* Define to 1 if you have the `sysconf' function. */ + #undef HAVE_SYSCONF -- cgit