Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Kurt Buff
I really should learn to hit reply-all on these lists...

Kurt


On Wed, May 27, 2009 at 08:54, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:

 I've gotten a patch for a program in the ports tree from one of the
 authors of the program - not the port maintainer - to fix a small
 problem, but don't know how to install the updated port.

 i think it's best to add your patch to /usr/ports/blah/blah/files

 with name patch-something

 look at existing as an example

That didn't seem to work.

However, I've deleted the work directory after placing patch as you
suggested, and am watching 'make' do its thing - after starting script
to record the session.

I should be able to examine that and see if it does as you think.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Wojciech Puchar

with name patch-something

look at existing as an example


That didn't seem to work.


what exactly doesn't? could you please post error messages?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Kurt Buff
On Wed, May 27, 2009 at 09:23, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 with name patch-something

 look at existing as an example

 That didn't seem to work.

 what exactly doesn't? could you please post error messages?

There were no error messages.

Then, being the incredibly brilliant person I am, I tried again, this
time after taking the blindingly obvious step of deleting the 'work'
directory.

This seems to be a key part of the process.

The patch doesn't install correctly, as the make process generates the
following:

 HttpHeader.cc:127: error: 'ftSTr' was not declared in this scope
 *** Error code 1

and halts after a few more errors, but at least that indicates that
*something* is happening with the patch file.

This smells like progress.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Wojciech Puchar

time after taking the blindingly obvious step of deleting the 'work'
directory.

This seems to be a key part of the process.

The patch doesn't install correctly, as the make process generates the


it installs correctly for sure :) as you don't see errors


following:

HttpHeader.cc:127: error: 'ftSTr' was not declared in this scope
*** Error code 1

and halts after a few more errors, but at least that indicates that
*something* is happening with the patch file.

This smells like progress.


just patch a patch :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Kurt Buff
On Wed, May 27, 2009 at 09:41, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 time after taking the blindingly obvious step of deleting the 'work'
 directory.

 This seems to be a key part of the process.

 The patch doesn't install correctly, as the make process generates the

 it installs correctly for sure :) as you don't see errors


Heh. Well, to be exact, yes, the patch installs without error.
However, it breaks the program install.


 following:

    HttpHeader.cc:127: error: 'ftSTr' was not declared in this scope
    *** Error code 1

 and halts after a few more errors, but at least that indicates that
 *something* is happening with the patch file.

 This smells like progress.

 just patch a patch :)


I'm working with the author on that...

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Steve Bertrand
Kurt Buff wrote:
 On Wed, May 27, 2009 at 09:23, Wojciech Puchar
 woj...@wojtek.tensor.gdynia.pl wrote:
 with name patch-something

 look at existing as an example
 That didn't seem to work.
 what exactly doesn't? could you please post error messages?
 
 There were no error messages.
 
 Then, being the incredibly brilliant person I am, I tried again, this
 time after taking the blindingly obvious step of deleting the 'work'
 directory.
 
 This seems to be a key part of the process.
 
 The patch doesn't install correctly, as the make process generates the
 following:
 
  HttpHeader.cc:127: error: 'ftSTr' was not declared in this scope
  *** Error code 1
 
 and halts after a few more errors, but at least that indicates that
 *something* is happening with the patch file.
 
 This smells like progress.

Can you post the patch, and I'll test it out here? (Forgive me if you've
done this and I missed it).

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Kurt Buff
On Wed, May 27, 2009 at 09:51, Steve Bertrand st...@ibctech.ca wrote:
 Can you post the patch, and I'll test it out here? (Forgive me if you've
 done this and I missed it).

 Steve


Sent off-list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Steve Bertrand
Kurt Buff wrote:
 On Wed, May 27, 2009 at 09:51, Steve Bertrand st...@ibctech.ca wrote:
 Can you post the patch, and I'll test it out here? (Forgive me if you've
 done this and I missed it).

 Steve

 
 Sent off-list.

Ok, got it.

I'm pretty much taking an easy day today to recover my broken -STABLE
ZFS system, so while I'm in discussion/learning about ZFS recovery in
regards to that problem, I'll give the patch a try on a couple of VMs
and see if I can help.

Steve



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Steve Bertrand
Kurt Buff wrote:
 On Wed, May 27, 2009 at 09:51, Steve Bertrand st...@ibctech.ca wrote:
 Can you post the patch, and I'll test it out here? (Forgive me if you've
 done this and I missed it).

 Steve

 
 Sent off-list.

Kurt, can you please provide:

# uname -a
- the default tag you use in your ports supfile, and the last time you
'sup'd the ports tree

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Kurt Buff
On Wed, May 27, 2009 at 11:02, Steve Bertrand st...@ibctech.ca wrote:
 Kurt Buff wrote:
 On Wed, May 27, 2009 at 09:51, Steve Bertrand st...@ibctech.ca wrote:
 Can you post the patch, and I'll test it out here? (Forgive me if you've
 done this and I missed it).

 Steve


 Sent off-list.

 Kurt, can you please provide:

 # uname -a
 - the default tag you use in your ports supfile, and the last time you
 'sup'd the ports tree

 Steve


I csup'ed on May 13, if my examination of the file system is accurate
- I noted the date on the relevant file in /usr/ports/distfiles.

#uname -a
FreeBSD squid.mycompany.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jun
30 17:27:53 PDT 2008
r...@squid.mycompany.com:/usr/obj/usr/src/sys/GENERIC  i386

Contents of supfile:
*default host=cvsup8.FreeBSD.org
*default prefix=/usr
*default base=/var/db
*default release=cvs
*default delete
*default use-rel-suffix
src-all tag=RELENG_7
ports-all tag=.
doc-all tag=.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fwd: Patching? Probably a trivial question, but...

2009-05-27 Thread Steve Bertrand
Kurt Buff wrote:
 On Wed, May 27, 2009 at 11:02, Steve Bertrand st...@ibctech.ca wrote:
 Kurt Buff wrote:
 On Wed, May 27, 2009 at 09:51, Steve Bertrand st...@ibctech.ca wrote:
 Can you post the patch, and I'll test it out here? (Forgive me if you've
 done this and I missed it).

 Steve

 Sent off-list.
 Kurt, can you please provide:

 # uname -a
 - the default tag you use in your ports supfile, and the last time you
 'sup'd the ports tree

 Steve

 
 I csup'ed on May 13, if my examination of the file system is accurate
 - I noted the date on the relevant file in /usr/ports/distfiles.
 
 #uname -a
 FreeBSD squid.mycompany.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jun
 30 17:27:53 PDT 2008
 r...@squid.mycompany.com:/usr/obj/usr/src/sys/GENERIC  i386

Ok. I'm building on both a 7.0-RELEASE, and a 7.2-RELEASE box, with
ports updated to nearly the same spec as yours.

Unfortunately, due to the racking overhaul we're doing in the
datacentre, my really good build boxes are shut down, so it's going to
take a bit longer ;)

Steve


smime.p7s
Description: S/MIME Cryptographic Signature