diff options
author | ichiro <ichiro@pkgsrc.org> | 2008-01-21 11:08:33 +0000 |
---|---|---|
committer | ichiro <ichiro@pkgsrc.org> | 2008-01-21 11:08:33 +0000 |
commit | a663912518aa58c09fe94f69d954de2dd64554ec (patch) | |
tree | 729fa73df5c623473db2cb9b694f282e330364b3 /devel/cut/patches | |
parent | 9bc25e7dd6aee1ff7cf05543934cf87a43f6e9a7 (diff) | |
download | pkgsrc-a663912518aa58c09fe94f69d954de2dd64554ec.tar.gz |
initial import for cut (C Unit Tester)
see. http://www.falvotech.com/content/cut/
this pkgsrc was contributed by Toshiaki Nozawa <noz@m-springs.jp>
Diffstat (limited to 'devel/cut/patches')
-rw-r--r-- | devel/cut/patches/patch-aa | 18 | ||||
-rw-r--r-- | devel/cut/patches/patch-ab | 21 |
2 files changed, 39 insertions, 0 deletions
diff --git a/devel/cut/patches/patch-aa b/devel/cut/patches/patch-aa new file mode 100644 index 00000000000..9c40a3c4182 --- /dev/null +++ b/devel/cut/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1 2008/01/21 11:08:33 ichiro Exp $ + +--- Makefile.orig 2006-04-26 02:54:39.000000000 +0900 ++++ Makefile 2008-01-19 19:40:19.000000000 +0900 +@@ -4,11 +4,11 @@ + + .SUFFIXES: + +-INSTALLPATH := /usr/local ++INSTALLPATH = $(LOCALBASE) + INCDIR := $(INSTALLPATH)/include/cut-2 + BINDIR := $(INSTALLPATH)/bin + +-bin/cutgen: ++all: + (cd src; make posix) + mv src/cutgen bin + diff --git a/devel/cut/patches/patch-ab b/devel/cut/patches/patch-ab new file mode 100644 index 00000000000..c7faa6b9fb6 --- /dev/null +++ b/devel/cut/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 2008/01/21 11:08:33 ichiro Exp $ + +--- src/cuttemplate.c.orig 2006-04-26 03:11:47.000000000 +0900 ++++ src/cuttemplate.c 2008-01-20 16:12:45.000000000 +0900 +@@ -64,7 +64,7 @@ + "", + "static void print_integer_as_expected( int i )", + "{", +- " printf( \"(signed) %d (unsigned) %u (hex) 0x%08lX\", i, i, i );", ++ " printf( \"(signed) %d (unsigned) %u (hex) 0x%08lX\", i, i, (long)i );", + "}", + "", + "static void print_integer( int i )", +@@ -354,6 +354,7 @@ + "", + " cut_exit();", + " } else return 1;", ++ " return 0;", + "}", + "", + "void __cut_end( char *filename, int lineNumber, char *closingFrame )", |