From owner-freebsd-python@FreeBSD.ORG Mon Oct 20 14:54:19 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC98773E; Mon, 20 Oct 2014 14:54:19 +0000 (UTC) Received: from smtpout7.timeweb.ru (smtpout7.timeweb.ru [92.53.117.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62EBF657; Mon, 20 Oct 2014 14:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=amdmi3.ru; s=dkim; h=Date:Message-Id:Cc:From:Subject:To; bh=TkmSQ/9wBCOA7KaCHH0t+GZSojONmhazlA3cPnFn878=; b=htLQ9NFrBYKjWCmLHw1ssc6m8D0G9AUCd6rgrI3xtIxf+3/4gNwEDeZcZF0zOBwiiEg9pz7UCvWdoe3ZLx4YaWt8d/lFiyTKDp/3EYwom7ZmYjEBblxMS0MzV6KjzFvifA8mIqm7A/lrek4OptjdecgNEOetVPVnZ5rKzc7NE5U=; Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XgELX-0002O7-Pt; Mon, 20 Oct 2014 18:54:07 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 35BE7327; Mon, 20 Oct 2014 18:54:07 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 2305F129F8; Mon, 20 Oct 2014 18:54:07 +0400 (MSK) To: FreeBSD-gnats-submit@FreeBSD.org Subject: [PATCH] devel/py-freebsd: fix build on HEAD From: Dmitry Marakasov X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20141020145407.2305F129F8@hades.panopticon> Date: Mon, 20 Oct 2014 18:54:07 +0400 (MSK) Cc: python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 14:54:19 -0000 >Submitter-Id: current-users >Originator: Dmitry Marakasov >Organization: >Confidential: no >Synopsis: [PATCH] devel/py-freebsd: fix build on HEAD >Severity: serious >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 10.1-BETA2 amd64 >Environment: System: FreeBSD hades.panopticon 10.1-BETA2 FreeBSD 10.1-BETA2 #0 r271992: Tue Sep 23 00:12:47 MSK >Description: - Fix build on HEAD: remove support for IFF_SMART flag which was removed - Switch to USES=python Port maintainer (python@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- py-freebsd-0.9.3.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 371272) +++ Makefile (working copy) @@ -14,9 +14,8 @@ MAINTAINER= python@FreeBSD.org COMMENT= Python interface to FreeBSD-specific system libraries -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include @@ -28,5 +27,9 @@ .if ${OSVERSION} >= 900030 EXTRA_PATCHES+= ${FILESDIR}/freebsd9_patch-src-sysctl.c .endif +.if ${OSVERSION} >= 1100002 +EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \ + ${FILESDIR}/freebsd11_patch-src__netstat.c +.endif .include Index: files/freebsd11_patch-src__.const.def =================================================================== --- files/freebsd11_patch-src__.const.def (revision 0) +++ files/freebsd11_patch-src__.const.def (working copy) @@ -0,0 +1,10 @@ +--- src/.const.def.orig 2005-12-09 06:40:56.000000000 +0300 ++++ src/.const.def 2014-10-18 00:25:38.000000000 +0400 +@@ -69,7 +69,6 @@ + SETDICT_INT(d, "IFF_DEBUG", IFF_DEBUG); + SETDICT_INT(d, "IFF_LOOPBACK", IFF_LOOPBACK); + SETDICT_INT(d, "IFF_POINTOPOINT", IFF_POINTOPOINT); +-SETDICT_INT(d, "IFF_SMART", IFF_SMART); + SETDICT_INT(d, "IFF_RUNNING", IFF_RUNNING); + SETDICT_INT(d, "IFF_NOARP", IFF_NOARP); + SETDICT_INT(d, "IFF_PROMISC", IFF_PROMISC); Property changes on: files/freebsd11_patch-src__.const.def ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: files/freebsd11_patch-src__netstat.c =================================================================== --- files/freebsd11_patch-src__netstat.c (revision 0) +++ files/freebsd11_patch-src__netstat.c (working copy) @@ -0,0 +1,10 @@ +--- src/netstat.c.orig 2005-05-08 10:55:00.000000000 +0400 ++++ src/netstat.c 2014-10-18 00:25:23.000000000 +0400 +@@ -40,7 +40,6 @@ + EXPCONST(int IFF_DEBUG) + EXPCONST(int IFF_LOOPBACK) + EXPCONST(int IFF_POINTOPOINT) +-EXPCONST(int IFF_SMART) + EXPCONST(int IFF_RUNNING) + EXPCONST(int IFF_NOARP) + EXPCONST(int IFF_PROMISC) Property changes on: files/freebsd11_patch-src__netstat.c ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property --- py-freebsd-0.9.3.patch ends here ---