Files
Martin Jansa be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00

40 lines
971 B
Diff

Upstream-Status: Pending
Check for argp_parse in libargp and then in libc before using internal version
Index: wvstreams-4.6.1/configure.ac
===================================================================
--- wvstreams-4.6.1.orig/configure.ac
+++ wvstreams-4.6.1/configure.ac
@@ -142,20 +142,21 @@ CPPFLAGS="$CPPFLAGS_save"
# argp
USE_WVSTREAMS_ARGP=0
AC_CHECK_HEADERS(argp.h)
-AC_CHECK_FUNC(argp_parse)
-if test "$ac_cv_func_argp_parse" != yes \
- -o "$ac_cv_header_argp_h" != yes ; then
- (
- echo
+AC_SEARCH_LIBS([argp_parse], [argp c], [], [
+
+ if test "$ac_cv_func_argp_parse" != yes \
+ -o "$ac_cv_header_argp_h" != yes ; then
+ (
+ echo
echo 'configuring argp...'
cd argp
./configure --host=$host_cpu-$host_os || exit $?
echo 'argp configured.'
echo
- ) || exit $?
- USE_WVSTREAMS_ARGP=1
-fi
-
+ ) || exit $?
+ USE_WVSTREAMS_ARGP=1
+ fi
+])
# Function checks
AC_HEADER_DIRENT