Control: tags -1 + upstream patch fixed-upstream

Hi Michael,

thanks for reporting this issue in libaqbanking. I've just committed a
fix to the upstream Subversion repository as revision 2591 and 2592. The
attached patch contains the combined changes of both commits. I am also
about to prepare a fixed upload to Debian now.

I really appreciate your work. Would it be possible to get libaqbanking
compiled again with your research compiler, but this time with the
attached patch applied?

Thanks a lot in advance.

Best regards,
Micha
Index: src/tools/aqbanking-cli/senddtazv.c
===================================================================
--- src/tools/aqbanking-cli/senddtazv.c	(revision 2590)
+++ src/tools/aqbanking-cli/senddtazv.c	(revision 2592)
@@ -16,6 +16,9 @@
 
 
 #include "globals.h"
+/* The code below uses the private symbol AH_Provider_SendDtazv from libaqhbci */
+#include "hbci_l.h"
+#include "provider_l.h"
 
 #include <gwenhywfar/text.h>
 #include <gwenhywfar/fslock.h>
@@ -34,20 +37,6 @@
 #endif
 
 
-/* this is a more or less secret job which is not declared in AqHBCI, so
- * we must do it here. The AQHBCI_API makes this file import that symbol
- * from the libaqhbci library.
- */
-AQHBCI_API
-int AH_Provider_SendDtazv(AB_PROVIDER *pro,
-			  AB_ACCOUNT *a,
-			  AB_IMEXPORTER_CONTEXT *ctx,
-			  const uint8_t *dataPtr,
-			  uint32_t dataLen,
-			  int nounmount,
-			  uint32_t guiid);
-
-
 static int _incrementUniqueId(AB_ACCOUNT *a, const char *path) {
   GWEN_BUFFER *pbuf;
   const char *s;
@@ -371,7 +360,7 @@
     rv=AH_Provider_SendDtazv(pro, a, ctx,
 			     (const uint8_t*)GWEN_Buffer_GetStart(dtazv),
 			     GWEN_Buffer_GetUsedBytes(dtazv),
-			     1, 0);
+			     1, 1, 0);
     /* write ctx file */
     if (ctxFile) {
       GWEN_DB_NODE *dbCtx;
Index: src/tools/aqbanking-cli/Makefile.am
===================================================================
--- src/tools/aqbanking-cli/Makefile.am	(revision 2590)
+++ src/tools/aqbanking-cli/Makefile.am	(revision 2592)
@@ -1,6 +1,8 @@
 #EXTRA_DIST=
 
-INCLUDES = -I$(aqbanking_symlinkdir) $(gwenhywfar_includes) $(aqfinance_includes)
+INCLUDES = -I$(aqbanking_symlinkdir) $(gwenhywfar_includes) $(aqfinance_includes) \
+  -I$(top_srcdir)/src/plugins/backends/aqhbci/plugin/banking \
+  -I$(top_srcdir)/src/plugins/backends/aqhbci/plugin/msglayer
 
 AM_CFLAGS=@visibility_cflags@
 

Reply via email to