From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 19:49:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25340106564A for ; Mon, 19 Apr 2010 19:49:25 +0000 (UTC) (envelope-from prvs=0718cc3a79=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 99FAC8FC15 for ; Mon, 19 Apr 2010 19:49:24 +0000 (UTC) Received: (qmail 748 invoked from network); 19 Apr 2010 19:49:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent:cleverness; s=k1004; bh=SoB4zpI7oX9p7QSXZbSQKiRAfOG6Fc4hOlaf0myMbE8=; b=kmhRzsT9Qr/9vXzIr/Uq716ivFNEwfPEVO4pbugmf+mr0ricx9WoqTIrRkG2igkR06Vp+VPSa8SgNjMjFKkyqIoUHGndgY8TvUQKBBWWNq+I+nuPnfxv/Z53rN9QimEre/JEdFPrfu73h0Qw+MyS/OMbJz5wBDMCGlSE2CvzC68= Received: (ofmipd 64.57.183.62) with (DHE-RSA-AES256-SHA encrypted) SMTP; 19 Apr 2010 19:49:01 -0000 Date: 19 Apr 2010 15:49:22 -0400 Message-ID: From: "John R. Levine" To: "Joe Auty" In-Reply-To: <4BCCAE5E.2060407@netmusician.org> References: <20100419185300.55218.qmail@joyce.lan> <4BCCAA33.5040500@FreeBSD.org> <4BCCAE5E.2060407@netmusician.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Cleverness: None detected MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: glarkin@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: Questions about port revision numbers, portsnap, csup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2010 19:49:25 -0000 >>>> fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff >>>> patch < pecl-APC-3.1.3p1.diff >>> Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I >>> edited the patch to be www/ rather than devel/ at which point the >>> patch applied but make failed due to one of the other patches: >> >> Hi John, >> >> Sorry about that bit - I'll check my local development environment. >> >>> ===> Patching for pecl-APC-3.1.3.p1 >>> ===> Applying FreeBSD patches for pecl-APC-3.1.3.p1 >>> 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej >>> => Patch patch-apc_sem.c failed to apply cleanly. >>> *** Error code 1 >> >> Please run the other commands in my email to move those now-obsolete >> patch files out of the way: >> >> mkdir /usr/ports/devel/pecl-APC/files/save-patches >> mv /usr/ports/devel/pecl-APC/files/patch-* \ >> /usr/ports/devel/pecl-APC/files/save-patches Again, I had to change /devel to /www, but having done that, it compiled and installed. Based on 30 seconds of testing, the mediawiki stuff that used to crash now seems to work, phpinfo confirms that apc 3.1.3p1 is active. Adjust the paths and ship it, it's vastly better than the status quo. R's, John PS: Thanks!