Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 13:01:59 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        ports@freebsd.org
Subject:   patch problem with new port
Message-ID:  <7EA964ADB15B6C3F4E521554@utd59514.utdallas.edu>

next in thread | raw e-mail | index | archive | help
I need to create some patches for some ports I'm working on, but there's a 
problem.

Here's an example.  I need to change "wish" to "wish8.3":

This is an excerpt from the original file:
#!/bin/sh
# Run wish from users PATH \
exec wish "$0" "$@"

# $Id: sguil.tk,v 1.157 2004/12/06 21:18:21 bamm Exp $ #

####################################################################
# Sguil - A tcl/tk interface for network security monitoring       #
####################################################################

This is what I need:
#!/bin/sh
# Run wish from users PATH \
exec wish8.3 "$0" "$@"

# $Id: sguil.tk,v 1.157 2004/12/06 21:18:21 bamm Exp $ #

####################################################################
# Sguil - A tcl/tk interface for network security monitoring       #
####################################################################

The problem is, even if I use -C1 with diff, I *still* end up with the $Id 
line included in the patchfile, and that's illegal.  It will break the 
patch when the port is committed.

Is there a way around this problem?  I have several files that all need to 
be patched this way - both wish and tclsh are used in them.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7EA964ADB15B6C3F4E521554>