[Buildroot] [git commit] package/libva: bump version to 2.3.0
Peter Korsgaard
peter at korsgaard.com
Tue Oct 23 23:17:37 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=aac064a3102afb35f8eaab032b9f55c910805653
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Removed patch 0001, applied upstream.
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/libva/0001-check-ssp.patch | 64 --------------------------------------
package/libva/libva.hash | 4 +--
package/libva/libva.mk | 4 +--
3 files changed, 3 insertions(+), 69 deletions(-)
diff --git a/package/libva/0001-check-ssp.patch b/package/libva/0001-check-ssp.patch
deleted file mode 100644
index ce4c42f89b..0000000000
--- a/package/libva/0001-check-ssp.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From c60ac5bc4f95c8d1ce3d44aa1dfad8636dbe3bee Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <bernd.kuhls at t-online.de>
-Date: Sun, 29 Jul 2018 00:16:25 +0200
-Subject: [PATCH] Check for -fstack-protector
-
-Not all toolchains provide support for -fstack-protector. This patch
-provides a configure check to avoid build errors like
-
-/home/buildroot/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/6.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared
-/home/buildroot/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/6.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lssp
-
-Patch sent upstream as PR 226.
-
-Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
----
- configure.ac | 16 ++++++++++++++++
- va/Makefile.am | 5 ++++-
- 2 files changed, 20 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index b0b88361..da1908cf 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -209,6 +209,22 @@ if test "$ac_cv_have_gnuc_visibility_attribute" = "yes"; then
- [Defined to 1 if GCC visibility attribute is supported])
- fi
-
-+# Check for -fstack-protector
-+ssp_cc=yes
-+if test "X$CC-cc" != "X"; then
-+ AC_MSG_CHECKING([whether ${CC-cc} accepts -fstack-protector])
-+ ssp_old_cflags="$CFLAGS"
-+ CFLAGS="$CFLAGS -fstack-protector"
-+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[alloca(100);]])], [], [ssp_cc=no])
-+ AC_MSG_RESULT([$ssp_cc])
-+ if test "X$ssp_cc" = "Xno"; then
-+ CFLAGS="$ssp_old_cflags"
-+ else
-+ AC_DEFINE([ENABLE_SSP_CC], 1, [Define if SSP C support is enabled.])
-+ fi
-+fi
-+AM_CONDITIONAL(USE_SSP, test "$ssp_cc" = "yes")
-+
- # Check for DRM (mandatory)
- LIBDRM_VERSION=libdrm_version
- PKG_CHECK_MODULES([DRM], [libdrm >= $LIBDRM_VERSION])
-diff --git a/va/Makefile.am b/va/Makefile.am
-index 5b6d49ab..0e94d0ff 100644
---- a/va/Makefile.am
-+++ b/va/Makefile.am
-@@ -77,9 +77,12 @@ libva_ldflags = \
-
- libva_cflags = \
- -Wall \
-- -fstack-protector \
- $(NULL)
-
-+if USE_SSP
-+libva_cflags += -fstack-protector
-+endif
-+
- lib_LTLIBRARIES = libva.la
- libvaincludedir = ${includedir}/va
- libvainclude_HEADERS = $(libva_source_h)
diff --git a/package/libva/libva.hash b/package/libva/libva.hash
index 72347a4f2d..333bb1d786 100644
--- a/package/libva/libva.hash
+++ b/package/libva/libva.hash
@@ -1,5 +1,5 @@
# From https://github.com/intel/libva/releases
-sha1 5b19d2fbf532f14e24c3bedb4074238a1d7f1686 libva-2.2.0.tar.bz2
+sha1 e1138529355cce78fa2edc7c5b1c5aeb40dd0ce5 libva-2.3.0.tar.bz2
# Locally computed
-sha256 6f6ca04c785544d30d315ef130a6aeb9435b75f934d7fbe0e4e9ba6084ce4ef2 libva-2.2.0.tar.bz2
+sha256 60840e50da6932ee2111e15fc8911180ff8a0d6f18bb9cc6ba8c1030098fdce4 libva-2.3.0.tar.bz2
sha256 c86a782ee845b52472dae9b9d79fb915d333628ac0efe49cdce63644814931de COPYING
diff --git a/package/libva/libva.mk b/package/libva/libva.mk
index 7c129f4d97..9a70bb83fd 100644
--- a/package/libva/libva.mk
+++ b/package/libva/libva.mk
@@ -4,14 +4,12 @@
#
################################################################################
-LIBVA_VERSION = 2.2.0
+LIBVA_VERSION = 2.3.0
LIBVA_SOURCE = libva-$(LIBVA_VERSION).tar.bz2
LIBVA_SITE = https://github.com/intel/libva/releases/download/$(LIBVA_VERSION)
LIBVA_LICENSE = MIT
LIBVA_LICENSE_FILES = COPYING
LIBVA_INSTALL_STAGING = YES
-# 0001-check-ssp.patch
-LIBVA_AUTORECONF = YES
LIBVA_DEPENDENCIES = host-pkgconf libdrm
# libdrm is a hard-dependency
More information about the buildroot
mailing list