Code

Explicitly build-depend and link against libgcrypt.
authorSebastian Harl <sh@tokkee.org>
Sat, 23 Nov 2013 15:27:52 +0000 (16:27 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 23 Nov 2013 15:27:52 +0000 (16:27 +0100)
The function is used by cadaver directly, causing a build failure with current
build tools.

Thanks to David Suárez for reporting this.
Closes: #720800
debian/changelog
debian/control
debian/rules

index 03fc20a12ccf2fb030a8060144432a4b2d3c4d5f..0866e3b3b808a025b57677e02b444d85a6fda1f6 100644 (file)
@@ -1,3 +1,12 @@
+cadaver (0.23.3-2) unstable; urgency=low
+
+  * debian/control, debian/rules:
+    - Explicitly build-depend and link against libgcrypt. The function is used
+      by cadaver directly, causing a build failure with current build tools.
+      Thanks to David Suárez for reporting this (Closes: #720800).
+
+ -- Sebastian Harl <tokkee@debian.org>  Sat, 23 Nov 2013 16:27:43 +0100
+
 cadaver (0.23.3-1) unstable; urgency=low
 
   * New upstream version:
index fa613583d55e245ab3bd2d9580316a5202e27d47..8cdf85e9356cad416f1edab508e06988812dedba 100644 (file)
@@ -2,7 +2,14 @@ Source: cadaver
 Section: web
 Priority: optional
 Maintainer: Sebastian Harl <tokkee@debian.org>
-Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), dpatch, autotools-dev, libncurses5-dev, libxml2-dev, libreadline-dev | libreadline5-dev, zlib1g-dev (>= 1:1.1.3), libneon27-gnutls-dev (>= 0.28)
+Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), dpatch,
+ autotools-dev,
+ libgcrypt11-dev,
+ libncurses5-dev,
+ libneon27-gnutls-dev (>= 0.28),
+ libreadline-dev | libreadline5-dev,
+ libxml2-dev,
+ zlib1g-dev (>= 1:1.1.3)
 Standards-Version: 3.8.3
 Homepage: http://www.webdav.org/cadaver/
 Vcs-Git: git://git.tokkee.org/pkg-cadaver.git
index 906dba62f7e6119325563b7fbd6144805503dbc4..28bafc744e38f47fd766a312e17fa3e0f647003b 100755 (executable)
@@ -32,10 +32,11 @@ $(BUILDDIR)/config.status: configure $(DPATCH_STAMPFN)
        done
        
        [ -e $(BUILDDIR) ] || mkdir $(BUILDDIR)
-       cd $(BUILDDIR) && CFLAGS="$(CFLAGS)" ../../configure \
+       cd $(BUILDDIR) && ../../configure \
                        --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
                        --prefix=/usr --mandir=\$${prefix}/share/man \
-                       --enable-warnings --enable-netrc --with-ssl=gnutls
+                       --enable-warnings --enable-netrc --with-ssl=gnutls \
+                       CFLAGS="$(CFLAGS)" LIBS="-lgcrypt"
 
 build: build-stamp