Merge pull request #8779 from neheb/libsec

[18.06] libseccomp: Update to 2.3.3
This commit is contained in:
Nikos Mavrogiannopoulos 2019-05-01 20:15:16 +02:00 committed by GitHub
commit 5fae371ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 17 deletions

View File

@ -8,18 +8,18 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libseccomp
PKG_VERSION:=2.2.1
PKG_VERSION:=2.3.3
PKG_RELEASE:=1
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/seccomp/libseccomp/releases/download/v$(PKG_VERSION)/
PKG_HASH:=0ba1789f54786c644af54cdffc9fd0dd0a8bb2b2ee153933f658855d2851a740
PKG_HASH:=7fc28f4294cc72e61c529bedf97e705c3acf9c479a8f1a3028d4cd2ca9f3b155
PKG_MAINTAINER:=Nikos Mavrogiannopoulos <nmav@gnutls.org>
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_LIBTOOL_PATHS:=. lib
PKG_CHECK_FORMAT_SECURITY:=0
PKG_CONFIG_DEPENDS:= \
CONFIG_KERNEL_SECCOMP

View File

@ -1,14 +0,0 @@
Index: libseccomp-2.2.1/src/system.h
===================================================================
--- libseccomp-2.2.1.orig/src/system.h
+++ libseccomp-2.2.1/src/system.h
@@ -23,7 +23,9 @@
#define _SYSTEM_H
#include <linux/filter.h>
+#ifdef __GLIBC__
#include <linux/prctl.h>
+#endif
#include "configure.h"