Find the answer to your Linux question:
Results 1 to 2 of 2
Hi guys, I have question about patches. I have source tree and I have develop my own patch changing few files from the source tree. Now new version of the ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    1

    how to update the patch files.

    Hi guys,

    I have question about patches.
    I have source tree and I have develop my own patch changing few files from the source tree.
    Now new version of the source tree arives and I want to apply my own old patches on the new source tree.
    Some of the files I am patching however are changed in the new source tree release.

    I can fix my patches manually but I think there should be a tool that get 3 files: old_source_file, new_source_file, patch_for_the_old_source_file and produce patch_for_the_new_source_file as result.

    Can you please give me a clue?

    I am using unified diff to create my patches. I know that often my old patches will apply with some offset over the new source files but still I think that the process I am requesting makes sence.

    What do you think?

    And Marry Cristmas
    Dimitar

  2. #2
    drl
    drl is online now
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
    Posts
    1,117
    Hi.

    My head hurts when I think of situations like this.

    I looked through the Debian repository, and found pointers to the web pages below. Google may be the best bet if you don't get a precise answer. Good luck ... cheers, drl

    Patcher

    PRINT HEAD patchutils
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...