Results 1 to 5 of 5

Thread: how to patch?

  1. #1
    fengxb's Avatar
    fengxb is offline Registered User
    Name: feng xuebin
    Organization: jiexin tech
    Project: scientific calculation
    Join Date
    Aug 2003
    Location
    R.P.China
    Posts
    80

    how to patch?

    Hi,

    I have a simple problem about how to patch the Ice? The post looks like using patch tool. Where can I get the tool?

    Thanks in advance.

    Feng Xuebin
    Fengxb

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    The patch utility is installed with most Unix distributions. On Windows, it's available with Cygwin. There might be other binary package available such as the one from here.

    Cheers,
    Benoit.

  3. #3
    fengxb's Avatar
    fengxb is offline Registered User
    Name: feng xuebin
    Organization: jiexin tech
    Project: scientific calculation
    Join Date
    Aug 2003
    Location
    R.P.China
    Posts
    80
    Thanks a lot for your rapid response.

    I downloaded the tool and executed the command, but patching seems not succeed at all.

    The following is the response:
    patching file src/IceUtil/Cond.cpp
    missing header for context diff at line 261 of patch
    can't find file to patch at input line 261
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |l::Cond::wake(bool broadcast)
    Regards,

    Feng Xuebin
    Fengxb

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Strange, it works fine for me with the patch utility from Cygwin. Did you try with the patch utility from Cygwin? Does the patch file look correct (check line 261 for instance)? Perhaps your patch utility is being confused by the Unix end of lines, if you have the unix2dos utility you could try to convert the patch.txt file to a DOS file and see if it helps.

    In any case since the patch only affects one file, I've attached the zipped patched file to this post, unzip it and copy it in your Ice-3.2.0/src/IceUtil directory if you can't use the patch.

    Cheers,
    Benoit.
    Attached Files Attached Files

  5. #5
    fengxb's Avatar
    fengxb is offline Registered User
    Name: feng xuebin
    Organization: jiexin tech
    Project: scientific calculation
    Join Date
    Aug 2003
    Location
    R.P.China
    Posts
    80
    Hi Benoit,

    Thank you very much.
    Fengxb

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Cannot patch protobuf.patch
    By joelihn in forum Help Center
    Replies: 3
    Last Post: 09-08-2008, 10:24 AM
  2. Ice.Patch.Application and Ice.Patch.Server
    By richardma in forum Help Center
    Replies: 1
    Last Post: 11-15-2007, 09:52 AM
  3. Replies: 1
    Last Post: 08-01-2006, 06:26 AM

Posting Permissions

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