summaryrefslogtreecommitdiffstats
path: root/meta-xfce
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-13 22:40:03 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-24 18:57:34 +0200
commit43022b71013e4fd992a7b381d70dea2df59de127 (patch)
tree9c64fd8f5608a3606d5177d0bbf1dfc7c7222b1d /meta-xfce
parent68b6fbf28a368ec34c51c8e6a7003fb5c1083554 (diff)
downloadmeta-openembedded-43022b71013e4fd992a7b381d70dea2df59de127.tar.gz
xfce4-netload-plugin: Do not include sys/sysctl.h
Its unused, moreover it helps it compile with musl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-xfce')
-rw-r--r--meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch25
-rw-r--r--meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb3
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
new file mode 100644
index 000000000..e35418192
--- /dev/null
+++ b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch
@@ -0,0 +1,25 @@
1From 7fcc7352ec11644ac8be4e9ec1584a5be3333684 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 12 Jul 2017 18:18:30 -0700
4Subject: [PATCH] Do not include sys/sysctl.h its unused on linux port
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 panel-plugin/os.h | 1 -
9 1 file changed, 1 deletion(-)
10
11diff --git a/panel-plugin/os.h b/panel-plugin/os.h
12index 473c2a4..9a5c544 100644
13--- a/panel-plugin/os.h
14+++ b/panel-plugin/os.h
15@@ -170,7 +170,6 @@
16 #elif __linux__ /* L I N U X */
17 # include <stdio.h>
18 # include <sys/param.h>
19-# include <sys/sysctl.h>
20 # include <stdlib.h>
21 # include <stdarg.h>
22 # include <unistd.h>
23--
242.13.2
25
diff --git a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
index 7d7778202..35c8861bc 100644
--- a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
+++ b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb
@@ -5,5 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=35a7203c41b86d15546dddc05995f97f"
5 5
6inherit xfce-panel-plugin 6inherit xfce-panel-plugin
7 7
8SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2 \
9 file://0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch \
10 "
8SRC_URI[md5sum] = "f25aa3242e3119b49f259a3e4a1af08b" 11SRC_URI[md5sum] = "f25aa3242e3119b49f259a3e4a1af08b"
9SRC_URI[sha256sum] = "99762781099d1e0ab9aa6a7b30c2bd94d8f658dbe61c760410d5d42d0766391c" 12SRC_URI[sha256sum] = "99762781099d1e0ab9aa6a7b30c2bd94d8f658dbe61c760410d5d42d0766391c"