Ticket #40978: emacs-app.diff
File emacs-app.diff, 856 bytes (added by takanori@…, 11 years ago) |
---|
-
Portfile
5 5 6 6 name emacs-app 7 7 version 24.3 8 revision 18 revision 2 9 9 categories aqua editors 10 10 maintainers hum css openmaintainer 11 11 -
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 + }