Re: Yosemite gdb
Alexander Hansen <[email protected]>
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Organization | Fink Core Team |
| Message-ID | <[email protected]> |
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