Applying patch 3.0 to 3.0.1 under windows - Mozilla

This is a discussion on Applying patch 3.0 to 3.0.1 under windows - Mozilla ; Hello, I'd like to update from 3.0 to 3.0.1. I downloaded the patch: http://ftp.mozilla.org/pub/mozilla.o...-3.0.1.diff.gz and extracted bugzilla-3.0-to-3.0.1.diff file I downloaded and installed patch utility: http://gnuwin32.sourceforge.net/packages/patch.htm and rtfm I try to run a command line like : patch -b -p 1 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Applying patch 3.0 to 3.0.1 under windows

  1. Applying patch 3.0 to 3.0.1 under windows

    Hello,

    I'd like to update from 3.0 to 3.0.1.

    I downloaded the patch:
    http://ftp.mozilla.org/pub/mozilla.o...-3.0.1.diff.gz
    and extracted bugzilla-3.0-to-3.0.1.diff file
    I downloaded and installed patch utility:
    http://gnuwin32.sourceforge.net/packages/patch.htm and rtfm
    I try to run a command line like : patch -b -p 1
    bugzilla-3.0-to-3.0.1.diff from the bugzilla directory.

    But I get nothing. No error, no output, nothing.

    The path to patch.exe is known, patch --help is ok
    I tried several options, like -p 2, --dry--run
    .... nothing

    Do I miss something obvious? Is it possible to apply patches under
    windows (XP)?

    Any help will be appreciated.

  2. Re: Applying patch 3.0 to 3.0.1 under windows

    On Thu, 06 Sep 2007 10:25:51 +0200 BFW_Bugzilla
    wrote:
    > I try to run a command line like : patch -b -p 1
    > bugzilla-3.0-to-3.0.1.diff from the bugzilla directory.


    patch -p1 -i bugzilla-3.0-to-3.0.1.diff

    -Ma

    --
    http://www.everythingsolved.com/
    Competent, Friendly Bugzilla Services. And Everything Else, too.

  3. Re: Applying patch 3.0 to 3.0.1 under windows

    Max Kanat-Alexander wrote:
    > On Thu, 06 Sep 2007 10:25:51 +0200 BFW_Bugzilla
    > wrote:
    >> I try to run a command line like : patch -b -p 1
    >> bugzilla-3.0-to-3.0.1.diff from the bugzilla directory.

    >
    > patch -p1 -i bugzilla-3.0-to-3.0.1.diff
    >
    > -Ma
    >


    Of course... :/

    Then I got the error Assertion failed: hunk, file
    .../patch-2.5.9-src/patch.c, line 354

    Converted file from UNIX to Windows format (EOF from LF to CRLF)

    Bugzilla patched !

    Thanks for support.

+ Reply to Thread