From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 9 02:00:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C40816A421 for ; Tue, 9 Oct 2007 02:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5CF2913C45D for ; Tue, 9 Oct 2007 02:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l99203aI037032 for ; Tue, 9 Oct 2007 02:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l99203Ib037031; Tue, 9 Oct 2007 02:00:03 GMT (envelope-from gnats) Resent-Date: Tue, 9 Oct 2007 02:00:03 GMT Resent-Message-Id: <200710090200.l99203Ib037031@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Raaf Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1297816A41A for ; Tue, 9 Oct 2007 01:54:52 +0000 (UTC) (envelope-from raaf@zen.mooo.com) Received: from smtp-3.orange.nl (smtp-3.orange.nl [193.252.22.243]) by mx1.freebsd.org (Postfix) with ESMTP id A470213C467 for ; Tue, 9 Oct 2007 01:54:51 +0000 (UTC) (envelope-from raaf@zen.mooo.com) Received: from smtp-3.orange.nl (mwinf6207 [10.232.1.37]) by mwinf6205.orange.nl (SMTP Server) with ESMTP id 083441C1A13E for ; Tue, 9 Oct 2007 03:27:28 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6207.orange.nl (SMTP Server) with ESMTP id 0118D1C00084 for ; Tue, 9 Oct 2007 03:27:26 +0200 (CEST) Received: from zen.mooo.com (s559292f8.adsl.wanadoo.nl [85.146.146.248]) by mwinf6207.orange.nl (SMTP Server) with ESMTP id DDEEE1C00083 for ; Tue, 9 Oct 2007 03:27:23 +0200 (CEST) Received: by zen.mooo.com (Postfix, from userid 1001) id 59E3A28; Tue, 9 Oct 2007 03:27:23 +0200 (CEST) Message-Id: <20071009012723.59E3A28@zen.mooo.com> Date: Tue, 9 Oct 2007 03:27:23 +0200 (CEST) From: Raaf To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/117033: [patch] Fix build of net/pppoa on current X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Raaf List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2007 02:00:03 -0000 >Number: 117033 >Category: ports >Synopsis: [patch] Fix build of net/pppoa on current >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 09 02:00:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Raaf >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD zen.mooo.com 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Mon Oct 8 06:17:41 CEST 2007 raaf@zen.mooo.com:/usr/obj/usr/src/sys/RANI i386 >Description: The net/pppoa port is broken on current. Attached patch fixes it. Files removed: files/patch-aa Files added: files/patch-src_modem_run.c >How-To-Repeat: >Fix: --- patch-pppoa begins here --- diff -ruN /usr/ports/net/pppoa.bak/Makefile /usr/ports/net/pppoa/Makefile --- /usr/ports/net/pppoa.bak/Makefile 2007-10-08 23:42:06.000000000 +0200 +++ /usr/ports/net/pppoa/Makefile 2007-10-09 02:29:44.000000000 +0200 @@ -32,9 +32,6 @@ .include -.if ${OSVERSION} >= 700000 -BROKEN= Does not build on FreeBSD >= 7.0 -.endif post-extract: @${TAR} -zxf ${DISTDIR}/${ALCATELDRIVER} -C ${WRKSRC} diff -ruN /usr/ports/net/pppoa.bak/files/patch-aa /usr/ports/net/pppoa/files/patch-aa --- /usr/ports/net/pppoa.bak/files/patch-aa 2007-10-08 23:27:28.000000000 +0200 +++ /usr/ports/net/pppoa/files/patch-aa 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ ---- configure.in.orig Mon Dec 27 22:22:11 2004 -+++ configure.in Mon Dec 27 22:21:45 2004 -@@ -98,7 +98,7 @@ - PUSB_SOURCE="pusb-bsd.c" - AC_DEFINE(FREEBSD) - ;; -- *-freebsd5*) -+ *-freebsd[56]*) - st_compile="modem_run pppoa2 pppoa3" - THREAD_LIBS="-lkse" - AC_CHECK_HEADER(semaphore.h, , [AC_MSG_WARN([Missing header file, pppoa3 won't be compiled]); st_compile="modem_run pppoa2"]) diff -ruN /usr/ports/net/pppoa.bak/files/patch-ab /usr/ports/net/pppoa/files/patch-ab --- /usr/ports/net/pppoa.bak/files/patch-ab 2007-10-08 23:27:53.000000000 +0200 +++ /usr/ports/net/pppoa/files/patch-ab 2007-10-09 02:30:50.000000000 +0200 @@ -5,7 +5,7 @@ ;; - *-freebsd5*) -+ *-freebsd[56]*) ++ *-freebsd[567]*) st_compile="modem_run pppoa2 pppoa3" THREAD_LIBS="-pthread" if test "${ac_cv_header_semaphore_h+set}" = set; then diff -ruN /usr/ports/net/pppoa.bak/files/patch-src_modem_run.c /usr/ports/net/pppoa/files/patch-src_modem_run.c --- /usr/ports/net/pppoa.bak/files/patch-src_modem_run.c 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/net/pppoa/files/patch-src_modem_run.c 2007-10-09 02:42:15.000000000 +0200 @@ -0,0 +1,11 @@ +--- src/modem_run.c.orig 2007-10-09 02:38:11.000000000 +0200 ++++ src/modem_run.c 2007-10-09 02:38:24.000000000 +0200 +@@ -91,7 +91,7 @@ + * Global variables + ******************************************************************************/ + +-static int verbose = 0; ++int verbose = 0; + FILE *flog = NULL; + + /***************************************************************************** --- patch-pppoa ends here --- >Release-Note: >Audit-Trail: >Unformatted: