You are not logged in.

#1 2008-10-11 06:58:21

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

How do you create a patch?

Real-life (but not necessarily interesting) story:

1. I download the Karmen windowmanager.
2. I make some changes to the source code
3. I want to submit a diff to sourceforge so they can consider including my changes.

How do I do step 3? tongue

-dav7

Last edited by dav7 (2008-10-11 06:58:40)


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#2 2008-10-11 07:00:01

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,406
Website

Re: How do you create a patch?

diff -Naur <original code directory> <modified code directory>

Offline

#3 2008-10-11 07:07:57

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: How do you create a patch?

Wowow FAST big_smile

Thanks big_smile

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#4 2008-10-11 08:32:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How do you create a patch?

Also, man diff (slower, but more satisfying) smile

Offline

#5 2008-10-11 08:39:57

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,406
Website

Re: How do you create a patch?

That is probably a good idea given I don't actually know of the top of my head what the "aur" flags do.  I just remember that combination for some reason... big_smile

Offline

#6 2008-10-11 12:58:08

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: How do you create a patch?

Where is this "man" forum I keep hearing about? The guys over there sound really helpful!

Offline

#7 2008-10-11 13:49:29

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: How do you create a patch?

tomk: True...

Allan: big_smile

Profjim: lol

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#8 2008-10-11 13:57:43

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: How do you create a patch?

Profjim wrote:

Where is this "man" forum I keep hearing about? The guys over there sound really helpful!

Man Forums


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#9 2008-10-11 13:59:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,406
Website

Re: How do you create a patch?

Don't let phrakture see that...

Offline

#10 2008-10-11 14:57:51

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: How do you create a patch?

I just saw a car fly past my 9th floor window and I"m over 500 miles from chicago... I suspect he's seen it.

Offline

Board footer

Powered by FluxBB