diff options
Diffstat (limited to 'meta/recipes-support/npth')
-rw-r--r-- | meta/recipes-support/npth/npth/0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch | 43 | ||||
-rw-r--r-- | meta/recipes-support/npth/npth_1.6.bb | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-support/npth/npth/0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch b/meta/recipes-support/npth/npth/0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch new file mode 100644 index 0000000000..47c426b4a5 --- /dev/null +++ b/meta/recipes-support/npth/npth/0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From e43524868bb4901703d63876f9d49f73ca75b3ab Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 12 May 2021 20:27:52 -0700 | ||
4 | Subject: [PATCH] Revert "Fix problem with regression tests on recent glibc." | ||
5 | |||
6 | This reverts commit 3a9d32eb59194b989656548755066ccd9feb36ac. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | configure.ac | 8 +++----- | ||
12 | 1 file changed, 3 insertions(+), 5 deletions(-) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 8a9373c..8cda28d 100644 | ||
16 | --- a/configure.ac | ||
17 | +++ b/configure.ac | ||
18 | @@ -284,11 +284,9 @@ AC_TYPE_SSIZE_T | ||
19 | # | ||
20 | # Checks for libraries and functions. | ||
21 | # | ||
22 | -# We test for pthread_detach because glibc 2.22 includes | ||
23 | -# pthread_create but not pthread_detach. | ||
24 | if test "$have_w32_system" = no; then | ||
25 | - AC_SEARCH_LIBS([pthread_detach],[pthread]) | ||
26 | - case "x$ac_cv_search_pthread_detach" in | ||
27 | + AC_SEARCH_LIBS([pthread_create],[pthread]) | ||
28 | + case "x$ac_cv_search_pthread_create" in | ||
29 | xno) | ||
30 | have_pthread=no | ||
31 | ;; | ||
32 | @@ -297,7 +295,7 @@ if test "$have_w32_system" = no; then | ||
33 | ;; | ||
34 | *) | ||
35 | have_pthread=yes | ||
36 | - config_libs="$config_libs $ac_cv_search_pthread_detach" | ||
37 | + config_libs="$config_libs $ac_cv_search_pthread_create" | ||
38 | ;; | ||
39 | esac | ||
40 | if test "$have_pthread" != no; then | ||
41 | -- | ||
42 | 2.31.1 | ||
43 | |||
diff --git a/meta/recipes-support/npth/npth_1.6.bb b/meta/recipes-support/npth/npth_1.6.bb index 94a3f00eac..d5a149e041 100644 --- a/meta/recipes-support/npth/npth_1.6.bb +++ b/meta/recipes-support/npth/npth_1.6.bb | |||
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "\ | |||
9 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | 9 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
10 | SRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \ | 10 | SRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \ |
11 | file://pkgconfig.patch \ | 11 | file://pkgconfig.patch \ |
12 | file://0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | SRC_URI[md5sum] = "375d1a15ad969f32d25f1a7630929854" | 15 | SRC_URI[md5sum] = "375d1a15ad969f32d25f1a7630929854" |