[134560] trunk/dports/editors/nano

jeremyhu at macports.org jeremyhu at macports.org
Mon Mar 30 01:42:46 PDT 2015


Revision: 134560
          https://trac.macports.org/changeset/134560
Author:   jeremyhu at macports.org
Date:     2015-03-30 01:42:46 -0700 (Mon, 30 Mar 2015)
Log Message:
-----------
nano: Bump to 2.4.0 and nomaintainer (#47258)

Modified Paths:
--------------
    trunk/dports/editors/nano/Portfile

Added Paths:
-----------
    trunk/dports/editors/nano/files/
    trunk/dports/editors/nano/files/time_t.patch

Modified: trunk/dports/editors/nano/Portfile
===================================================================
--- trunk/dports/editors/nano/Portfile	2015-03-30 06:21:07 UTC (rev 134559)
+++ trunk/dports/editors/nano/Portfile	2015-03-30 08:42:46 UTC (rev 134560)
@@ -4,11 +4,11 @@
 PortSystem      1.0
 
 name            nano
-version         2.2.6
+version         2.4.0
 categories      editors
 platforms       darwin freebsd
 license         GPL-3
-maintainers     gmail.com:theo.studer
+maintainers     nomaintainer
 description     Nano's ANOther editor - enhanced free Pico Clone
 
 long_description \
@@ -20,13 +20,16 @@
 homepage        http://www.nano-editor.org/
 master_sites    ${homepage}dist/v[strsed ${version} {/\.[0-9]*$//}]/ gnu
 
-checksums       rmd160  c7178c45c44ef2c3237811ac16b3d343b4ab6cd4 \
-                sha256  be68e133b5e81df41873d32c517b3e5950770c00fc5f4dd23810cd635abce67a
+checksums       rmd160  1894305efdf30af7265c282e875dc7c4a1a1d9b4 \
+                sha256  5076fb502680503e648cbdcbf2077e39fba193420ae19203f0a54cb2d94a75bd
 
 depends_lib     port:ncurses \
                 port:gettext \
                 port:libiconv
 
+patchfiles \
+    time_t.patch
+
 configure.args  --disable-wrapping-as-root \
                 --enable-utf8
 
@@ -38,7 +41,7 @@
 
 post-destroot {
     xinstall -d $destroot$docdir/html
-    xinstall -m 644 -W $worksrcpath AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
+    xinstall -m 644 -W $worksrcpath AUTHORS COPYING ChangeLog INSTALL NEWS \
         README THANKS TODO doc/nanorc.sample ${destroot}${docdir}
     xinstall -m 644 -W $worksrcpath/doc faq.html texinfo/nano.html $destroot$docdir/html
 }

Added: trunk/dports/editors/nano/files/time_t.patch
===================================================================
--- trunk/dports/editors/nano/files/time_t.patch	                        (rev 0)
+++ trunk/dports/editors/nano/files/time_t.patch	2015-03-30 08:42:46 UTC (rev 134560)
@@ -0,0 +1,11 @@
+--- src/text.c.orig	2015-03-24 18:33:14.000000000 -0700
++++ src/text.c	2015-03-24 18:33:21.000000000 -0700
+@@ -2664,7 +2664,7 @@ const char *do_alt_speller(char *tempfil
+     ssize_t current_y_save = openfile->current_y;
+     ssize_t lineno_save = openfile->current->lineno;
+     struct stat spellfileinfo;
+-    __time_t timestamp;
++    time_t timestamp;
+     pid_t pid_spell;
+     char *ptr;
+     static int arglen = 3;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150330/21ce3c12/attachment.html>


More information about the macports-changes mailing list