Ticket #47258: nano-2.4.patch
File nano-2.4.patch, 2.0 KB (added by jeremyhu (Jeremy Huddleston Sequoia), 10 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name nano 7 version 2. 2.67 version 2.4.0 8 8 categories editors 9 9 platforms darwin freebsd 10 10 license GPL-3 … … 20 20 homepage http://www.nano-editor.org/ 21 21 master_sites ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu 22 22 23 checksums rmd160 c7178c45c44ef2c3237811ac16b3d343b4ab6cd4 \24 sha256 be68e133b5e81df41873d32c517b3e5950770c00fc5f4dd23810cd635abce67a23 checksums rmd160 1894305efdf30af7265c282e875dc7c4a1a1d9b4 \ 24 sha256 5076fb502680503e648cbdcbf2077e39fba193420ae19203f0a54cb2d94a75bd 25 25 26 26 depends_lib port:ncurses \ 27 27 port:gettext \ 28 28 port:libiconv 29 29 30 patchfiles \ 31 time_t.patch 32 30 33 configure.args --disable-wrapping-as-root \ 31 34 --enable-utf8 32 35 … … 38 41 39 42 post-destroot { 40 43 xinstall -d $destroot$docdir/html 41 xinstall -m 644 -W $worksrcpath AUTHORS BUGSCOPYING ChangeLog INSTALL NEWS \44 xinstall -m 644 -W $worksrcpath AUTHORS COPYING ChangeLog INSTALL NEWS \ 42 45 README THANKS TODO doc/nanorc.sample ${destroot}${docdir} 43 46 xinstall -m 644 -W $worksrcpath/doc faq.html texinfo/nano.html $destroot$docdir/html 44 47 } -
files/time_t.patch
1 --- src/text.c.orig 2015-03-24 18:33:14.000000000 -0700 2 +++ src/text.c 2015-03-24 18:33:21.000000000 -0700 3 @@ -2664,7 +2664,7 @@ const char *do_alt_speller(char *tempfil 4 ssize_t current_y_save = openfile->current_y; 5 ssize_t lineno_save = openfile->current->lineno; 6 struct stat spellfileinfo; 7 - __time_t timestamp; 8 + time_t timestamp; 9 pid_t pid_spell; 10 char *ptr; 11 static int arglen = 3;