Re: Yosemite gdb
Jacques Bloch <[email protected]>
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <[email protected]> |
After downloading the latest fink version from halfdome, running inject.pl and fink selfupdate (see the thread Yosemite selfupdate) the fink update-all command also runs fine now. The problem to compile gdb seems to have evaporated, probably due to the fact that it now installs gdb_7.8-2_darwin-x86_64.deb instead of gdb_7.8-1_darwin-x86_64.deb. > On 22 Aug 2014, at 16:08, Alexander Hansen <[email protected]> wrote: > > On 8/22/14, 6:09 AM, Jacques Bloch wrote: >> I believe that gdb should compile when changing >> <machine/setjmp.h> by <setjmp.h> in /sw/src/fink.build/gdb-7.8-1/gdb-7.8/gdb/darwin-nat.c >> (courtesy of https://trac.macports.org/ticket/43973) >> >> HOWEVER, when I change this line in the source file and then run "fink update gdb" the source file gets overwritten again by the original version (which it probably gets from the packed gdb). What should I do for fink to use the modified source file? >> >> >> > > Right. fink, by design, unpacks the original source archive and applies changes specified through the package description files. > > Try editing /sw/fink/dists/stable/main/finkinfo/devel/gdb.info and add > > perl -pi -e 's,machine/setjmp.h,setjmp.h,' gdb/darwin-nat.c > > to the PatchScript block. > -- > Alexander Hansen, Ph.D. > Fink User Liaison > My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Fink-devel mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel