Skip to contentSkip to conversation

php_7.3.2.bb: Switch to mysqlnd

PATCH New Khem Raj 1 participant 2 messages Mar 7, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 php_7.3.2.bb: Switch to mysqlnd

With mariadb 10.x it fails to find headers in right location during builds

https://bugs.php.net/bug.php?id=75612

---
 meta-oe/recipes-devtools/php/php_7.3.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/php/php_7.3.2.bb +2 -2
index db04ce3756..634facd4a0 100644
@@ -16,8 +16,8 @@ SRC_URI_append_class-target = " \
 SRC_URI[md5sum] = "c893ff828945c274d90e026528142439"
 SRC_URI[sha256sum] = "946f50dacbd2f61e643bb737021cbe8b1816e780ee7ad3e0cd999a1892ab0add"
 
-PACKAGECONFIG[mysql] = "--with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \
-                        --with-pdo-mysql=${STAGING_BINDIR_CROSS}/mysql_config \
+PACKAGECONFIG[mysql] = "--with-mysqli=mysqlnd \
+                        --with-pdo-mysql=mysqlnd \
                         ,--without-mysqli --without-pdo-mysql \
                         ,mysql5"
 PACKAGECONFIG[valgrind] = "--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind"
Signature · 1 line
2.21.0
author
#1 lore raw

PATCH 2/2 vlc: Add -pthread on riscv

Fixes missing atomic symols during linking e.g.

vlc-3.0.6/src/misc/picture_pool.c:201: undefined reference to `__atomic_fetch_add_2'
collect2: error: ld returned 1 exit status

---
 meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb +2 -0
index 95b6779fde..1ae213ff32 100644
@@ -3,6 +3,8 @@ require ${BPN}.inc
 # work around build failure
 EXTRA_OECONF += " --enable-libxml2=no"
 
+LDFLAGS_append_riscv64 = " -pthread"
+
 SRC_URI += " \
             file://0002-glibc-does-not-provide-strlcpy.patch \
             file://0005-libpostproc-header-check.patch \
Signature · 1 line
2.21.0