From owner-svn-ports-all@FreeBSD.ORG Sun Feb 3 11:43:27 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 236B4875; Sun, 3 Feb 2013 11:43:27 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id ECD32300; Sun, 3 Feb 2013 11:43:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r13BhQYG059556; Sun, 3 Feb 2013 11:43:26 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r13BhQjJ059555; Sun, 3 Feb 2013 11:43:26 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201302031143.r13BhQjJ059555@svn.freebsd.org> From: Chris Rees Date: Sun, 3 Feb 2013 11:43:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311456 - head/lang/python33/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2013 11:43:27 -0000 Author: crees Date: Sun Feb 3 11:43:26 2013 New Revision: 311456 URL: http://svnweb.freebsd.org/changeset/ports/311456 Log: Fix logic (should be defined to true integer, not false). While here, let's use patch from upstream so it obviously conflicts on the next update. Submitted by: koobs Obtained from: http://bugs.python.org/issue16753 Added: head/lang/python33/files/patch-Modules-_decimal-libmpdec-mpdecimal.h - copied, changed from r311454, head/lang/python33/files/patch-Modules-_decimal-libmpdec-io.c Deleted: head/lang/python33/files/patch-Modules-_decimal-libmpdec-io.c Copied and modified: head/lang/python33/files/patch-Modules-_decimal-libmpdec-mpdecimal.h (from r311454, head/lang/python33/files/patch-Modules-_decimal-libmpdec-io.c) ============================================================================== --- head/lang/python33/files/patch-Modules-_decimal-libmpdec-io.c Sun Feb 3 10:46:21 2013 (r311454, copy source) +++ head/lang/python33/files/patch-Modules-_decimal-libmpdec-mpdecimal.h Sun Feb 3 11:43:26 2013 (r311456) @@ -1,16 +1,21 @@ ---- 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 - #include + +# HG changeset patch +# User Stefan Krah +# Date 1356273741 -3600 +# Node ID f05d29353f0278b21295f44467d08bd57a9ae33f +# Parent e684b253fd9dd73495fcef89aad43ae9c42f975c +Issue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc). + +diff --git a/Modules/_decimal/libmpdec/mpdecimal.h b/Modules/_decimal/libmpdec/mpdecimal.h +--- Modules/_decimal/libmpdec/mpdecimal.h ++++ Modules/_decimal/libmpdec/mpdecimal.h +@@ -63,7 +63,7 @@ extern "C" { + #include + #endif + #ifndef __GNUC_STDC_INLINE__ +- #define __GNUC_STDC_INLINE__ ++ #define __GNUC_STDC_INLINE__ 1 + #endif + #if defined(__GNUC__) && !defined(__INTEL_COMPILER) + #define UNUSED __attribute__((unused)) +