aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-22 01:37:39 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-22 01:37:39 -0400
commit016c4a5cf2cdbcc0ee7b2de4bedadeb1d9ed9259 (patch)
treed0408de5b3adb10758590d7b701ee09bd3869222
parentc3eb0fd8e207d173a40e9546d2603841f1bdf19d (diff)
update gana, add error codes c file
-rwxr-xr-xbootstrap3
m---------contrib/gana0
-rw-r--r--src/util/Makefile.am1
3 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index a0bbd3b72..3c42d2779 100755
--- a/bootstrap
+++ b/bootstrap
@@ -15,6 +15,9 @@ cd contrib/gana/gnu-taler-error-codes
make
cd ../../..
cp contrib/gana/gnu-taler-error-codes/taler-error-codes.h src/include/taler_error_codes.h
+cp contrib/gana/gnu-taler-error-codes/taler-error-codes.c src/util/taler_error_codes.c
+# Change the include in the source file so it can find the header
+sed -i '' 's/taler\-error\-codes\.h/taler_error_codes.h/g' src/util/taler_error_codes.c
# This is more portable than `which' but comes with
# the caveat of not(?) properly working on busybox's ash:
diff --git a/contrib/gana b/contrib/gana
-Subproject 05d427aafa7f9e637db969e4933905be2a8d9b9
+Subproject 007b2a19f8d9bdf926aa584d85beb5bdac32bf9
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 5ff3b898f..3831dd3fb 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -40,6 +40,7 @@ libtalerutil_la_SOURCES = \
getopt.c \
mhd.c \
payto.c \
+ taler_error_codes.c \
url.c \
util.c \
yna.c \