diff options
author | leeym <leeym@FreeBSD.org> | 2003-02-26 02:53:40 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-02-26 02:53:40 +0800 |
commit | 29f27b79add92fc0eeb3613f804050e73ae29aea (patch) | |
tree | 11899f6ca9e025cf4a614fd9c9de75cfe1ef582b /mail/gubby/files | |
parent | f0f329b33ba611a4db381432ee85229e0cb30c79 (diff) | |
download | freebsd-ports-gnome-29f27b79add92fc0eeb3613f804050e73ae29aea.tar.gz freebsd-ports-gnome-29f27b79add92fc0eeb3613f804050e73ae29aea.tar.zst freebsd-ports-gnome-29f27b79add92fc0eeb3613f804050e73ae29aea.zip |
add gubby-0.3.2
Gubby is a small program that continually shows where Procmail has
placed new email. It runs both in commandline and in an ncurses
environment with colors, and will update the overview in real time,
while using very low resources. Users can launch a specified
mailreader by selecting a folder and pressing enter.
PR: 47907
Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
Diffstat (limited to 'mail/gubby/files')
-rw-r--r-- | mail/gubby/files/patch-aa | 18 | ||||
-rw-r--r-- | mail/gubby/files/patch-ab | 13 |
2 files changed, 31 insertions, 0 deletions
diff --git a/mail/gubby/files/patch-aa b/mail/gubby/files/patch-aa new file mode 100644 index 000000000000..30571fa82b7f --- /dev/null +++ b/mail/gubby/files/patch-aa @@ -0,0 +1,18 @@ +--- src/gubby.cpp.orig Tue Feb 4 16:16:09 2003 ++++ src/gubby.cpp Tue Feb 4 16:15:32 2003 +@@ -49,13 +49,13 @@ + char buf[1024]; + + if ( f != 0 ) +- while ( !feof(f) ) { ++ while ( !feof(f.fptr()) ) { + + buf[0] = 0; + char* s = &buf[0]; + const char* p = find; + +- fgets(s, sizeof buf / sizeof(char), f); ++ fgets(s, sizeof buf / sizeof(char), f.fptr()); + + // search for matched string + while ( *p++ == *s++ ); diff --git a/mail/gubby/files/patch-ab b/mail/gubby/files/patch-ab new file mode 100644 index 000000000000..c2258833e776 --- /dev/null +++ b/mail/gubby/files/patch-ab @@ -0,0 +1,13 @@ +--- include/file_ptr.h.orig Mon Feb 3 09:38:16 2003 ++++ include/file_ptr.h Tue Feb 4 16:15:37 2003 +@@ -61,6 +61,10 @@ + return ptr; + } + ++ FILE* fptr() const { ++ return ptr; ++ } ++ + void operator=(FILE* f) { + close(); + ptr = f; |