Ticket #40978: emacs-mac-app.diff
File emacs-mac-app.diff, 920 bytes (added by takanori@…, 11 years ago) |
---|
-
Portfile
19 19 license GPL-3+ 20 20 21 21 set emacs_version 24.3 22 revision 1 22 23 23 24 checksums rmd160 0b477f80b4c78cfd563da3140977691c5008d423 \ 24 25 sha256 b54b2ed16e832a4f9097844d6c1f6b38d0d6b4f71866f19bf198191cca307555 -
files/patch-src_emacs.c.diff
28 28 + strlcpy(newpath, "__PREFIX__/bin:", newpathsize); 29 29 + strlcat(newpath, oldpath, newpathsize); 30 30 + setenv("PATH", newpath, 1); 31 + free(newpath);31 + /* free(newpath); newpath shouldn't be freed - see setenv(3) */ 32 32 + } 33 33 + } 34 34 + }