From owner-svn-ports-head@freebsd.org Fri Nov 13 08:27:50 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3415A2B17F; Fri, 13 Nov 2015 08:27:49 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8ABB17D6; Fri, 13 Nov 2015 08:27:49 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAD8RmFl091605; Fri, 13 Nov 2015 08:27:48 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAD8RmY0091604; Fri, 13 Nov 2015 08:27:48 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201511130827.tAD8RmY0091604@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 13 Nov 2015 08:27:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401485 - head/archivers/py-liblzma/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-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2015 08:27:50 -0000 Author: marino Date: Fri Nov 13 08:27:48 2015 New Revision: 401485 URL: https://svnweb.freebsd.org/changeset/ports/401485 Log: archivers/py-liblzma: Fix horrible malloc.h handling The source was including , then checking if system is FreeBSD (among a long list of system) in order to include again instead of , never minding that "opting-in" for a standard. Just patch out the whole macro mess, it's not needed and it fixes the build on a malloc.h-less DragonFly Approved by: just fix it Added: head/archivers/py-liblzma/files/patch-src_liblzma.h (contents, props changed) Added: head/archivers/py-liblzma/files/patch-src_liblzma.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/py-liblzma/files/patch-src_liblzma.h Fri Nov 13 08:27:48 2015 (r401485) @@ -0,0 +1,16 @@ +--- src/liblzma.h.orig 2010-02-20 23:07:31 UTC ++++ src/liblzma.h +@@ -8,13 +8,6 @@ + #include + #include + #include +-#if defined (__APPLE__) || defined(__FreeBSD__) || \ +- defined(__OpenBSD__) || defined(__NetBSD__) || \ +- defined (__sun) || defined (__svr4__) +-#include +-#else +-#include +-#endif + #include + #include + #if !defined(linux) && !defined(__sun) && !defined(__svr4__)