diff options
author | araujo <araujo@FreeBSD.org> | 2013-01-21 03:31:56 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2013-01-21 03:31:56 +0000 |
commit | 210a9d2bdf5c9cc10a9f1a9ef7c5b03eb1b5df19 (patch) | |
tree | 1ca61ccecdef07dc319d9d8b9554b16d9042628e /graphics/urt/files/patch-tools__rlenoise.c | |
parent | ec59e1fce8777ba0e06a04836494f662b5ec7e07 (diff) | |
download | FreeBSD-ports-210a9d2bdf5c9cc10a9f1a9ef7c5b03eb1b5df19.zip FreeBSD-ports-210a9d2bdf5c9cc10a9f1a9ef7c5b03eb1b5df19.tar.gz |
- Fix build with clang.
- Add MAKE_JOBS_SAFE.
- Trim header.
- Convert to optionsNG.
PR: ports/172717
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'graphics/urt/files/patch-tools__rlenoise.c')
-rw-r--r-- | graphics/urt/files/patch-tools__rlenoise.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/urt/files/patch-tools__rlenoise.c b/graphics/urt/files/patch-tools__rlenoise.c new file mode 100644 index 0000000..43b8a7c --- /dev/null +++ b/graphics/urt/files/patch-tools__rlenoise.c @@ -0,0 +1,19 @@ +--- tools/rlenoise.c.orig 1992-01-24 03:31:37.000000000 +0900 ++++ tools/rlenoise.c 2012-10-16 00:48:26.000000000 +0900 +@@ -20,6 +20,7 @@ + */ + + #include <stdio.h> ++#include <time.h> + #include "rle.h" + + /* Change this according the value on your system. This is a crock. */ +@@ -27,7 +28,7 @@ + + #define MALLOC_ERR RLE_CHECK_ALLOC( cmd_name( argv ), 0, 0 ) + +-void ++int + main( argc, argv ) + int argc; + char ** argv; |