Feed the patch into the "patch" program. Man patch -derek
Quoting Neilgn <[EMAIL PROTECTED]>: > > How do you use a patch. I can find the file on my computer and see the code, > but what do I do with the patch? > > Neilgn > > > Hi guys, > > Attached here is a patch to the advanced portfolio report. > > > Index: src/report/standard-reports/advanced-portfolio.scm > =================================================================== > --- src/report/standard-reports/advanced-portfolio.scm (revision 16594) > +++ src/report/standard-reports/advanced-portfolio.scm (working copy) > @@ -41,7 +41,7 @@ > (define optname-price-source (N_ "Price Source")) > (define optname-shares-digits (N_ "Share decimal places")) > (define optname-zero-shares (N_ "Include accounts with no shares")) > -(define optname-include-gains (N_ "Include gains and losses")) > +;;(define optname-include-gains (N_ "Include gains and losses")) > (define optname-show-symbol (N_ "Show ticker symbols")) > (define optname-show-listing (N_ "Show listings")) > (define optname-show-price (N_ "Show prices")) > @@ -103,12 +103,13 @@ > #t)) > > > - (gnc:register-option > - options > - (gnc:make-simple-boolean-option > - gnc:pagename-general optname-include-gains "g" > - (N_ "Include splits with no shares for calculating money-in and > money-out") > - #f)) > +;; this option is currently unimplemented > +;; (gnc:register-option > +;; options > +;; (gnc:make-simple-boolean-option > +;; gnc:pagename-general optname-include-gains "g" > +;; (N_ "Include splits with no shares for calculating money-in and > money-out") > +;; #f)) > > -- > View this message in context: > http://www.nabble.com/PATCH%3A-Advanced-portfolio-report-revisions-tp14143911p14323484.html > Sent from the GnuCash - Dev mailing list archive at Nabble.com. > > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel