Author Topic: raw patches?  (Read 4536 times)

ir0nk0ala

  • Guest
raw patches?
« on: March 02, 2007, 02:55:35 am »
I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: raw patches?
« Reply #1 on: March 02, 2007, 06:17:09 am »
I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.

What OS? Windows? Linux? XP?

Which wxWidgets 2.8? (2.8.0, 2.8.2rc1, CVS Branch, CVS Head)

Do you use wxSmith?
The plugin wxSmith is almost everything that is known to need patched for wxWidgets 2.8.

Skill Level Questions Below.
Can you compile wxWidgets on your own?
Have you compiled Code::Blocks from SVN source already?

Tim S
« Last Edit: March 02, 2007, 06:52:35 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline jpaterso

  • Multiple posting newcomer
  • *
  • Posts: 57
Re: raw patches?
« Reply #2 on: March 02, 2007, 10:26:21 am »
Basically you need a utility called 'patch', which comes with Unix. A version is also available for windows, check out http://gnuwin32.sourceforge.net/

Joseph.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: raw patches?
« Reply #3 on: March 02, 2007, 12:17:18 pm »
Basically you need a utility called 'patch', which comes with Unix. A version is also available for windows, check out http://gnuwin32.sourceforge.net/

Joseph.

FYI: I have had issues with the gnuwin32 patch command using unified diffs to patch wxWidgets.

I use the MinGW msysCORE patch or the UnxUtils patch both sites on sf.net.

Quote
Note: I am using the "patch" command from UnxUtils from
http://sourceforge.net/projects/unxutils

Note: I am using the "unix2dos" command from MinGW
http://sourceforge.net/projects/mingw/
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82721&release_id=158859
(mingw-utils-0.3)

Tim S

« Last Edit: March 02, 2007, 12:21:19 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

ir0nk0ala

  • Guest
Re: raw patches?
« Reply #4 on: March 03, 2007, 02:12:35 am »
I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.

What OS? Windows? Linux? XP?

Which wxWidgets 2.8? (2.8.0, 2.8.2rc1, CVS Branch, CVS Head)

Do you use wxSmith?
The plugin wxSmith is almost everything that is known to need patched for wxWidgets 2.8.

Skill Level Questions Below.
Can you compile wxWidgets on your own?
Have you compiled Code::Blocks from SVN source already?

Tim S
Sorry for the lack of details:
Ubuntu 6.10, wx2.8.0
I didn't plan on using wxSmith (I just got DialogBlocks with the official wxWidgets reference book).
As for my skill level, I've compiled CB from SVN source every night for a while now, but I've always had trouble with compiling wx. I should be able to get it in working order tonight though, and I'll add the CB patches with the utility you mentioned (just in case I decide to use wxSmith later). Thanks guys  :).
« Last Edit: March 03, 2007, 02:16:02 am by ir0nk0ala »