View previous topic :: View next topic |
Author |
Message |
Master_d Apprentice
Joined: 12 Oct 2003 Posts: 152 Location: Milwaukee
|
Posted: Sat Oct 20, 2012 5:48 am Post subject: [HOWTO] compile milkytracker-0.90.85 on a 64 bit arch |
|
|
I ran into a couple issues getting milkytracker to compile through portage so I thought I'd post what worked for me.
First download the source code from the milkytracker site located here:
http://milkytracker.org/files/milkytracker-0.90.85.tar.gz
The solution was to apply 2 patches to the source. The first patch fixes sdl_main.cpp so that it will compile on a 64 bit arch. It can be found on the milkytracker download page in the patches section.
http://milkytracker.org/files/patches-0.90.85/64bit_freebsd_fix.patch
The second patch was found on a debian bug tracker and can be found here.
http://ix.io/2aC
Save the text of this page as 'mt.patch' or whatever name you want.
Untar the source and apply both patches by placing the patches at the root of the unzipped source code and then running
Code: |
patch -p0 < 64bit_freebsd_fix.patch
patch -p0 < mt.patch
|
after both files are patched successfully, you should be good to run ./configure and ./make _________________ お前の常識知ったこっちゃねえ!
Last edited by Master_d on Sat Oct 20, 2012 5:56 am; edited 1 time in total |
|
Back to top |
|
|
Master_d Apprentice
Joined: 12 Oct 2003 Posts: 152 Location: Milwaukee
|
Posted: Sat Oct 20, 2012 5:53 am Post subject: |
|
|
I should mention that this isn't an ideal solution since it does not utilize the package manager, but I wasn't sure how to get portage to apply the patches for me before it compiled the code. Placing the patches in /etc/portage/patches/media-sound/milkytracker/ did not work so I think the ebuild would have to be rewritten and digested to apply the patches and I wasn't comfortable doing that. Hopefully the patches will be included in one of the next milkytracker ebuilds so it will compile under portage. _________________ お前の常識知ったこっちゃねえ! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|