From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- wtime/patches/wtime.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 wtime/patches/wtime.patch (limited to 'wtime/patches/wtime.patch') diff --git a/wtime/patches/wtime.patch b/wtime/patches/wtime.patch new file mode 100644 index 0000000..9f75b66 --- /dev/null +++ b/wtime/patches/wtime.patch @@ -0,0 +1,12 @@ +--- wtime/wtime.c 2006-06-17 14:29:37.000000000 +0200 ++++ wtimem/wtime.c 2010-12-08 20:20:18.692552915 +0100 +@@ -10,7 +10,8 @@ + + typedef enum { EMPTY, STARTED, STOPPED, UNKNOWN } Tstate; + +-char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [[]]]\nFor more info see the man page.\n"; ++//char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [[]]]\nFor more info see the man page.\n"; ++char usage[] = "wt [-t task] [-h|-a|-s|-c|-r [[]]]\nExamples:\n wt -a ... start counting\n wt -s ... stop counting\n wt -c ... show running time in seconds\n wt -r ... show spent time in seconds\n"; + + static int fgetlastl(FILE * fd, char *lbuf, int size) + { -- cgit v1.2.3