diff options
author | tabthorpe <tabthorpe@FreeBSD.org> | 2010-08-05 04:59:44 +0800 |
---|---|---|
committer | tabthorpe <tabthorpe@FreeBSD.org> | 2010-08-05 04:59:44 +0800 |
commit | 3fca920af6be4ee4bd50f653f567c252e8c8951b (patch) | |
tree | 3651fa8b4cfc17f854619b8a9d52eef276c682e3 /misc | |
parent | 5cec83047a5c03be9b25102512cc5bf853e95a88 (diff) | |
download | freebsd-ports-gnome-3fca920af6be4ee4bd50f653f567c252e8c8951b.tar.gz freebsd-ports-gnome-3fca920af6be4ee4bd50f653f567c252e8c8951b.tar.zst freebsd-ports-gnome-3fca920af6be4ee4bd50f653f567c252e8c8951b.zip |
- Update to 0.3.3
PR: ports/149149
Submitted by: Frederic Culot <frederic culot.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/colortail/Makefile | 7 | ||||
-rw-r--r-- | misc/colortail/distinfo | 6 | ||||
-rw-r--r-- | misc/colortail/files/patch-CfgFileParser.cc | 19 | ||||
-rw-r--r-- | misc/colortail/files/patch-CfgFileParser.h | 10 | ||||
-rw-r--r-- | misc/colortail/files/patch-Colorizer.cc | 56 | ||||
-rw-r--r-- | misc/colortail/files/patch-OptionsParser.cc | 20 | ||||
-rw-r--r-- | misc/colortail/files/patch-TailFile.cc | 19 | ||||
-rw-r--r-- | misc/colortail/files/patch-TailFile.h | 21 | ||||
-rw-r--r-- | misc/colortail/files/patch-ab | 12 | ||||
-rw-r--r-- | misc/colortail/files/patch-configure | 16 |
10 files changed, 29 insertions, 157 deletions
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile index 94f60b558b96..b3cbe69d975d 100644 --- a/misc/colortail/Makefile +++ b/misc/colortail/Makefile @@ -6,12 +6,9 @@ # PORTNAME= colortail -PORTVERSION= 0.3.0 -PORTREVISION= 2 +PORTVERSION= 0.3.3 CATEGORIES= misc -MASTER_SITES= http://joakimandersson.se/files/ \ - ${MASTER_SITE_GENTOO} -MASTER_SITE_SUBDIR= distfiles +MASTER_SITES= http://joakimandersson.se/files/ MAINTAINER= tabthorpe@FreeBSD.org COMMENT= A colour-able replacement for tail(1) diff --git a/misc/colortail/distinfo b/misc/colortail/distinfo index 68e098db1bdc..aef3fe948096 100644 --- a/misc/colortail/distinfo +++ b/misc/colortail/distinfo @@ -1,3 +1,3 @@ -MD5 (colortail-0.3.0.tar.gz) = 2589d3e372080f4052d1cc0d6550508f -SHA256 (colortail-0.3.0.tar.gz) = b88e18a798436616918487997d7b1aad4ffaecac4ffd62ba3885e840f1626e1b -SIZE (colortail-0.3.0.tar.gz) = 54329 +MD5 (colortail-0.3.3.tar.gz) = a6fc24230c0a2c7cd0313cd3b73f4a64 +SHA256 (colortail-0.3.3.tar.gz) = 0fabf424c3cc1aa030315d76490dbae64546a236abd8958bb3a99f8bdc322ae9 +SIZE (colortail-0.3.3.tar.gz) = 97399 diff --git a/misc/colortail/files/patch-CfgFileParser.cc b/misc/colortail/files/patch-CfgFileParser.cc deleted file mode 100644 index 0dc19f1072a1..000000000000 --- a/misc/colortail/files/patch-CfgFileParser.cc +++ /dev/null @@ -1,19 +0,0 @@ - -$FreeBSD$ - ---- CfgFileParser.cc.orig Tue Aug 3 21:40:44 1999 -+++ CfgFileParser.cc Tue Nov 26 01:08:21 2002 -@@ -20,11 +20,10 @@ - #include "CfgFileParser.h" - - #include <stdio.h> --#include <fstream.h> -+#include <iostream.h> - #include <assert.h> - #include <string.h> --#include <malloc.h> -- -+#include <stdlib.h> - - // ## class SearchData ## - diff --git a/misc/colortail/files/patch-CfgFileParser.h b/misc/colortail/files/patch-CfgFileParser.h new file mode 100644 index 000000000000..d9928fc38e8c --- /dev/null +++ b/misc/colortail/files/patch-CfgFileParser.h @@ -0,0 +1,10 @@ +--- CfgFileParser.h.bak 2010-07-31 14:18:50.529980803 +0200 ++++ CfgFileParser.h 2010-07-31 14:18:59.977448567 +0200 +@@ -24,7 +24,6 @@ + #include "config.h" + + #include <sys/types.h> +-#include <regex.h> + #include <iostream> + #include <fstream> + #include <string> diff --git a/misc/colortail/files/patch-Colorizer.cc b/misc/colortail/files/patch-Colorizer.cc deleted file mode 100644 index db77ba6418a2..000000000000 --- a/misc/colortail/files/patch-Colorizer.cc +++ /dev/null @@ -1,56 +0,0 @@ - -$FreeBSD$ - ---- Colorizer.cc.orig Wed Aug 4 04:41:17 1999 -+++ Colorizer.cc Thu Feb 5 19:49:47 2004 -@@ -23,7 +23,7 @@ - - #include <assert.h> - #include <stdio.h> --#include <strstream.h> -+#include <strstream> - - - Colorizer::Colorizer() -@@ -111,7 +111,7 @@ - ListIterator<SearchData*> itr(*m_items_list); - - // will contain the new string -- ostrstream newstr; -+ std::ostrstream newstr; - - SearchData *current; - int i = 0; -@@ -172,7 +172,7 @@ - } - - // write ansi reset str and a newline -- newstr << ANSI_RESET_STR << endl << ends; -+ newstr << ANSI_RESET_STR << std::endl << std::ends; - // return the new string - return newstr.str(); - } -@@ -187,12 +187,12 @@ - // check if str ends in '\n' - if (str[strlen(str)] == '\n') - { -- newstr << str << ends; -+ newstr << str << std::ends; - } - else - { - // doesn't end in '\n' -- newstr << str << endl << ends; -+ newstr << str << std::endl << std::ends; - } - - // return the new string -@@ -240,7 +240,7 @@ - - // write newline and null - //newstr << endl << ends; -- newstr << ends; -+ newstr << std::ends; - - - // return the new string diff --git a/misc/colortail/files/patch-OptionsParser.cc b/misc/colortail/files/patch-OptionsParser.cc deleted file mode 100644 index f2087e517f5e..000000000000 --- a/misc/colortail/files/patch-OptionsParser.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- OptionsParser.cc.orig Thu Aug 5 08:23:39 1999 -+++ OptionsParser.cc Thu Feb 5 19:49:47 2004 -@@ -18,7 +18,7 @@ - */ - - #include <iostream.h> --#include <strstream.h> -+#include <strstream> - #include <string.h> - #include <stdio.h> - #include <stdlib.h> -@@ -130,7 +130,7 @@ - int loop = 1; - while (loop) - { -- ostrstream filename; -+ std::ostrstream filename; - - while (1) - { diff --git a/misc/colortail/files/patch-TailFile.cc b/misc/colortail/files/patch-TailFile.cc index e449443d4564..a7681d0ac203 100644 --- a/misc/colortail/files/patch-TailFile.cc +++ b/misc/colortail/files/patch-TailFile.cc @@ -1,21 +1,14 @@ ---- TailFile.cc.orig Thu Aug 5 08:09:38 1999 -+++ TailFile.cc Thu Feb 5 19:49:47 2004 -@@ -375,7 +375,7 @@ - // check if there isn't a follow buffer - if (m_follow_buffer == NULL) - { -- m_follow_buffer = new ostrstream(); -+ m_follow_buffer = new std::ostrstream(); - } - - // make buffer -@@ -417,6 +417,9 @@ +--- TailFile.cc.bak 2010-07-31 14:12:15.145254811 +0200 ++++ TailFile.cc 2010-07-31 14:13:31.996950208 +0200 +@@ -352,7 +352,10 @@ int ch = fgetc(m_file); // add the character to the string +- m_follow_buffer->put(ch); + if (ch == EOF) + clearerr(m_file); // required by POSIX and ANSI + else - m_follow_buffer->put(ch); ++ m_follow_buffer->put(ch); // check if return + if (ch == '\n') diff --git a/misc/colortail/files/patch-TailFile.h b/misc/colortail/files/patch-TailFile.h deleted file mode 100644 index 06aecac4647c..000000000000 --- a/misc/colortail/files/patch-TailFile.h +++ /dev/null @@ -1,21 +0,0 @@ ---- TailFile.h.orig Wed Aug 4 04:42:33 1999 -+++ TailFile.h Thu Feb 5 19:49:47 2004 -@@ -23,7 +23,8 @@ - #include "Colorizer.h" - - #include <stdio.h> --#include <strstream.h> -+#include <iostream> -+#include <strstream> - - #define MAX_CHARS_READ 1024 - -@@ -40,7 +41,7 @@ - // the stream position - long m_position; - // the follow buffer, used in follow_print -- ostrstream *m_follow_buffer; -+ std::ostrstream *m_follow_buffer; - - // private methods - void find_position(int n); diff --git a/misc/colortail/files/patch-ab b/misc/colortail/files/patch-ab deleted file mode 100644 index 302d57f1c19d..000000000000 --- a/misc/colortail/files/patch-ab +++ /dev/null @@ -1,12 +0,0 @@ ---- CfgFileParser.h.old Wed Jun 21 12:55:57 2000 -+++ CfgFileParser.h Wed Jun 21 12:56:09 2000 -@@ -24,7 +24,9 @@ - #include "config.h" - - #include <sys/types.h> -+#if 0 - #include <regex.h> -+#endif - #include <fstream.h> - - #ifdef HAVE_GNUREGEX_H diff --git a/misc/colortail/files/patch-configure b/misc/colortail/files/patch-configure index 0805ca424432..6323e638a68f 100644 --- a/misc/colortail/files/patch-configure +++ b/misc/colortail/files/patch-configure @@ -1,11 +1,11 @@ ---- configure.orig Sun Aug 15 16:36:25 1999 -+++ configure Tue Jan 28 15:06:04 2003 -@@ -1206,7 +1206,7 @@ +--- configure.bak 2010-07-31 13:58:20.150270253 +0200 ++++ configure 2010-07-31 13:58:29.487410308 +0200 +@@ -4528,7 +4528,7 @@ - fi --for ac_hdr in malloc.h unistd.h regex.h gnuregex.h -+for ac_hdr in malloc.h unistd.h regex.h + +-for ac_header in malloc.h unistd.h regex.h gnuregex.h ++for ac_header in malloc.h unistd.h regex.h do - ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` - echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` + if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |