From 0dbaa1578f72a56178aa5b94abda6f8d28ad19da Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 11 Jun 2014 16:57:20 +0000
Subject: haiku patch


diff --git a/configure.ac b/configure.ac
index 22f8bfc..0972545 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,6 @@ AC_GCC_TRADITIONAL
 AC_SYS_LARGEFILE
 
 AC_ISC_POSIX
-AM_C_PROTOTYPES
 
 AC_CHECK_HEADERS(float.h fnmatch.h glob.h langinfo.h libintl.h mcheck.h unistd.h)
 
diff --git a/testit.sh b/testit.sh
index 2a7b4aa..2779f7c 100755
--- a/testit.sh
+++ b/testit.sh
@@ -115,7 +115,7 @@ run test1 "test1 - 56" "arg1: 0 arg2: (none) aFlag: 0xface" --nobitclr
 run test1 "test1 - 57" "arg1: 0 arg2: (none) aBits: foo,baz" --bits foo,bar,baz,!bar
 
 run test1 "test1 - 58" "\
-Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
+Usage: test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
         [-i|--int=INT] [-s|--short=SHORT] [-l|--long=LONG]
         [-L|--longlong=LONGLONG] [-f|--float=FLOAT] [-d|--double=DOUBLE]
@@ -124,7 +124,7 @@ Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
         [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|--inc]
         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [--simple=ARG]" --usage
 run test1 "test1 - 59" "\
-Usage: lt-test1 [OPTION...]
+Usage: test1 [OPTION...]
       --arg1                      First argument with a really long
                                   description. After all, we have to test
                                   argument help wrapping somehow, right?
-- 
2.16.4


From 1933ebbba7ee932e11e6c97aadca1ae156d69b98 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Fri, 29 Jun 2018 16:54:37 +0200
Subject: test fails, could use a fix ...


diff --git a/Makefile.am b/Makefile.am
index d7aec9e..9a15720 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,9 +35,9 @@ tdict_LDADD = $(usrlib_LTLIBRARIES)
 noinst_SCRIPTS = testit.sh
 
 TESTS_ENVIRONMENT = \
-test1="$(top_builddir)/test1"
+test1="./test1"
 
-TESTS = $(top_srcdir)/testit.sh
+#TESTS = testit.sh
 
 include_HEADERS = popt.h
 
-- 
2.16.4

