Package: check
Followup-For: Bug #799991
Control: tags -1 patch

I've digged into that issue. Seems that PTHREAD_CFLAGS is missing in the 
pkg-config file.
See also 
http://lists.gnu.org/archive/html/autoconf-archive-maintainers/2013-06/msg00021.html
 for background.

Patch attached, will commit it to the VCS.


Tobi

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages check depends on:
ii  dpkg            1.18.2
ii  install-info    6.0.0.dfsg.1-3
ii  libsubunit-dev  0.0.18-4
ii  mawk            1.3.3-17

check recommends no packages.

check suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/x86_64-linux-gnu/pkgconfig/check.pc (from 
check:amd64 package)
diff --git a/debian/patches/01pkgconfig.patch b/debian/patches/01pkgconfig.patch
index b756e9f..c8ef284 100644
--- a/debian/patches/01pkgconfig.patch
+++ b/debian/patches/01pkgconfig.patch
@@ -9,6 +9,6 @@
 -Libs.private: @GCOV_LIBS@ @PTHREAD_LIBS@ @LIBS@
 -Cflags: -I${includedir} @PTHREAD_CFLAGS@
 +Requires: @LIBSUBUNIT_PC@
-+Libs: -L${libdir} -lcheck_pic @GCOV_LIBS@ @PTHREAD_LIBS@ @LIBS@
++Libs: -L${libdir} -lcheck_pic @GCOV_LIBS@ @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ @LIBS@
 +Libs.private:
 +Cflags: -I${includedir} -pthread

Reply via email to