Browse Source

check: update to latest, fix static compile by disabing test subdir

Waldemar Brodkorb 9 năm trước cách đây
mục cha
commit
6a210b6cc8

+ 3 - 3
package/check/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		check
-PKG_VERSION:=		0.9.12
-PKG_RELEASE:=		2
-PKG_HASH:=		c7d47e55e133a0ca19a52e08a99333ac55cb22618b53719b7f4117a1875b1ea3
+PKG_VERSION:=		0.10.0
+PKG_RELEASE:=		1
+PKG_HASH:=		f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052
 PKG_DESCR:=		unit testing framework for c
 PKG_SECTION:=		libs/misc
 PKG_URL:=		http://check.sourceforge.net/

+ 11 - 0
package/check/patches/patch-Makefile_in

@@ -0,0 +1,11 @@
+--- check-0.10.0.orig/Makefile.in	2015-08-02 21:31:55.000000000 +0200
++++ check-0.10.0/Makefile.in	2015-11-12 04:31:11.583130094 +0100
+@@ -292,7 +292,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = lib src doc . checkmk tests
++SUBDIRS = lib src doc . checkmk
+ AM_MAKEINFOFLAGS = -I$(top_srcdir)/doc/example
+ CLEANFILES = *~\
+ 	$(PACKAGE)-$(VERSION).tar.gz\

+ 11 - 0
package/check/patches/patch-check_stdint_h

@@ -0,0 +1,11 @@
+--- check-0.10.0.orig/check_stdint.h	2015-08-02 21:32:21.000000000 +0200
++++ check-0.10.0/check_stdint.h	2015-11-12 04:28:52.652334615 +0100
+@@ -2,7 +2,7 @@
+ #define _CHECK_CHECK_STDINT_H 1
+ #ifndef _GENERATED_STDINT_H
+ #define _GENERATED_STDINT_H "check 0.10.0"
+-/* generated using gnu compiler gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 */
++/* generated using gnu compiler mips64el-openadk-linux-uclibcabi64-gcc (GCC) 4.9.3 */
+ #define _STDINT_HAVE_STDINT_H 1
+ #include <stdint.h>
+ #endif

+ 11 - 0
package/check/patches/patch-src_check_h

@@ -0,0 +1,11 @@
+--- check-0.10.0.orig/src/check.h	2015-08-02 21:32:21.000000000 +0200
++++ check-0.10.0/src/check.h	2015-11-12 04:28:52.456347600 +0100
+@@ -807,7 +807,7 @@ enum print_output
+                                      either "silent", "minimal", "normal",
+                                      or "verbose". If the environment variable
+                                      is not set, then CK_NORMAL will be used.*/
+-#if 1
++#if 0
+     CK_SUBUNIT,                 /**< Run as a subunit child process */
+ #endif
+     CK_LAST                     /**< Not a valid option */