Browse Source

Merge pull request #12511 from neheb/cap3

libcap: update to 2.36
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
bac8490d25
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 21 deletions
  1. +2
    -2
      libs/libcap/Makefile
  2. +0
    -19
      libs/libcap/patches/100-portability.patch

+ 2
- 2
libs/libcap/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libcap
PKG_VERSION:=2.34
PKG_VERSION:=2.36
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/libs/security/linux-privs/libcap2
PKG_HASH:=aecdd42015955068d3d94b7caa9590fcb2de5df53ce53c61a21b912bfc0b1611
PKG_HASH:=5048c849bdbbe24d2ca59463142cb279abec5edf3ab6731ab35a596bcf538a49
PKG_MAINTAINER:=Paul Wassi <p.wassi@gmx.at>
PKG_LICENSE:=GPL-2.0-only


+ 0
- 19
libs/libcap/patches/100-portability.patch View File

@ -1,19 +0,0 @@
--- a/libcap/_makenames.c
+++ b/libcap/_makenames.c
@@ -8,7 +8,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/capability.h>
/*
* #include 'sed' generated array
@@ -23,7 +22,7 @@ struct {
};
/* this should be more than big enough (factor of three at least) */
-const char *pointers[8*sizeof(struct __user_cap_data_struct)];
+const char *pointers[8*12];
int main(void)
{

Loading…
Cancel
Save