From nobody@FreeBSD.org  Wed Sep 29 19:07:26 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B338616A4CF
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Sep 2004 19:07:26 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 90FA243D46
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Sep 2004 19:07:26 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8TJ7QPa016862
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Sep 2004 19:07:26 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i8TJ7QkP016861;
	Wed, 29 Sep 2004 19:07:26 GMT
	(envelope-from nobody)
Message-Id: <200409291907.i8TJ7QkP016861@www.freebsd.org>
Date: Wed, 29 Sep 2004 19:07:26 GMT
From: Andreas Hauser <andy-freebsd@splashground.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fix bsd.port.mk for different semantics of -b in BSD and GNU diff
X-Send-Pr-Version: www-2.3

>Number:         72182
>Category:       ports
>Synopsis:       fix bsd.port.mk for different semantics of -b in BSD and GNU diff
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 29 19:10:27 GMT 2004
>Closed-Date:    Fri Nov 19 13:49:50 GMT 2004
>Last-Modified:  Fri Nov 19 13:49:50 GMT 2004
>Originator:     Andreas Hauser
>Release:        
>Organization:
Splashground
>Environment:
>Description:
BSD and GNU diff have different semantics for the -b switch.
Using --suffix is the same on both.
The patch at
http://ftp.fortunaty.net/DragonFly/inofficial/patches/Mk::bsd.port.mk-patch-suffix.patch
does that and thus make bsd patch work for ports.
>How-To-Repeat:
do make in a port that has patches in files/ with BSD patch as patch programm
>Fix:
http://ftp.fortunaty.net/DragonFly/inofficial/patches/Mk::bsd.port.mk-patch-suffix.patch
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Sep 30 03:27:04 GMT 2004 
Responsible-Changed-Why:  
bsd.*.mk-related. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72182 
State-Changed-From-To: open->feedback 
State-Changed-By: krion 
State-Changed-When: Fri Nov 5 15:56:50 GMT 2004 
State-Changed-Why:  
Asked for more information. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72182 

From: Kirill Ponomarew <krion@voodoo.oberon.net>
To: Andreas Hauser <andy-freebsd@splashground.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/72182: fix bsd.port.mk for different semantics of -b in BSD and GNU diff
Date: Fri, 5 Nov 2004 16:56:18 +0100

 Hi,
 
 On Wed, Sep 29, 2004 at 07:07:26PM +0000, Andreas Hauser wrote:
 > BSD and GNU diff have different semantics for the -b switch.
 > Using --suffix is the same on both.
 > The patch at
 > http://ftp.fortunaty.net/DragonFly/inofficial/patches/Mk::bsd.port.mk-patch-suffix.patch
 > does that and thus make bsd patch work for ports.
 
 Huh ?  FreeBSD has GNU patch(1), we don't have BSD patch(1).  AFAIR
 OpenBSD has BSD patch or ?  If yes, I doubt it supports long options
 like --suffix, could you please provide more information ?
 
 -Kirill

From: Andreas Hauser <andy@splashground.de>
To: Kirill Ponomarew <krion@voodoo.oberon.net>
Cc: <freebsd-gnats-submit@FreeBSD.org>,
	Andreas Hauser <andy-freebsd@splashground.de>
Subject: Re: ports/72182: fix bsd.port.mk for different semantics of -b in BSD and GNU diff
Date: 5 Nov 2004 20:44:54 -0000

 krion wrote @ Fri, 5 Nov 2004 16:56:18 +0100:
 > Hi,
 
 Hoi,
 
 > On Wed, Sep 29, 2004 at 07:07:26PM +0000, Andreas Hauser wrote:
 > > BSD and GNU diff have different semantics for the -b switch.
 > > Using --suffix is the same on both.
 > > The patch at
 > > http://ftp.fortunaty.net/DragonFly/inofficial/patches/Mk::bsd.port.mk-patch-suffix.patch
 > > does that and thus make bsd patch work for ports.
 > 
 > Huh ?  FreeBSD has GNU patch(1), we don't have BSD patch(1).  AFAIR
 > OpenBSD has BSD patch or ?  If yes, I doubt it supports long options
 > like --suffix, could you please provide more information ?
 
 Well, some of us try to avoid GNU software.
 
 OpenBSD patch does support --suffix, see
 http://www.freebsd.org/cgi/man.cgi?query=patch&apropos=0&sektion=0&manpath=OpenBSD+3.4&format=html
 
 And for explanation why -b is brocken beyond repair, see the RATIONALE part of:
 http://www.opengroup.org/onlinepubs/009695399/utilities/patch.html
 
 Also consider that FreeBSD might change to BSD patch at some point.
 
 
 Thx,
 Andy

From: Kirill Ponomarew <krion@voodoo.oberon.net>
To: Andreas Hauser <andy@splashground.de>
Cc: freebsd-gnats-submit@FreeBSD.org,
	Andreas Hauser <andy-freebsd@splashground.de>
Subject: Re: ports/72182: fix bsd.port.mk for different semantics of -b in BSD and GNU diff
Date: Sat, 6 Nov 2004 17:46:10 +0100

 --UugvWAfsgieZRqgk
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hi,
 
 On Fri, Nov 05, 2004 at 08:44:54PM -0000, Andreas Hauser wrote:
 > > Huh ?  FreeBSD has GNU patch(1), we don't have BSD patch(1).  AFAIR
 > > OpenBSD has BSD patch or ?  If yes, I doubt it supports long options
 > > like --suffix, could you please provide more information ?
 >=20
 > Well, some of us try to avoid GNU software.
 >=20
 > OpenBSD patch does support --suffix, see
 > http://www.freebsd.org/cgi/man.cgi?query=3Dpatch&apropos=3D0&sektion=3D0&=
 manpath=3DOpenBSD+3.4&format=3Dhtml
 >=20
 > And for explanation why -b is brocken beyond repair, see the RATIONALE pa=
 rt of:
 > http://www.opengroup.org/onlinepubs/009695399/utilities/patch.html
 >=20
 > Also consider that FreeBSD might change to BSD patch at some point.
 
 Well, IMHO as long as BSD patch(1) does not exist in HEAD, this
 patch is quite meaningless for us.
 
 -Kirill
 
 --UugvWAfsgieZRqgk
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (FreeBSD)
 
 iD8DBQFBjP/SQC1G6a60JuURAltQAJkBBHur/r+5UBuvFp07vBUNPQCbAwCg5zp5
 Vfxc3S5n3tIRpvgeXU7eKU8=
 =8hGA
 -----END PGP SIGNATURE-----
 
 --UugvWAfsgieZRqgk--

From: Andreas Hauser <andy@splashground.de>
To: Kirill Ponomarew <krion@voodoo.oberon.net>
Cc: <freebsd-gnats-submit@FreeBSD.org>
Subject: Re: ports/72182: fix bsd.port.mk for different semantics of -b in BSD and GNU diff
Date: 6 Nov 2004 19:04:54 -0000

 krion wrote @ Sat, 6 Nov 2004 17:46:10 +0100:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > 
 > Hi,
 > 
 > On Fri, Nov 05, 2004 at 08:44:54PM -0000, Andreas Hauser wrote:
 > > > Huh ?  FreeBSD has GNU patch(1), we don't have BSD patch(1).  AFAIR
 > > > OpenBSD has BSD patch or ?  If yes, I doubt it supports long options
 > > > like --suffix, could you please provide more information ?
 > > 
 > > Well, some of us try to avoid GNU software.
 > > 
 > > OpenBSD patch does support --suffix, see
 > > http://www.freebsd.org/cgi/man.cgi?query=patch&apropos=0&sektion=0&manpath=OpenBSD+3.4&format=html
 > > 
 > > And for explanation why -b is brocken beyond repair, see the RATIONALE part of:
 > > http://www.opengroup.org/onlinepubs/009695399/utilities/patch.html
 > > 
 > > Also consider that FreeBSD might change to BSD patch at some point.
 > 
 > Well, IMHO as long as BSD patch(1) does not exist in HEAD, this
 > patch is quite meaningless for us.
 
 It does not hurt you either and makes ports more portable.
 Why not just apply it and help those who need it ?
 And why assume, we are not part of "us"?
 
 
 Andy
State-Changed-From-To: feedback->closed 
State-Changed-By: krion 
State-Changed-When: Fri Nov 19 13:49:44 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72182 
>Unformatted:
