mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-08 02:09:48 +03:00
Compare commits
64 Commits
godot-2023
...
2018.08.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cb24d72b2 | ||
|
|
2a228a83cd | ||
|
|
ff6f868270 | ||
|
|
1f6991999d | ||
|
|
a2ec66d59d | ||
|
|
8696365a76 | ||
|
|
a624b5d2a4 | ||
|
|
cea60ba7fe | ||
|
|
c527917997 | ||
|
|
a92358e624 | ||
|
|
28a341501d | ||
|
|
31ad690c56 | ||
|
|
bcecdc9e81 | ||
|
|
0f3608c410 | ||
|
|
f05926ac4b | ||
|
|
6e9ddee511 | ||
|
|
9992701228 | ||
|
|
e926a221dd | ||
|
|
25e9a27a77 | ||
|
|
fac91ebe09 | ||
|
|
4556bd42c3 | ||
|
|
91aa53243e | ||
|
|
3b3074ca26 | ||
|
|
7f7e9f92b3 | ||
|
|
5e8d616ed2 | ||
|
|
1a5f134857 | ||
|
|
ab2042940d | ||
|
|
839bd81b69 | ||
|
|
bae8e78df8 | ||
|
|
61df494a4d | ||
|
|
6646632384 | ||
|
|
c10d3f85c3 | ||
|
|
a89f2b1f5f | ||
|
|
951961823b | ||
|
|
e751a51e53 | ||
|
|
dc43b89656 | ||
|
|
9d23a7b277 | ||
|
|
d2edaa70b1 | ||
|
|
1ed276fbcc | ||
|
|
268bbc5976 | ||
|
|
570e400b03 | ||
|
|
17eff6f3cb | ||
|
|
6a3a2e13e7 | ||
|
|
ab84d0a6c8 | ||
|
|
48a445bdc4 | ||
|
|
1c890f7418 | ||
|
|
4229668539 | ||
|
|
bb59b98d99 | ||
|
|
567cebbff4 | ||
|
|
fd102d6c98 | ||
|
|
1ff5c35df7 | ||
|
|
be477fe37e | ||
|
|
e211503c8c | ||
|
|
a858fa6ed4 | ||
|
|
74e73e9830 | ||
|
|
4e39c0fb53 | ||
|
|
3f38562d65 | ||
|
|
9fde965182 | ||
|
|
60ebac8fb8 | ||
|
|
eb09c44764 | ||
|
|
0dedba776b | ||
|
|
345a2d358a | ||
|
|
ce1e6f2671 | ||
|
|
ea968163b6 |
23
CHANGES
23
CHANGES
@@ -1,3 +1,26 @@
|
||||
2018.08.1, Released October 7th, 2018
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Add a number of patches to fix build errors for host utilities
|
||||
on modern distributions using glibc-2.28.
|
||||
|
||||
mkusers: Ensure existing group members are preserved when a
|
||||
group is reprocessed.
|
||||
|
||||
printvars: Fix issue with exceeding shell command line length
|
||||
limits for certain setups.
|
||||
|
||||
Updated/fixed packages: acpid, android-tools, apache,
|
||||
arp-scan, bandwidthd, bind, brltty, clamav, connman, cppcms,
|
||||
domoticz, dtc, fio, gcc, gdb, ghostscript, gnupg, httpping,
|
||||
igmpproxy, imlib2, ipsec-tools, libesmtp, libnfs, libxslt,
|
||||
links, lua, mosquitto, nilfs-utils, ocrad, parted, php,
|
||||
python-django, screen, shairport-sync, strongswan,
|
||||
vboot-utils, webkitgtk, wireguard, x265 xen, xlib_libXdmcp,
|
||||
xlib_libXfont, xlib_libXft, xlib_libxshmfence,
|
||||
xutil_makedepend, zeromq
|
||||
|
||||
2018.08, Released September 6th, 2018
|
||||
|
||||
Minor fixes.
|
||||
|
||||
7
Makefile
7
Makefile
@@ -87,9 +87,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2018.08
|
||||
export BR2_VERSION := 2018.08.1
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1536263000
|
||||
BR2_VERSION_EPOCH = 1538904000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -977,7 +977,8 @@ $(BUILD_DIR)/.br2-external.in: $(BUILD_DIR)
|
||||
# displayed.
|
||||
.PHONY: printvars
|
||||
printvars:
|
||||
@:$(foreach V, \
|
||||
@:
|
||||
$(foreach V, \
|
||||
$(sort $(if $(VARS),$(filter $(VARS),$(.VARIABLES)),$(.VARIABLES))), \
|
||||
$(if $(filter-out environment% default automatic, \
|
||||
$(origin $V)), \
|
||||
|
||||
@@ -10,6 +10,8 @@ config BR2_TARGET_AT91BOOTSTRAP3
|
||||
- Physical media algorithm such as DataFlash, NandFlash, NOR
|
||||
Flash...
|
||||
|
||||
https://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap
|
||||
|
||||
if BR2_TARGET_AT91BOOTSTRAP3
|
||||
|
||||
choice
|
||||
|
||||
@@ -447,6 +447,9 @@ endif # BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG
|
||||
endif # BR2_TARGET_UBOOT && BR_BUILDING
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y)
|
||||
UBOOT_DEPENDENCIES += \
|
||||
$(BR2_BISON_HOST_DEPENDENCY) \
|
||||
$(BR2_FLEX_HOST_DEPENDENCY)
|
||||
$(eval $(generic-package))
|
||||
else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
|
||||
UBOOT_MAKE_ENV = $(TARGET_MAKE_ENV)
|
||||
|
||||
@@ -4,3 +4,5 @@ config BR2_TARGET_VEXPRESS_FIRMWARE
|
||||
help
|
||||
Versatile Express firmware from ARM, with Linaro mods last
|
||||
change.
|
||||
|
||||
https://git.linaro.org/arm/vexpress-firmware.git
|
||||
|
||||
@@ -5,6 +5,8 @@ config BR2_TARGET_XLOADER
|
||||
The x-loader bootloader. It is mainly used on OMAP-based
|
||||
platforms.
|
||||
|
||||
http://omappedia.org/wiki/Linux_OMAP_Kernel_Main
|
||||
|
||||
if BR2_TARGET_XLOADER
|
||||
config BR2_TARGET_XLOADER_BOARDNAME
|
||||
string "x-loader board name"
|
||||
|
||||
@@ -15,9 +15,15 @@ define ACPID_INSTALL_INIT_SYSV
|
||||
$(TARGET_DIR)/etc/init.d/S02acpid
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_INIT_SYSV)$(BR2_INIT_SYSTEMD),y)
|
||||
ACPID_POWEROFF_CMD = /sbin/shutdown -hP now
|
||||
else
|
||||
ACPID_POWEROFF_CMD = /sbin/poweroff
|
||||
endif
|
||||
|
||||
define ACPID_SET_EVENTS
|
||||
mkdir -p $(TARGET_DIR)/etc/acpi/events
|
||||
printf "event=button[ /]power\naction=/sbin/poweroff\n" \
|
||||
printf 'event=button[ /]power\naction=%s\n' '$(ACPID_POWEROFF_CMD)' \
|
||||
>$(TARGET_DIR)/etc/acpi/events/powerbtn
|
||||
endef
|
||||
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
usb_linux.c: fix minor()/major() build failure due to glibc 2.28
|
||||
|
||||
glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
|
||||
and therefore <sys/sysmacros.h> must be included explicitly when
|
||||
major()/minor() are used.
|
||||
|
||||
This commit adds a patch to directly include <sys/sysmacros.h> into
|
||||
all usb_linux.c files where minor() and major() macros are used.
|
||||
|
||||
diff -urpN host-android-tools-4.2.2+git20130218.orig/core/adb/usb_linux.c host-android-tools-4.2.2+git20130218/core/adb/usb_linux.c
|
||||
--- host-android-tools-4.2.2+git20130218.orig/core/adb/usb_linux.c 2013-02-18 15:49:03.000000000 +0100
|
||||
+++ host-android-tools-4.2.2+git20130218/core/adb/usb_linux.c 2018-09-09 11:47:16.476292546 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <dirent.h>
|
||||
diff -urpN host-android-tools-4.2.2+git20130218.orig/core/adbd/usb_linux.c host-android-tools-4.2.2+git20130218/core/adbd/usb_linux.c
|
||||
--- host-android-tools-4.2.2+git20130218.orig/core/adbd/usb_linux.c 2018-09-09 02:32:57.154503866 +0200
|
||||
+++ host-android-tools-4.2.2+git20130218/core/adbd/usb_linux.c 2018-09-09 11:47:28.148353880 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <dirent.h>
|
||||
diff -urpN host-android-tools-4.2.2+git20130218.orig/core/fastboot/usb_linux.c host-android-tools-4.2.2+git20130218/core/fastboot/usb_linux.c
|
||||
--- host-android-tools-4.2.2+git20130218.orig/core/fastboot/usb_linux.c 2013-02-18 15:49:03.000000000 +0100
|
||||
+++ host-android-tools-4.2.2+git20130218/core/fastboot/usb_linux.c 2018-09-09 11:46:53.028169154 +0200
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
@@ -15,6 +15,8 @@ config BR2_PACKAGE_ANDROID_TOOLS
|
||||
can be used to interact with target devices using of these
|
||||
protocols.
|
||||
|
||||
https://wiki.debian.org/AndroidTools#Original_android-tools_package
|
||||
|
||||
if BR2_PACKAGE_ANDROID_TOOLS
|
||||
|
||||
# We need kernel headers that support the __SANE_USERSPACE_TYPES__
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From http://archive.apache.org/dist/httpd/httpd-2.4.34.tar.bz2.sha256
|
||||
sha256 fa53c95631febb08a9de41fd2864cfff815cf62d9306723ab0d4b8d7aa1638f0 httpd-2.4.34.tar.bz2
|
||||
# From http://archive.apache.org/dist/httpd/httpd-2.4.35.tar.bz2.sha256
|
||||
sha256 2607c6fdd4d12ac3f583127629291e9432b247b782396a563bec5678aae69b56 httpd-2.4.35.tar.bz2
|
||||
# Locally computed
|
||||
sha256 c49c0819a726b70142621715dae3159c47b0349c2bc9db079070f28dadac0229 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
APACHE_VERSION = 2.4.34
|
||||
APACHE_VERSION = 2.4.35
|
||||
APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2
|
||||
APACHE_SITE = http://archive.apache.org/dist/httpd
|
||||
APACHE_LICENSE = Apache-2.0
|
||||
|
||||
@@ -7,4 +7,4 @@ config BR2_PACKAGE_ARP_SCAN
|
||||
arp-scan is a command-line tool that uses the ARP protocol to
|
||||
discover and fingerprint IP hosts on the local network.
|
||||
|
||||
http://www.nta-monitor.com/wiki/index.php/Arp-scan_Documentation
|
||||
https://github.com/royhills/arp-scan
|
||||
|
||||
@@ -25,8 +25,10 @@ config BR2_PACKAGE_BANDWIDTHD
|
||||
available on github that works on making BandwidthD's build
|
||||
process more compatible with buildroot's.
|
||||
|
||||
Upstream: http://bandwidthd.sourceforge.net/
|
||||
Github fork: http://github.com/nroach44/bandwidthd
|
||||
Upstream:
|
||||
http://bandwidthd.sourceforge.net/
|
||||
Github fork:
|
||||
http://github.com/nroach44/bandwidthd
|
||||
|
||||
if BR2_PACKAGE_BANDWIDTHD
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Verified from https://ftp.isc.org/isc/bind9/9.11.4-P1/bind-9.11.4-P1.tar.gz.asc
|
||||
# with key BE0E9748B718253A28BB89FFF1B11BF05CF02E57
|
||||
sha256 b0e0dc3c8bf26989b1cad53f90d44a48e39404afc68f65c45bae79b446f0fe23 bind-9.11.4-P1.tar.gz
|
||||
sha256 a85af7b629109d41285c7adeae1515daac638bbe4d5dc30d1f4b343dff09d811 bind-9.11.4-P2.tar.gz
|
||||
sha256 336f3c40e37a1a13690efb4c63e20908faa4c40498cc02f3579fb67d3a1933a5 COPYRIGHT
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BIND_VERSION = 9.11.4-P1
|
||||
BIND_VERSION = 9.11.4-P2
|
||||
BIND_SITE = http://ftp.isc.org/isc/bind9/$(BIND_VERSION)
|
||||
# bind does not support parallel builds.
|
||||
BIND_MAKE = $(MAKE1)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
sha256 4ebf1df5922df0efccac4795f5bd1c514fc850348c34d9ec0868e2798b565a36 brltty-5.5.tar.xz
|
||||
sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad LICENSE-GPL
|
||||
sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f LICENSE-LGPL
|
||||
sha256 6ba58188449642de8adefd7adabb436185792c5c51a4b5d04650423c2151dc50 README
|
||||
|
||||
@@ -9,7 +9,8 @@ BRLTTY_SOURCE = brltty-$(BRLTTY_VERSION).tar.xz
|
||||
BRLTTY_SITE = http://brltty.com/archive
|
||||
BRLTTY_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install
|
||||
BRLTTY_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install
|
||||
BRLTTY_LICENSE_FILES = LICENSE-GPL LICENSE-LGPL
|
||||
BRLTTY_LICENSE = GPL-2.0+, LGPL-2.1+ (data, client side)
|
||||
BRLTTY_LICENSE_FILES = LICENSE-GPL LICENSE-LGPL README
|
||||
|
||||
BRLTTY_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-autoconf host-pkgconf \
|
||||
$(if $(BR2_PACKAGE_AT_SPI2_CORE),at-spi2-core)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 84e026655152247de7237184ee13003701c40be030dd68e0316111049f58a59f clamav-0.100.1.tar.gz
|
||||
sha256 4a2e4f0cd41e62adb5a713b4a1857c49145cd09a69957e6d946ecad575206dd6 clamav-0.100.2.tar.gz
|
||||
sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING
|
||||
sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING.bzip2
|
||||
sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING.file
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CLAMAV_VERSION = 0.100.1
|
||||
CLAMAV_VERSION = 0.100.2
|
||||
CLAMAV_SITE = https://www.clamav.net/downloads/production
|
||||
CLAMAV_LICENSE = GPL-2.0
|
||||
CLAMAV_LICENSE_FILES = COPYING COPYING.bzip2 COPYING.file COPYING.getopt \
|
||||
|
||||
@@ -14,7 +14,7 @@ config BR2_PACKAGE_CONNMAN
|
||||
for managing internet connections within embedded devices
|
||||
running the Linux operating system.
|
||||
|
||||
For more information, see https://01.org/connman
|
||||
https://01.org/connman
|
||||
|
||||
if BR2_PACKAGE_CONNMAN
|
||||
|
||||
|
||||
@@ -3,3 +3,5 @@ sha1 15f21897c14acfd4b0c74622e49d95857f2fe939 cppcms-1.0.5.tar.bz2
|
||||
md5 d668c201dd31fff8090380ebdc0bcc2b cppcms-1.0.5.tar.bz2
|
||||
# Locally computed:
|
||||
sha256 84b685977bca97c3e997497f227bd5906adb80555066d811a7046b01c2f51865 cppcms-1.0.5.tar.bz2
|
||||
sha256 2ff22bab712c46dbadf9bae0f759bbc95d5d87614cacb7ebc3d5a50910603d6a COPYING.TXT
|
||||
sha256 70fbf0194bee0f444c57ecd47e7d976a3e5a890e4421a21aab49f2d214267e69 THIRD_PARTY_SOFTWARE.TXT
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
CPPCMS_VERSION = 1.0.5
|
||||
CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2
|
||||
CPPCMS_LICENSE = LGPL-3.0
|
||||
CPPCMS_LICENSE_FILES = COPYING.TXT
|
||||
CPPCMS_LICENSE = LGPL-3.0, BSL-1.0 (boost), MIT (base64.cpp), Public Domain (json2.js), Zlib (md5)
|
||||
CPPCMS_LICENSE_FILES = COPYING.TXT THIRD_PARTY_SOFTWARE.TXT
|
||||
CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION)
|
||||
CPPCMS_INSTALL_STAGING = YES
|
||||
CPPCMS_CXXFLAGS = $(TARGET_CXXFLAGS)
|
||||
|
||||
@@ -3,6 +3,7 @@ config BR2_PACKAGE_DOMOTICZ
|
||||
depends on BR2_USE_MMU # mosquitto
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mosquitto
|
||||
depends on !BR2_STATIC_LIBS # mosquitto
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sleep_for
|
||||
# pthread_condattr_setclock
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
@@ -27,10 +28,11 @@ config BR2_PACKAGE_DOMOTICZ
|
||||
|
||||
http://domoticz.com
|
||||
|
||||
comment "domoticz needs lua >= 5.2 and a toolchain w/ C++, NPTL, wchar, dynamic library"
|
||||
comment "domoticz needs lua >= 5.2 and a toolchain w/ C++, gcc >= 4.8, NPTL, wchar, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
||||
!(BR2_PACKAGE_LUA_5_2 || BR2_PACKAGE_LUA_5_3)
|
||||
|
||||
138
package/dtc/0001-Kill-bogus-TYPE_BLOB-marker-type.patch
Normal file
138
package/dtc/0001-Kill-bogus-TYPE_BLOB-marker-type.patch
Normal file
@@ -0,0 +1,138 @@
|
||||
From 9619c8619c37b9aea98100bcc15c51a5642e877e Mon Sep 17 00:00:00 2001
|
||||
From: Greg Kurz <groug@kaod.org>
|
||||
Date: Thu, 30 Aug 2018 12:01:59 +0200
|
||||
Subject: [PATCH] Kill bogus TYPE_BLOB marker type
|
||||
|
||||
Since commit 32b9c6130762 "Preserve datatype markers when emitting dts
|
||||
format", we no longer try to guess the value type. Instead, we reuse
|
||||
the type of the datatype markers when they are present, if the type
|
||||
is either TYPE_UINT* or TYPE_STRING.
|
||||
|
||||
This causes 'dtc -I fs' to crash:
|
||||
|
||||
Starting program: /root/dtc -q -f -O dts -I fs /proc/device-tree
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
|
||||
Program received signal SIGSEGV, Segmentation fault.
|
||||
__strlen_power8 () at ../sysdeps/powerpc/powerpc64/power8/strlen.S:47
|
||||
47 ld r12,0(r4) /* Load doubleword from memory. */
|
||||
(gdb) bt
|
||||
#0 __strlen_power8 () at ../sysdeps/powerpc/powerpc64/power8/strlen.S:47
|
||||
#1 0x00007ffff7de3d10 in __GI__IO_fputs (str=<optimized out>,
|
||||
fp=<optimized out>) at iofputs.c:33
|
||||
#2 0x000000001000c7a0 in write_propval (prop=0x100525e0,
|
||||
f=0x7ffff7f718a0 <_IO_2_1_stdout_>) at treesource.c:245
|
||||
|
||||
The offending line is:
|
||||
|
||||
fprintf(f, "%s", delim_start[emit_type]);
|
||||
|
||||
where emit_type is TYPE_BLOB and:
|
||||
|
||||
static const char *delim_start[] = {
|
||||
[TYPE_UINT8] = "[",
|
||||
[TYPE_UINT16] = "/bits/ 16 <",
|
||||
[TYPE_UINT32] = "<",
|
||||
[TYPE_UINT64] = "/bits/ 64 <",
|
||||
[TYPE_STRING] = "",
|
||||
};
|
||||
|
||||
/* Data blobs */
|
||||
enum markertype {
|
||||
TYPE_NONE,
|
||||
REF_PHANDLE,
|
||||
REF_PATH,
|
||||
LABEL,
|
||||
TYPE_UINT8,
|
||||
TYPE_UINT16,
|
||||
TYPE_UINT32,
|
||||
TYPE_UINT64,
|
||||
TYPE_BLOB,
|
||||
TYPE_STRING,
|
||||
};
|
||||
|
||||
Because TYPE_BLOB < TYPE_STRING and delim_start[] is a static array,
|
||||
delim_start[emit_type] is 0x0. The glibc usually prints out "(null)"
|
||||
when one passes 0x0 to %s, but it seems to call fputs() internally if
|
||||
the format is exactly "%s", hence the crash.
|
||||
|
||||
TYPE_BLOB basically means the data comes from a file and we don't know
|
||||
its type. We don't care for the former, and the latter is TYPE_NONE.
|
||||
|
||||
So let's drop TYPE_BLOB completely and use TYPE_NONE instead when reading
|
||||
the file. Then, try to guess the data type at emission time, like the
|
||||
code already does for refs and labels.
|
||||
|
||||
Instead of adding yet another check for TYPE_NONE, an helper is introduced
|
||||
to check if the data marker has type information, ie, >= TYPE_UINT8.
|
||||
|
||||
Fixes: 32b9c61307629ac76c6ac0bead6f926d579b3d2c
|
||||
Suggested-by: David Gibson <david@gibson.dropbear.id.au>
|
||||
Signed-off-by: Greg Kurz <groug@kaod.org>
|
||||
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
||||
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
||||
---
|
||||
data.c | 2 +-
|
||||
dtc.h | 1 -
|
||||
treesource.c | 9 +++++++--
|
||||
3 files changed, 8 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/data.c b/data.c
|
||||
index accdfaef6668..4a204145cc7b 100644
|
||||
--- a/data.c
|
||||
+++ b/data.c
|
||||
@@ -95,7 +95,7 @@ struct data data_copy_file(FILE *f, size_t maxlen)
|
||||
{
|
||||
struct data d = empty_data;
|
||||
|
||||
- d = data_add_marker(d, TYPE_BLOB, NULL);
|
||||
+ d = data_add_marker(d, TYPE_NONE, NULL);
|
||||
while (!feof(f) && (d.len < maxlen)) {
|
||||
size_t chunksize, ret;
|
||||
|
||||
diff --git a/dtc.h b/dtc.h
|
||||
index 303c2a6a73b7..51c03ef64dbe 100644
|
||||
--- a/dtc.h
|
||||
+++ b/dtc.h
|
||||
@@ -82,7 +82,6 @@ enum markertype {
|
||||
TYPE_UINT16,
|
||||
TYPE_UINT32,
|
||||
TYPE_UINT64,
|
||||
- TYPE_BLOB,
|
||||
TYPE_STRING,
|
||||
};
|
||||
extern const char *markername(enum markertype markertype);
|
||||
diff --git a/treesource.c b/treesource.c
|
||||
index f99544d72344..53e62036ad0e 100644
|
||||
--- a/treesource.c
|
||||
+++ b/treesource.c
|
||||
@@ -133,9 +133,14 @@ static void write_propval_int(FILE *f, const char *p, size_t len, size_t width)
|
||||
}
|
||||
}
|
||||
|
||||
+static bool has_data_type_information(struct marker *m)
|
||||
+{
|
||||
+ return m->type >= TYPE_UINT8;
|
||||
+}
|
||||
+
|
||||
static struct marker *next_type_marker(struct marker *m)
|
||||
{
|
||||
- while (m && (m->type == LABEL || m->type == REF_PHANDLE || m->type == REF_PATH))
|
||||
+ while (m && !has_data_type_information(m))
|
||||
m = m->next;
|
||||
return m;
|
||||
}
|
||||
@@ -225,7 +230,7 @@ static void write_propval(FILE *f, struct property *prop)
|
||||
size_t chunk_len;
|
||||
const char *p = &prop->val.val[m->offset];
|
||||
|
||||
- if (m->type < TYPE_UINT8)
|
||||
+ if (!has_data_type_information(m))
|
||||
continue;
|
||||
|
||||
chunk_len = type_marker_length(m);
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 1952db4d534221e6e8454f851dfcc38328b0ed4a3f499ea25a51ca2b5ccc8136 fio-fio-2.20.tar.gz
|
||||
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
||||
sha256 8a240c1ad13d1fe3e58588643d81d0695899be4a669fe6d8fafa76ca6a89db2c MORAL-LICENSE
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
FIO_VERSION = fio-2.20
|
||||
FIO_SITE = git://git.kernel.dk/fio.git
|
||||
FIO_LICENSE = GPL-2.0 + special obligations
|
||||
FIO_LICENSE_FILES = COPYING
|
||||
FIO_LICENSE = GPL-2.0
|
||||
FIO_LICENSE_FILES = COPYING MORAL-LICENSE
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBAIO),y)
|
||||
FIO_DEPENDENCIES += libaio
|
||||
|
||||
@@ -32,6 +32,8 @@ config BR2_GCC_VERSION_4_9_X
|
||||
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
|
||||
# glibc >= 2.26 needs gcc >= 6.2
|
||||
depends on !(BR2_TOOLCHAIN_USES_GLIBC && BR2_powerpc64le)
|
||||
# glibc >= 2.27 needs gcc >= 5
|
||||
depends on !(BR2_TOOLCHAIN_USES_GLIBC && (BR2_aarch64 || BR2_aarch64_be))
|
||||
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_GCC_VERSION_5_X
|
||||
|
||||
@@ -0,0 +1,172 @@
|
||||
From 083849deeeec2854b2657b46380273ee13f4fa1b Mon Sep 17 00:00:00 2001
|
||||
From: Sergio Durigan Junior <sergiodj@redhat.com>
|
||||
Date: Wed, 12 Sep 2018 13:16:02 -0400
|
||||
Subject: [PATCH] Move 'is_regular_file' from common-utils.c to filestuff.c
|
||||
|
||||
There is no reason for 'is_regular_file' to be in common-utils.c; it
|
||||
belongs to 'filestuff.c'. This commit moves the function definition
|
||||
and its prototype to the appropriate files.
|
||||
|
||||
The motivation behind this move is a failure that happens on certain
|
||||
cross-compilation environments when compiling the IPA library, due to
|
||||
the way gnulib probes the need for a 'stat' call replacement. Because
|
||||
configure checks when cross-compiling are more limited, gnulib decides
|
||||
that it needs to substitute the 'stat' calls its own 'rpl_stat';
|
||||
however, the IPA library doesn't link with gnulib, which leads to an
|
||||
error when compiling 'common-utils.c':
|
||||
|
||||
...
|
||||
/opt/x86-core2--musl--bleeding-edge-2018.09-1/bin/i686-buildroot-linux-musl-g++ -shared -fPIC -Wl,--soname=libinproctrace.so -Wl,--no-undefined -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I. -I. -I./../common -I./../regformats -I./.. -I./../../include -I./../gnulib/import -Ibuild-gnulib-gdbserver/import -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -DGDBSERVER \
|
||||
-Wl,--dynamic-list=./proc-service.list -o libinproctrace.so ax-ipa.o common-utils-ipa.o errors-ipa.o format-ipa.o print-utils-ipa.o regcache-ipa.o remote-utils-ipa.o rsp-low-ipa.o tdesc-ipa.o tracepoint-ipa.o utils-ipa.o vec-ipa.o linux-i386-ipa.o linux-x86-tdesc-ipa.o arch/i386-ipa.o -ldl -pthread
|
||||
/opt/x86-core2--musl--bleeding-edge-2018.09-1/lib/gcc/i686-buildroot-linux-musl/8.2.0/../../../../i686-buildroot-linux-musl/bin/ld: common-utils-ipa.o: in function `is_regular_file(char const*, int*)':
|
||||
common-utils.c:(.text+0x695): undefined reference to `rpl_stat'
|
||||
collect2: error: ld returned 1 exit status
|
||||
Makefile:413: recipe for target 'libinproctrace.so' failed
|
||||
make[1]: *** [libinproctrace.so] Error 1
|
||||
...
|
||||
|
||||
More details can also be found at:
|
||||
|
||||
https://sourceware.org/ml/gdb-patches/2018-09/msg00304.html
|
||||
|
||||
The most simple fix for this problem is to move 'is_regular_file' to
|
||||
'filestuff.c', which is not used by IPA. This ends up making the
|
||||
files more logically organized as well, since 'is_regular_file' is a
|
||||
file operation.
|
||||
|
||||
No regressions found.
|
||||
|
||||
gdb/ChangeLog:
|
||||
2018-09-12 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||
|
||||
* common/common-utils.c: Don't include '<sys/stat.h>'.
|
||||
(is_regular_file): Move to...
|
||||
* common/filestuff.c (is_regular_file): ... here.
|
||||
* common/common-utils.h (is_regular_file): Move to...
|
||||
* common/filestuff.h (is_regular_file): ... here.
|
||||
|
||||
(cherry picked from commit 3c025cfe5efc44eb4dfb03b53dca28e75096dd1e)
|
||||
[Romain: backport to gdb 8.1 and remove ChangeLog enty]
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
gdb/common/common-utils.c | 30 ------------------------------
|
||||
gdb/common/common-utils.h | 5 -----
|
||||
gdb/common/filestuff.c | 31 +++++++++++++++++++++++++++++++
|
||||
gdb/common/filestuff.h | 5 +++++
|
||||
4 files changed, 36 insertions(+), 35 deletions(-)
|
||||
|
||||
diff --git a/gdb/common/common-utils.c b/gdb/common/common-utils.c
|
||||
index 80de826ba78..90a06390141 100644
|
||||
--- a/gdb/common/common-utils.c
|
||||
+++ b/gdb/common/common-utils.c
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "common-defs.h"
|
||||
#include "common-utils.h"
|
||||
#include "host-defs.h"
|
||||
-#include <sys/stat.h>
|
||||
#include <ctype.h>
|
||||
|
||||
/* The xmalloc() (libiberty.h) family of memory management routines.
|
||||
@@ -411,32 +410,3 @@ stringify_argv (const std::vector<char *> &args)
|
||||
}
|
||||
|
||||
/* See common/common-utils.h. */
|
||||
-
|
||||
-bool
|
||||
-is_regular_file (const char *name, int *errno_ptr)
|
||||
-{
|
||||
- struct stat st;
|
||||
- const int status = stat (name, &st);
|
||||
-
|
||||
- /* Stat should never fail except when the file does not exist.
|
||||
- If stat fails, analyze the source of error and return true
|
||||
- unless the file does not exist, to avoid returning false results
|
||||
- on obscure systems where stat does not work as expected. */
|
||||
-
|
||||
- if (status != 0)
|
||||
- {
|
||||
- if (errno != ENOENT)
|
||||
- return true;
|
||||
- *errno_ptr = ENOENT;
|
||||
- return false;
|
||||
- }
|
||||
-
|
||||
- if (S_ISREG (st.st_mode))
|
||||
- return true;
|
||||
-
|
||||
- if (S_ISDIR (st.st_mode))
|
||||
- *errno_ptr = EISDIR;
|
||||
- else
|
||||
- *errno_ptr = EINVAL;
|
||||
- return false;
|
||||
-}
|
||||
diff --git a/gdb/common/common-utils.h b/gdb/common/common-utils.h
|
||||
index 5408c354693..2320318de74 100644
|
||||
--- a/gdb/common/common-utils.h
|
||||
+++ b/gdb/common/common-utils.h
|
||||
@@ -146,9 +146,4 @@ in_inclusive_range (T value, T low, T high)
|
||||
return value >= low && value <= high;
|
||||
}
|
||||
|
||||
-/* Return true if the file NAME exists and is a regular file.
|
||||
- If the result is false then *ERRNO_PTR is set to a useful value assuming
|
||||
- we're expecting a regular file. */
|
||||
-extern bool is_regular_file (const char *name, int *errno_ptr);
|
||||
-
|
||||
#endif
|
||||
diff --git a/gdb/common/filestuff.c b/gdb/common/filestuff.c
|
||||
index f5a754ffa66..fa10165a7ca 100644
|
||||
--- a/gdb/common/filestuff.c
|
||||
+++ b/gdb/common/filestuff.c
|
||||
@@ -417,3 +417,34 @@ make_cleanup_close (int fd)
|
||||
*saved_fd = fd;
|
||||
return make_cleanup_dtor (do_close_cleanup, saved_fd, xfree);
|
||||
}
|
||||
+
|
||||
+/* See common/filestuff.h. */
|
||||
+
|
||||
+bool
|
||||
+is_regular_file (const char *name, int *errno_ptr)
|
||||
+{
|
||||
+ struct stat st;
|
||||
+ const int status = stat (name, &st);
|
||||
+
|
||||
+ /* Stat should never fail except when the file does not exist.
|
||||
+ If stat fails, analyze the source of error and return true
|
||||
+ unless the file does not exist, to avoid returning false results
|
||||
+ on obscure systems where stat does not work as expected. */
|
||||
+
|
||||
+ if (status != 0)
|
||||
+ {
|
||||
+ if (errno != ENOENT)
|
||||
+ return true;
|
||||
+ *errno_ptr = ENOENT;
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ if (S_ISREG (st.st_mode))
|
||||
+ return true;
|
||||
+
|
||||
+ if (S_ISDIR (st.st_mode))
|
||||
+ *errno_ptr = EISDIR;
|
||||
+ else
|
||||
+ *errno_ptr = EINVAL;
|
||||
+ return false;
|
||||
+}
|
||||
diff --git a/gdb/common/filestuff.h b/gdb/common/filestuff.h
|
||||
index 92a2a5f4c70..cc6dd861379 100644
|
||||
--- a/gdb/common/filestuff.h
|
||||
+++ b/gdb/common/filestuff.h
|
||||
@@ -84,4 +84,9 @@ extern int gdb_pipe_cloexec (int filedes[2]);
|
||||
|
||||
extern struct cleanup *make_cleanup_close (int fd);
|
||||
|
||||
+/* Return true if the file NAME exists and is a regular file.
|
||||
+ If the result is false then *ERRNO_PTR is set to a useful value assuming
|
||||
+ we're expecting a regular file. */
|
||||
+extern bool is_regular_file (const char *name, int *errno_ptr);
|
||||
+
|
||||
#endif /* FILESTUFF_H */
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/SHA512SUMS
|
||||
sha512 0c1f59b743f92f9cf7000b06f6209010e583ef4d6899c20ed245721dea3c08fd58b9e2d1513fe83765ab6be233bc7ab250cf18054e4d09de4073b1111e38035f ghostscript-9.23.tar.xz
|
||||
# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs925/SHA512SUMS
|
||||
sha512 7a1c0b7546ed523f50c1452d4a1c13fcf043d6060fc9708bbc4b543f66ecb1b619b6e71998094ac702ef44a2fd159b6523271de19b1cae352981ef51fb637651 ghostscript-9.25.tar.xz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 6f852249f975287b3efd43a5883875e47fa9f3125e2f1b18b5c09517ac30ecf2 LICENSE
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GHOSTSCRIPT_VERSION = 9.23
|
||||
GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923
|
||||
GHOSTSCRIPT_VERSION = 9.25
|
||||
GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs925
|
||||
GHOSTSCRIPT_SOURCE = ghostscript-$(GHOSTSCRIPT_VERSION).tar.xz
|
||||
GHOSTSCRIPT_LICENSE = AGPL-3.0
|
||||
GHOSTSCRIPT_LICENSE_FILES = LICENSE
|
||||
@@ -27,8 +27,8 @@ GHOSTSCRIPT_DEPENDENCIES = \
|
||||
# Inspired by linuxfromscratch:
|
||||
# http://www.linuxfromscratch.org/blfs/view/svn/pst/gs.html
|
||||
define GHOSTSCRIPT_REMOVE_LIBS
|
||||
rm -rf $(@D)/freetype $(@D)/ijs $(@D)/jpeg $(@D)/lcms2 \
|
||||
$(@D)/lcms2art $(@D)/libpng $(@D)/tiff $(@D)/zlib
|
||||
rm -rf $(@D)/freetype $(@D)/ijs $(@D)/jpeg $(@D)/lcms2mt \
|
||||
$(@D)/libpng $(@D)/tiff $(@D)/zlib
|
||||
endef
|
||||
GHOSTSCRIPT_POST_PATCH_HOOKS += GHOSTSCRIPT_REMOVE_LIBS
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ config BR2_PACKAGE_GNUPG
|
||||
bool "gnupg"
|
||||
depends on !BR2_PACKAGE_GNUPG2
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
GnuPG is the GNU project's complete and free implementation
|
||||
of the OpenPGP standard as defined by RFC4880. GnuPG allows
|
||||
|
||||
@@ -9,7 +9,7 @@ GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2
|
||||
GNUPG_SITE = https://gnupg.org/ftp/gcrypt/gnupg
|
||||
GNUPG_LICENSE = GPL-3.0+
|
||||
GNUPG_LICENSE_FILES = COPYING
|
||||
GNUPG_DEPENDENCIES = zlib ncurses $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
GNUPG_DEPENDENCIES = zlib $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
GNUPG_CONF_ENV = ac_cv_sys_symbol_underscore=no
|
||||
GNUPG_CONF_OPTS = \
|
||||
--disable-rpath \
|
||||
@@ -18,7 +18,7 @@ GNUPG_CONF_OPTS = \
|
||||
--enable-sha256 \
|
||||
--enable-sha512
|
||||
|
||||
HOST_GNUPG_DEPENDENCIES = host-zlib host-ncurses
|
||||
HOST_GNUPG_DEPENDENCIES = host-zlib
|
||||
HOST_GNUPG_CONF_OPTS = \
|
||||
--disable-rpath \
|
||||
--enable-minimal \
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 3e895a0a6d7bd79de25a255a1376d4da88eb09c34efdd0476ab5a907e75bfaf8 httping-2.5.tgz
|
||||
sha256 c5db2e5b9a692fcdf2bd370f1533529063fbcf8947a8f5ee9d4b050a14e0566d license.txt
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
# Locally computed:
|
||||
sha256 e60331031f85d1fb834c5272a134f32d32e7834718da19ba3f787dff68389a31 igmpproxy-f47644d8fa7266a784f3ec7b251e7d318bc2f0a9.tar.gz
|
||||
sha256 be3d05af93dbbc4650f8d641d8e1bec220af4a729e07ba71e949c25b93a1b4f6 COPYING
|
||||
sha256 c4f65d5d396ad518a37d30b83fe33897661858dc174ff64a15d0461630ce64e4 GPL.txt
|
||||
sha256 4328a21f0822caa9976356623118bcdcc9970c7a0f9a3deeba23c779b7cfb5d1 Stanford.txt
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
IGMPPROXY_VERSION = f47644d8fa7266a784f3ec7b251e7d318bc2f0a9
|
||||
IGMPPROXY_SITE = $(call github,pali,igmpproxy,$(IGMPPROXY_VERSION))
|
||||
IGMPPROXY_AUTORECONF = YES
|
||||
IGMPPROXY_LICENSE = GPL-2.0+
|
||||
IGMPPROXY_LICENSE_FILES = COPYING
|
||||
IGMPPROXY_LICENSE = GPL-2.0+, BSD-3-Clause (mrouted)
|
||||
IGMPPROXY_LICENSE_FILES = COPYING GPL.txt Stanford.txt
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# From https://sourceforge.net/projects/enlightenment/files/imlib2-src/1.4.10/
|
||||
md5 a0de8524592bbd9f24fcc6cb8352137c imlib2-1.4.10.tar.bz2
|
||||
sha1 664df65c6265a2825d685d2f3a4f0d072eb626ac imlib2-1.4.10.tar.bz2
|
||||
|
||||
# Locally computed
|
||||
sha256 fb70339dd33a77b6213c7ae067fccf93d04af44ff3f937c61f8863f7970e73f6 COPYING
|
||||
sha256 8c9a2e92ed4937e2d30c2ea95439c36ed3002fc47e34efee43455a460fee8ef5 COPYING-PLAIN
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
IMLIB2_VERSION = 1.4.10
|
||||
IMLIB2_SOURCE = imlib2-$(IMLIB2_VERSION).tar.bz2
|
||||
IMLIB2_SITE = http://downloads.sourceforge.net/project/enlightenment/imlib2-src/$(IMLIB2_VERSION)
|
||||
IMLIB2_LICENSE = imlib2 license
|
||||
IMLIB2_LICENSE_FILES = COPYING
|
||||
IMLIB2_LICENSE = Imlib2
|
||||
IMLIB2_LICENSE_FILES = COPYING COPYING-PLAIN
|
||||
|
||||
IMLIB2_INSTALL_STAGING = YES
|
||||
IMLIB2_DEPENDENCIES = host-pkgconf freetype
|
||||
|
||||
@@ -9,7 +9,7 @@ IPSEC_TOOLS_SOURCE = ipsec-tools-$(IPSEC_TOOLS_VERSION).tar.bz2
|
||||
IPSEC_TOOLS_SITE = http://sourceforge.net/projects/ipsec-tools/files/ipsec-tools/$(IPSEC_TOOLS_VERSION)
|
||||
IPSEC_TOOLS_INSTALL_STAGING = YES
|
||||
IPSEC_TOOLS_MAKE = $(MAKE1)
|
||||
IPSEC_TOOLS_DEPENDENCIES = openssl flex host-flex
|
||||
IPSEC_TOOLS_DEPENDENCIES = openssl flex host-flex host-bison
|
||||
# we patch configure.ac
|
||||
IPSEC_TOOLS_AUTORECONF = YES
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ config BR2_PACKAGE_LIBESMTP
|
||||
help
|
||||
Library for sending emails through SMTP.
|
||||
|
||||
http://www.stafford.uklinux.net/libesmtp
|
||||
http://brianstafford.info/libesmtp
|
||||
|
||||
comment "libesmtp needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
LIBESMTP_VERSION = 1.0.6
|
||||
LIBESMTP_SOURCE = libesmtp-$(LIBESMTP_VERSION).tar.bz2
|
||||
LIBESMTP_SITE = http://www.stafford.uklinux.net/libesmtp
|
||||
LIBESMTP_SITE = http://brianstafford.info/libesmtp
|
||||
LIBESMTP_INSTALL_STAGING = YES
|
||||
LIBESMTP_CONFIG_SCRIPTS = libesmtp-config
|
||||
LIBESMTP_DEPENDENCIES = $(if $(BR2_PACKAGE_OPENSSL),openssl)
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# Locally calculated
|
||||
sha256 7ea6cd8fa6c461d01091e584d424d28e137d23ff4b65b95d01a3fd0ef95d120e libnfs-libnfs-2.0.0.tar.gz
|
||||
sha256 2d152e3a2f31ef0fe14d4908377277f8215fb5c82ec9329d1eed081c845fc85f COPYING
|
||||
sha256 d9406ced95457941032aa11d04623b8ab71f2827a3395ebef137aec475be35b1 LICENCE-BSD.txt
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENCE-LGPL-2.1.txt
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENCE-GPL-3.txt
|
||||
|
||||
@@ -8,8 +8,8 @@ LIBNFS_VERSION = libnfs-2.0.0
|
||||
LIBNFS_SITE = $(call github,sahlberg,libnfs,$(LIBNFS_VERSION))
|
||||
LIBNFS_INSTALL_STAGING = YES
|
||||
LIBNFS_AUTORECONF = YES
|
||||
LIBNFS_LICENSE = LGPL-2.1+
|
||||
LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt
|
||||
LIBNFS_LICENSE = LGPL-2.1+ (library), BSD-2-Clause (protocol, .x files), GPL-3.0+ (examples)
|
||||
LIBNFS_LICENSE_FILES = COPYING LICENCE-BSD.txt LICENCE-LGPL-2.1.txt LICENCE-GPL-3.txt
|
||||
LIBNFS_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||
|
||||
@@ -13,7 +13,8 @@ LIBXSLT_LICENSE_FILES = COPYING
|
||||
LIBXSLT_CONF_OPTS = \
|
||||
--with-gnu-ld \
|
||||
--without-debug \
|
||||
--without-python
|
||||
--without-python \
|
||||
--with-libxml-prefix=$(STAGING_DIR)/usr
|
||||
LIBXSLT_CONFIG_SCRIPTS = xslt-config
|
||||
LIBXSLT_DEPENDENCIES = host-pkgconf libxml2
|
||||
|
||||
|
||||
@@ -15,7 +15,10 @@ ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
|
||||
LINKS_CONF_OPTS += --enable-graphics
|
||||
LINKS_DEPENDENCIES += libpng
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y)
|
||||
LINKS_CONF_OPTS += --with-x
|
||||
LINKS_CONF_OPTS += \
|
||||
--with-x \
|
||||
--x-includes=$(STAGING_DIR)/usr/include \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib
|
||||
LINKS_DEPENDENCIES += xlib_libXt
|
||||
else
|
||||
LINKS_CONF_OPTS += --without-x
|
||||
|
||||
@@ -266,13 +266,13 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "3.2.102" if BR2_KERNEL_HEADERS_3_2
|
||||
default "4.1.52" if BR2_KERNEL_HEADERS_4_1
|
||||
default "4.4.154" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.125" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.4.158" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.129" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.10.17" if BR2_KERNEL_HEADERS_4_10
|
||||
default "4.11.12" if BR2_KERNEL_HEADERS_4_11
|
||||
default "4.12.14" if BR2_KERNEL_HEADERS_4_12
|
||||
default "4.13.16" if BR2_KERNEL_HEADERS_4_13
|
||||
default "4.14.68" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.14.72" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.15.18" if BR2_KERNEL_HEADERS_4_15
|
||||
default "4.16.18" if BR2_KERNEL_HEADERS_4_16
|
||||
default "4.17.19" if BR2_KERNEL_HEADERS_4_17
|
||||
|
||||
31
package/lua/5.3.5/0003-fix-revision-number.patch
Normal file
31
package/lua/5.3.5/0003-fix-revision-number.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
Fix revision number
|
||||
|
||||
In 0002-shared-libs-for-lua.patch, revision number is used to set
|
||||
library name:
|
||||
TO_SOLIB = liblua.so.$(R)
|
||||
|
||||
However, library is built using PKG_VERSION which is passed only during
|
||||
build step:
|
||||
$(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
|
||||
|
||||
As a result, dynamic library is not installed in staging or target paths
|
||||
since bump to lua 5.3.5
|
||||
|
||||
So, instead of replacing R by PKG_VERSION and passing this variable in
|
||||
all steps, simply update R to 5
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -47,6 +47,6 @@
|
||||
|
||||
# Lua version and release.
|
||||
V= 5.3
|
||||
-R= $V.4
|
||||
+R= $V.5
|
||||
|
||||
# Targets start here.
|
||||
all: $(PLAT)
|
||||
@@ -1,7 +1,7 @@
|
||||
comment "midori needs libgtk3 and a glibc toolchain w/ C++, gcc >= 5, host gcc >= 4.8"
|
||||
comment "midori needs libgtk3 and a glibc toolchain w/ C++, gcc >= 6, host gcc >= 4.8"
|
||||
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_6 || \
|
||||
!BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
config BR2_PACKAGE_MIDORI
|
||||
@@ -10,7 +10,7 @@ config BR2_PACKAGE_MIDORI
|
||||
depends on BR2_PACKAGE_LIBGTK3
|
||||
depends on BR2_INSTALL_LIBSTDCPP # webkitgtk
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # webkitgtk -> icu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # webkitgtk
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # webkitgtk
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # webkitgtk
|
||||
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||
# GCR can only be used with the X11 backend
|
||||
|
||||
@@ -1,151 +0,0 @@
|
||||
From 67fe32672b60afd6cf91f7a3ccc969259dc68a19 Mon Sep 17 00:00:00 2001
|
||||
From: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
|
||||
Date: Thu, 24 Aug 2017 12:22:33 +0000
|
||||
Subject: [PATCH] Fix subs memory issue.
|
||||
|
||||
Patches retrieved from: https://github.com/eclipse/mosquitto/pull/531
|
||||
|
||||
Both patches have been merged in a single one as second patch is putting
|
||||
back code that is wrongly deleted in first patch.
|
||||
First patch needs also an update to apply on version 1.5
|
||||
|
||||
Signed-off-by: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
src/database.c | 16 ++++++++++++----
|
||||
src/mosquitto_broker_internal.h | 4 ++--
|
||||
src/subs.c | 21 ++++++++++++---------
|
||||
3 files changed, 26 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/src/database.c b/src/database.c
|
||||
index 670cf710..9e02de2d 100644
|
||||
--- a/src/database.c
|
||||
+++ b/src/database.c
|
||||
@@ -12,6 +12,7 @@ and the Eclipse Distribution License is available at
|
||||
|
||||
Contributors:
|
||||
Roger Light - initial implementation and documentation.
|
||||
+ Tatsuzo Osawa - Fix subs memory issue.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
@@ -121,10 +122,10 @@ int db__open(struct mosquitto__config *config, struct mosquitto_db *db)
|
||||
|
||||
db->subs = NULL;
|
||||
|
||||
- subhier = sub__add_hier_entry(&db->subs, "", strlen(""));
|
||||
+ subhier = sub__add_hier_entry(NULL, &db->subs, "", strlen(""));
|
||||
if(!subhier) return MOSQ_ERR_NOMEM;
|
||||
|
||||
- subhier = sub__add_hier_entry(&db->subs, "$SYS", strlen("$SYS"));
|
||||
+ subhier = sub__add_hier_entry(NULL, &db->subs, "$SYS", strlen("$SYS"));
|
||||
if(!subhier) return MOSQ_ERR_NOMEM;
|
||||
|
||||
db->unpwd = NULL;
|
||||
diff --git a/src/mosquitto_broker_internal.h b/src/mosquitto_broker_internal.h
|
||||
index 3508c555..808b4f2b 100644
|
||||
--- a/src/mosquitto_broker_internal.h
|
||||
+++ b/src/mosquitto_broker_internal.h
|
||||
@@ -12,7 +12,7 @@ and the Eclipse Distribution License is available at
|
||||
|
||||
Contributors:
|
||||
Roger Light - initial implementation and documentation.
|
||||
- Tatsuzo Osawa - Add epoll.
|
||||
+ Tatsuzo Osawa - Add epoll. Fix subs memory issue.
|
||||
*/
|
||||
|
||||
#ifndef MOSQUITTO_BROKER_INTERNAL_H
|
||||
@@ -547,7 +547,7 @@ void sys_tree__update(struct mosquitto_db *db, int interval, time_t start_time);
|
||||
* Subscription functions
|
||||
* ============================================================ */
|
||||
int sub__add(struct mosquitto_db *db, struct mosquitto *context, const char *sub, int qos, struct mosquitto__subhier **root);
|
||||
-struct mosquitto__subhier *sub__add_hier_entry(struct mosquitto__subhier **parent, const char *topic, size_t len);
|
||||
+struct mosquitto__subhier *sub__add_hier_entry(struct mosquitto__subhier *parent, struct mosquitto__subhier **head, const char *topic, size_t len);
|
||||
int sub__remove(struct mosquitto_db *db, struct mosquitto *context, const char *sub, struct mosquitto__subhier *root);
|
||||
void sub__tree_print(struct mosquitto__subhier *root, int level);
|
||||
int sub__clean_session(struct mosquitto_db *db, struct mosquitto *context);
|
||||
diff --git a/src/subs.c b/src/subs.c
|
||||
index 7b9b457c..b1c0fc78 100644
|
||||
--- a/src/subs.c
|
||||
+++ b/src/subs.c
|
||||
@@ -12,6 +12,7 @@ and the Eclipse Distribution License is available at
|
||||
|
||||
Contributors:
|
||||
Roger Light - initial implementation and documentation.
|
||||
+ Tatsuzo Osawa - Fix subs memory issue.
|
||||
*/
|
||||
|
||||
/* A note on matching topic subscriptions.
|
||||
@@ -314,7 +315,7 @@ static int sub__add_recurse(struct mosquitto_db *db, struct mosquitto *context,
|
||||
return sub__add_recurse(db, context, qos, branch, tokens->next);
|
||||
}else{
|
||||
/* Not found */
|
||||
- branch = sub__add_hier_entry(&subhier->children, UHPA_ACCESS_TOPIC(tokens), tokens->topic_len+1);
|
||||
+ branch = sub__add_hier_entry(subhier, &subhier->children, UHPA_ACCESS_TOPIC(tokens), tokens->topic_len+1);
|
||||
if(!branch) return MOSQ_ERR_NOMEM;
|
||||
|
||||
return sub__add_recurse(db, context, qos, branch, tokens->next);
|
||||
@@ -406,18 +407,18 @@ static void sub__search(struct mosquitto_db *db, struct mosquitto__subhier *subh
|
||||
}
|
||||
|
||||
|
||||
-struct mosquitto__subhier *sub__add_hier_entry(struct mosquitto__subhier **parent, const char *topic, size_t len)
|
||||
+struct mosquitto__subhier *sub__add_hier_entry(struct mosquitto__subhier *parent, struct mosquitto__subhier **head, const char *topic, size_t len)
|
||||
{
|
||||
struct mosquitto__subhier *child;
|
||||
|
||||
- assert(parent);
|
||||
+ assert(head);
|
||||
|
||||
child = mosquitto__malloc(sizeof(struct mosquitto__subhier));
|
||||
if(!child){
|
||||
log__printf(NULL, MOSQ_LOG_ERR, "Error: Out of memory.");
|
||||
return NULL;
|
||||
}
|
||||
- child->parent = *parent;
|
||||
+ child->parent = parent;
|
||||
child->topic_len = strlen(topic);
|
||||
if(UHPA_ALLOC_TOPIC(child) == 0){
|
||||
child->topic_len = 0;
|
||||
@@ -433,13 +434,13 @@ struct mosquitto__subhier *sub__add_hier_entry(struct mosquitto__subhier **paren
|
||||
|
||||
if(child->topic_len+1 > sizeof(child->topic.array)){
|
||||
if(child->topic.ptr){
|
||||
- HASH_ADD_KEYPTR(hh, *parent, child->topic.ptr, child->topic_len, child);
|
||||
+ HASH_ADD_KEYPTR(hh, *head, child->topic.ptr, child->topic_len, child);
|
||||
}else{
|
||||
mosquitto__free(child);
|
||||
return NULL;
|
||||
}
|
||||
}else{
|
||||
- HASH_ADD(hh, *parent, topic.array, child->topic_len, child);
|
||||
+ HASH_ADD(hh, *head, topic.array, child->topic_len, child);
|
||||
}
|
||||
|
||||
return child;
|
||||
@@ -460,7 +461,7 @@ int sub__add(struct mosquitto_db *db, struct mosquitto *context, const char *sub
|
||||
|
||||
HASH_FIND(hh, *root, UHPA_ACCESS_TOPIC(tokens), tokens->topic_len, subhier);
|
||||
if(!subhier){
|
||||
- subhier = sub__add_hier_entry(root, UHPA_ACCESS_TOPIC(tokens), tokens->topic_len+1);
|
||||
+ subhier = sub__add_hier_entry(NULL, root, UHPA_ACCESS_TOPIC(tokens), tokens->topic_len+1);
|
||||
if(!subhier){
|
||||
sub__topic_tokens_free(tokens);
|
||||
log__printf(NULL, MOSQ_LOG_ERR, "Error: Out of memory.");
|
||||
@@ -545,12 +546,14 @@ static struct mosquitto__subhier *tmp_remove_subs(struct mosquitto__subhier *sub
|
||||
return NULL;
|
||||
}
|
||||
|
||||
- if(sub->children || sub->subs){
|
||||
+ if(sub->children || sub->subs || sub->retained){
|
||||
return NULL;
|
||||
}
|
||||
|
||||
parent = sub->parent;
|
||||
- HASH_DELETE(hh, parent, sub);
|
||||
+ HASH_DELETE(hh, parent->children, sub);
|
||||
+ UHPA_FREE_TOPIC(sub);
|
||||
+ mosquitto__free(sub);
|
||||
|
||||
if(parent->subs == NULL
|
||||
&& parent->children == NULL
|
||||
@@ -0,0 +1,46 @@
|
||||
From d684055b2b92e7ec5793e70c9a80c7f8e45e0696 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Fri, 24 Aug 2018 16:38:42 +0200
|
||||
Subject: [PATCH] _GNU_SOURCE needed for EAI_INPROGRESS
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Define of _GNU_SOURCE is needed to be able to use EAI_INPROGRESS in
|
||||
loop.c.
|
||||
|
||||
This patch fixes a build error
|
||||
|
||||
loop.c:334:17: error: ‘EAI_INPROGRESS’ undeclared (first use in this function)
|
||||
if(rc == EAI_INPROGRESS){
|
||||
|
||||
occuring with a glibc-2.27-based buildroot toolchain for sparc64
|
||||
|
||||
Target: sparc64-buildroot-linux-gnu
|
||||
[...]
|
||||
gcc version 6.4.0 (Buildroot 2018.05)
|
||||
|
||||
Source:
|
||||
http://autobuild.buildroot.org/toolchains/tarballs/br-sparc64-full-2018.05.tar.bz2
|
||||
|
||||
Patch sent upstream as PR 933.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
config.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/config.h b/config.h
|
||||
index 7607019..ba0ba93 100644
|
||||
--- a/config.h
|
||||
+++ b/config.h
|
||||
@@ -39,4 +39,6 @@
|
||||
# define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
+#define _GNU_SOURCE
|
||||
+
|
||||
#endif
|
||||
--
|
||||
2.18.0
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
From d4442c3df7552756f53e656e446bc1bd7dc79a88 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Mon, 18 Jun 2018 19:52:58 +0200
|
||||
Subject: [PATCH] websockets: _GNU_SOURCE needed for S_IF{DIR,REG}
|
||||
|
||||
Define of _GNU_SOURCE is needed to be able to use S_IFDIR and S_IFREG in
|
||||
src/websockets.c
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.net/results/7dcfb6ca9d14a5cd6872590065549356f1ab42a0
|
||||
|
||||
[Upstream status: https://github.com/eclipse/mosquitto/pull/862]
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
src/websockets.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/websockets.c b/src/websockets.c
|
||||
index 1e513ae..7722b4d 100644
|
||||
--- a/src/websockets.c
|
||||
+++ b/src/websockets.c
|
||||
@@ -29,6 +29,8 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#ifdef WITH_WEBSOCKETS
|
||||
|
||||
+#define _GNU_SOURCE
|
||||
+
|
||||
#include "config.h"
|
||||
|
||||
#include <libwebsockets.h>
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated after checking gpg signature
|
||||
sha256 80c9606a906c736fe582b67bdfb650ee45239fea058fe34927f81277d3486e21 mosquitto-1.5.tar.gz
|
||||
sha256 3081a998d303a883b1cd064009beabc88aa9159e26f5258a4ae6007160491d10 mosquitto-1.5.3.tar.gz
|
||||
|
||||
# License files
|
||||
sha256 cc77e25bafd40637b7084f04086d606f0a200051b61806f97c93405926670bc1 LICENSE.txt
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MOSQUITTO_VERSION = 1.5
|
||||
MOSQUITTO_VERSION = 1.5.3
|
||||
MOSQUITTO_SITE = https://mosquitto.org/files/source
|
||||
MOSQUITTO_LICENSE = EPL-1.0 or EDLv1.0
|
||||
MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v10 edl-v10
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
config BR2_PACKAGE_NILFS_UTILS
|
||||
bool "nilfs-utils"
|
||||
depends on BR2_USE_MMU # util-linux libmount, libblkid
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # sem_open()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
|
||||
depends on BR2_USE_MMU # util-linux libmount, libblkid
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
|
||||
@@ -13,5 +13,6 @@ config BR2_PACKAGE_NILFS_UTILS
|
||||
https://github.com/nilfs-dev/nilfs-utils
|
||||
|
||||
comment "nilfs-utils needs a toolchain w/ threads, NPTL"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 c383d37869baa0990d38d38836d4d567e9e2862aa0cd704868b62dafeac18e3c ocrad-0.26.tar.lz
|
||||
sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From ba5e0451b51c983e40afd123b6e0d3eddb55e610 Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Sat, 24 Mar 2018 17:37:02 +0000
|
||||
Subject: [PATCH] linux: Include <sys/sysmacros.h> for major() macro.
|
||||
|
||||
Since glibc 2.27 this header is required.
|
||||
|
||||
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
---
|
||||
libparted/arch/linux.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
|
||||
index 31b98ab..7e86b51 100644
|
||||
--- a/libparted/arch/linux.c
|
||||
+++ b/libparted/arch/linux.c
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <sys/utsname.h> /* for uname() */
|
||||
#include <scsi/scsi.h>
|
||||
#include <assert.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#ifdef ENABLE_DEVICE_MAPPER
|
||||
#include <libdevmapper.h>
|
||||
#endif
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From http://php.net/downloads.php
|
||||
sha256 3585c1222e00494efee4f5a65a8e03a1e6eca3dfb834814236ee7f02c5248ae0 php-7.2.9.tar.xz
|
||||
sha256 01c2154a3a8e3c0818acbdbc1a956832c828a0380ce6d1d14fea495ea21804f0 php-7.2.10.tar.xz
|
||||
|
||||
# License file
|
||||
sha256 00e567a8d50359d93ee1f9afdd9511277660c1e70a0cbf3229f84403aa9aebb1 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_VERSION = 7.2.9
|
||||
PHP_VERSION = 7.2.10
|
||||
PHP_SITE = http://www.php.net/distributions
|
||||
PHP_SOURCE = php-$(PHP_VERSION).tar.xz
|
||||
PHP_INSTALL_STAGING = YES
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://www.djangoproject.com/m/pgp/Django-1.11.15.checksum.txt
|
||||
sha256 b18235d82426f09733d2de9910cee975cf52ff05e5f836681eb957d105a05a40 Django-1.11.15.tar.gz
|
||||
# From https://www.djangoproject.com/m/pgp/Django-1.11.16.checksum.txt
|
||||
sha256 29268cc47816a44f27308e60f71da635f549c47d8a1d003b28de55141df75791 Django-1.11.16.tar.gz
|
||||
sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_DJANGO_VERSION = 1.11.15
|
||||
PYTHON_DJANGO_VERSION = 1.11.16
|
||||
PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz
|
||||
# The official Django site has an unpractical URL
|
||||
PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/43/b5/b44286e56a5211d37b4058dcd5e62835afa5ce5aa6a38b56bd04c0d01cbc
|
||||
PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/35/1d/59836bce4c9cfded261e21c0abd6a4629de6d289522d0fd928117d8eb985
|
||||
PYTHON_DJANGO_LICENSE = BSD-3-Clause
|
||||
PYTHON_DJANGO_LICENSE_FILES = LICENSE
|
||||
PYTHON_DJANGO_SETUP_TYPE = setuptools
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From b719314d201a3e9e1e57c65746a468c47bfc847f Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Wed, 3 Oct 2018 22:29:32 +0200
|
||||
Subject: [PATCH] comm.h needed for list_{display,generic}.o
|
||||
|
||||
comm.h is needed to build list_display.o and list_generic.o otherwise
|
||||
parallel builds will sometimes fail
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/43105f14857dbe72d8878fc7b3db67f7bdca93cc
|
||||
- http://autobuild.buildroot.org/results/47f4ecbec1355285633df287fc9c4e7cccde9378
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://savannah.gnu.org/bugs/index.php?54776]
|
||||
---
|
||||
Makefile.in | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index af5938b..e6d5247 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -265,7 +265,7 @@ braille.h
|
||||
viewport.o: layout.h viewport.h canvas.h viewport.c config.h screen.h os.h osdef.h ansi.h acls.h \
|
||||
comm.h layer.h term.h image.h display.h window.h extern.h \
|
||||
braille.h
|
||||
-list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h
|
||||
-list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h
|
||||
+list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h comm.h
|
||||
+list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h comm.h
|
||||
list_window.o: list_generic.h list_window.c window.h layer.h screen.h osdef.h comm.h
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From cd6a99a7cfde1c5e1c1cc74ee6a77041bb4012d9 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Brady <mikebrady@eircom.net>
|
||||
Date: Sat, 8 Sep 2018 15:06:18 +0100
|
||||
Subject: [PATCH] Include a definition of HAVE_LIBSOXR with using pkg_config
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Commit e047dee241fe0660d92311a124757065c6c4c93d adds an upstream patch
|
||||
to fix a build issue with soxr. The patch also adds detecting soxr
|
||||
using pkg-config. Upstream detected a config issue [1], where the
|
||||
resulting binary lacks soxr support, although libsoxr was correctly
|
||||
detected.
|
||||
|
||||
Backported from: cd6a99a7cfde1c5e1c1cc74ee6a77041bb4012d9
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
---
|
||||
configure.ac | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ceec4af..690a774 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -180,6 +180,7 @@ AC_ARG_WITH(soxr, [ --with-soxr = choose libsoxr for high-quality interpolation
|
||||
PKG_CHECK_MODULES(
|
||||
[SOXR], [soxr],
|
||||
[LIBS="${SOXR_LIBS} ${LIBS}"])
|
||||
+ AC_DEFINE([HAVE_LIBSOXR],[1],[Define to 1 if you are including support for soxr interpolation])
|
||||
else
|
||||
AC_CHECK_LIB([avutil],[av_get_cpu_flags])
|
||||
if test "x${ac_cv_lib_avutil_av_get_cpu_flags}" = xyes ; then
|
||||
--
|
||||
2.18.0
|
||||
@@ -3,5 +3,7 @@ md5 a6a28eeb22aa58080a7581771a5b63f9 strongswan-5.6.3.tar.bz2
|
||||
# Calculated based on the hash above
|
||||
sha256 c3c7dc8201f40625bba92ffd32eb602a8909210d8b3fac4d214c737ce079bf24 strongswan-5.6.3.tar.bz2
|
||||
# Locally calculated
|
||||
sha256 e66c243593ee0713f5fd13bcd7f624bc50eebc54bf87f790ced429ff698077e7 strongswan-5.6.1-5.6.3_gmp-pkcs1-verify.patch
|
||||
sha256 415d104717cb0781770e9077d00b3df310b11e65e4b9c1d35b62fbba04549263 strongswan-4.4.0-5.7.0_gmp-pkcs1-overflow.patch
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 2292e21797754548dccdef9eef6aee7584e552fbd890fa914e1de8d3577d23f0 LICENSE
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
STRONGSWAN_VERSION = 5.6.3
|
||||
STRONGSWAN_SOURCE = strongswan-$(STRONGSWAN_VERSION).tar.bz2
|
||||
STRONGSWAN_SITE = http://download.strongswan.org
|
||||
STRONGSWAN_PATCH = \
|
||||
$(STRONGSWAN_SITE)/patches/27_gmp_pkcs1_verify_patch/strongswan-5.6.1-5.6.3_gmp-pkcs1-verify.patch \
|
||||
$(STRONGSWAN_SITE)/patches/28_gmp_pkcs1_overflow_patch/strongswan-4.4.0-5.7.0_gmp-pkcs1-overflow.patch
|
||||
STRONGSWAN_LICENSE = GPL-2.0+
|
||||
STRONGSWAN_LICENSE_FILES = COPYING LICENSE
|
||||
STRONGSWAN_DEPENDENCIES = host-pkgconf
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
From 435fbcee218b37a87368e2b22fa33366875d458c Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@chromium.org>
|
||||
Date: Tue, 19 Apr 2016 13:58:49 -0400
|
||||
Subject: [PATCH] include sys/sysmacros.h for major()
|
||||
|
||||
The major() func is defined in the sys/sysmacros.h header, so include it
|
||||
explicitly for the prototype. Upstream C libs are moving away from having
|
||||
sys/types.h include it all the time implicitly.
|
||||
|
||||
BUG=None
|
||||
TEST=precq passes
|
||||
BRANCH=None
|
||||
|
||||
Change-Id: I56b84138f08ded2376193403f9c9db22c5f24f71
|
||||
Reviewed-on: https://chromium-review.googlesource.com/339680
|
||||
Commit-Ready: Mike Frysinger <vapier@chromium.org>
|
||||
Tested-by: Mike Frysinger <vapier@chromium.org>
|
||||
Reviewed-by: Bill Richardson <wfrichar@google.com>
|
||||
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
---
|
||||
cgpt/cgpt_wrapper.c | 1 +
|
||||
futility/dump_kernel_config_lib.c | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/cgpt/cgpt_wrapper.c b/cgpt/cgpt_wrapper.c
|
||||
index dcfaab9c..1716cdde 100644
|
||||
--- a/cgpt/cgpt_wrapper.c
|
||||
+++ b/cgpt/cgpt_wrapper.c
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
diff --git a/futility/dump_kernel_config_lib.c b/futility/dump_kernel_config_lib.c
|
||||
index 4fe990c3..abf37ae1 100644
|
||||
--- a/futility/dump_kernel_config_lib.c
|
||||
+++ b/futility/dump_kernel_config_lib.c
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From b252c7aed3fa6f22db8a26c3ab0bfe66e3490eef Mon Sep 17 00:00:00 2001
|
||||
From: Adrian Perez de Castro <aperez@igalia.com>
|
||||
Date: Sun, 23 Sep 2018 02:34:26 +0300
|
||||
Subject: [PATCH xserver] [ARM] Building FELightingNEON.cpp fails due to
|
||||
missing lightVector member https://bugs.webkit.org/show_bug.cgi?id=189890
|
||||
|
||||
Reviewed by NOBODY (OOPS!).
|
||||
|
||||
No new tests needed.
|
||||
|
||||
* platform/graphics/cpu/arm/filters/FELightingNEON.h:
|
||||
(WebCore::FELighting::platformApplyNeon): Adapt to new layout of "struct PaintingData" after r225122.
|
||||
---
|
||||
Source/WebCore/ChangeLog | 12 ++++++++++++
|
||||
.../graphics/cpu/arm/filters/FELightingNEON.h | 6 +++---
|
||||
2 files changed, 15 insertions(+), 3 deletions(-)
|
||||
|
||||
Fetch from: https://bugs.webkit.org/show_bug.cgi?id=189890
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
|
||||
|
||||
diff --git a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
|
||||
index 42af922374b..b542a4c81aa 100644
|
||||
--- a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
|
||||
+++ b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
|
||||
@@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeon(const LightingData& data, const LightS
|
||||
neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
|
||||
} else {
|
||||
ASSERT(m_lightSource->type() == LS_DISTANT);
|
||||
- floatArguments.lightX = paintingData.lightVector.x();
|
||||
- floatArguments.lightY = paintingData.lightVector.y();
|
||||
- floatArguments.lightZ = paintingData.lightVector.z();
|
||||
+ floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
|
||||
+ floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
|
||||
+ floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
|
||||
floatArguments.padding2 = 1;
|
||||
}
|
||||
|
||||
--
|
||||
2.19.0
|
||||
|
||||
@@ -11,19 +11,19 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
||||
|
||||
comment "webkitgtk needs libgtk3 and a glibc toolchain w/ C++, gcc >= 5, host gcc >= 4.8"
|
||||
comment "webkitgtk needs libgtk3 and a glibc toolchain w/ C++, gcc >= 6, host gcc >= 4.8"
|
||||
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||
depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||
depends on BR2_USE_MMU
|
||||
|
||||
config BR2_PACKAGE_WEBKITGTK
|
||||
bool "webkitgtk"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_PACKAGE_LIBGTK3
|
||||
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||
@@ -41,6 +41,8 @@ config BR2_PACKAGE_WEBKITGTK
|
||||
select BR2_PACKAGE_LIBXSLT
|
||||
select BR2_PACKAGE_SQLITE
|
||||
select BR2_PACKAGE_WEBP
|
||||
select BR2_PACKAGE_WEBP_DEMUX
|
||||
select BR2_PACKAGE_WOFF2
|
||||
select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11
|
||||
select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11
|
||||
select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11
|
||||
@@ -67,6 +69,8 @@ comment "webkitgtk https support needs a toolchain w/ dynamic library"
|
||||
config BR2_PACKAGE_WEBKITGTK_MULTIMEDIA
|
||||
bool "multimedia support"
|
||||
select BR2_PACKAGE_GSTREAMER1
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BAD
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# From https://webkitgtk.org/releases/webkitgtk-2.18.6.tar.xz.sums
|
||||
md5 c1a548595135ee75ad3bf2e18ac83112 webkitgtk-2.18.6.tar.xz
|
||||
sha1 fb0daa85142cfe8822de518dfaa7bd5c3cdd6c23 webkitgtk-2.18.6.tar.xz
|
||||
sha256 93912cc2f40f12e452be1ca4babdbdaac0ec4f828d441257a6b06c2963bbac3c webkitgtk-2.18.6.tar.xz
|
||||
# From https://webkitgtk.org/releases/webkitgtk-2.22.2.tar.xz.sums
|
||||
md5 207d50d313c07b03726f3a7f22643934 webkitgtk-2.22.2.tar.xz
|
||||
sha1 ff0c40e81e240aa0743f7e6483f175defebd1417 webkitgtk-2.22.2.tar.xz
|
||||
sha256 345487d4d1896e711683f951d1e09387d3b90d7cf59295c0e634af7f515e99ba webkitgtk-2.22.2.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WEBKITGTK_VERSION = 2.18.6
|
||||
WEBKITGTK_VERSION = 2.22.2
|
||||
WEBKITGTK_SITE = http://www.webkitgtk.org/releases
|
||||
WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz
|
||||
WEBKITGTK_INSTALL_STAGING = YES
|
||||
@@ -14,7 +14,7 @@ WEBKITGTK_LICENSE_FILES = \
|
||||
Source/WebCore/LICENSE-LGPL-2.1
|
||||
WEBKITGTK_DEPENDENCIES = host-ruby host-flex host-bison host-gperf \
|
||||
enchant harfbuzz icu jpeg libgcrypt libgtk3 libsecret libsoup \
|
||||
libtasn1 libxml2 libxslt sqlite webp
|
||||
libtasn1 libxml2 libxslt sqlite webp woff2
|
||||
WEBKITGTK_CONF_OPTS = \
|
||||
-DENABLE_API_TESTS=OFF \
|
||||
-DENABLE_GEOLOCATION=OFF \
|
||||
@@ -22,6 +22,7 @@ WEBKITGTK_CONF_OPTS = \
|
||||
-DENABLE_INTROSPECTION=OFF \
|
||||
-DENABLE_MINIBROWSER=ON \
|
||||
-DENABLE_SPELLCHECK=ON \
|
||||
-DENABLE_WOFF2=ON \
|
||||
-DPORT=GTK \
|
||||
-DUSE_LIBNOTIFY=OFF \
|
||||
-DUSE_LIBHYPHEN=OFF
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://lists.zx2c4.com/pipermail/wireguard/2018-July/003112.html
|
||||
sha256 5e38d554f7d1e3a64e3a5319ca1a3b790c84ed89c896586c490a93ac1f953a91 WireGuard-0.0.20180708.tar.xz
|
||||
# From https://lists.zx2c4.com/pipermail/wireguard/2018-September/003395.html
|
||||
sha256 4a0488a07e40ec17e798f3e40a85cedf55f0560b1c3a8fd95806c7d4266cb0e8 WireGuard-0.0.20180925.tar.xz
|
||||
# Locally calculated
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WIREGUARD_VERSION = 0.0.20180708
|
||||
WIREGUARD_VERSION = 0.0.20180925
|
||||
WIREGUARD_SITE = https://git.zx2c4.com/WireGuard/snapshot
|
||||
WIREGUARD_SOURCE = WireGuard-$(WIREGUARD_VERSION).tar.xz
|
||||
WIREGUARD_LICENSE = GPL-2.0
|
||||
|
||||
@@ -10,8 +10,8 @@ XLIB_LIBXDMCP_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
||||
XLIB_LIBXDMCP_LICENSE = MIT
|
||||
XLIB_LIBXDMCP_LICENSE_FILES = COPYING
|
||||
XLIB_LIBXDMCP_INSTALL_STAGING = YES
|
||||
XLIB_LIBXDMCP_DEPENDENCIES = xutil_util-macros xorgproto
|
||||
HOST_XLIB_LIBXDMCP_DEPENDENCIES = host-xutil_util-macros host-xorgproto
|
||||
XLIB_LIBXDMCP_DEPENDENCIES = xutil_util-macros xorgproto host-pkgconf
|
||||
HOST_XLIB_LIBXDMCP_DEPENDENCIES = host-xutil_util-macros host-xorgproto host-pkgconf
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
@@ -9,7 +9,6 @@ XLIB_LIBXFONT_SOURCE = libXfont-$(XLIB_LIBXFONT_VERSION).tar.bz2
|
||||
XLIB_LIBXFONT_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
||||
XLIB_LIBXFONT_LICENSE = MIT
|
||||
XLIB_LIBXFONT_LICENSE_FILES = COPYING
|
||||
XLIB_LIBXFONT_AUTORECONF = YES
|
||||
XLIB_LIBXFONT_INSTALL_STAGING = YES
|
||||
|
||||
XLIB_LIBXFONT_DEPENDENCIES = freetype xlib_libfontenc xlib_xtrans xorgproto
|
||||
|
||||
@@ -9,7 +9,6 @@ XLIB_LIBXFT_SOURCE = libXft-$(XLIB_LIBXFT_VERSION).tar.bz2
|
||||
XLIB_LIBXFT_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
||||
XLIB_LIBXFT_LICENSE = MIT
|
||||
XLIB_LIBXFT_LICENSE_FILES = COPYING
|
||||
XLIB_LIBXFT_AUTORECONF = YES
|
||||
XLIB_LIBXFT_INSTALL_STAGING = YES
|
||||
XLIB_LIBXFT_DEPENDENCIES = fontconfig freetype xlib_libX11 xlib_libXext xlib_libXrender xorgproto
|
||||
|
||||
|
||||
@@ -12,7 +12,4 @@ XLIB_LIBXSHMFENCE_LICENSE_FILES = COPYING
|
||||
XLIB_LIBXSHMFENCE_INSTALL_STAGING = YES
|
||||
XLIB_LIBXSHMFENCE_DEPENDENCIES = host-pkgconf xorgproto
|
||||
|
||||
# 0001-configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch
|
||||
XLIB_LIBXSHMFENCE_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -10,8 +10,8 @@ XUTIL_MAKEDEPEND_SITE = http://xorg.freedesktop.org/releases/individual/util
|
||||
XUTIL_MAKEDEPEND_LICENSE = MIT
|
||||
XUTIL_MAKEDEPEND_LICENSE_FILES = COPYING
|
||||
|
||||
XUTIL_MAKEDEPEND_DEPENDENCIES = xorgproto
|
||||
HOST_XUTIL_MAKEDEPEND_DEPENDENCIES = host-xorgproto
|
||||
XUTIL_MAKEDEPEND_DEPENDENCIES = xorgproto host-pkgconf
|
||||
HOST_XUTIL_MAKEDEPEND_DEPENDENCIES = host-xorgproto host-pkgconf
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
@@ -11,6 +11,7 @@ X265_LICENSE = GPL-2.0+
|
||||
X265_LICENSE_FILES = COPYING
|
||||
X265_SUBDIR = source
|
||||
X265_INSTALL_STAGING = YES
|
||||
X265_MAKE = $(MAKE1)
|
||||
|
||||
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
||||
X265_DEPENDENCIES += host-nasm
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
From 75e5b70e6b5dcc4f2219992d7cffa462aa406af0 Mon Sep 17 00:00:00 2001
|
||||
From: Paolo Bonzini <pbonzini@redhat.com>
|
||||
Date: Tue, 28 Nov 2017 11:51:27 +0100
|
||||
Subject: [PATCH] memfd: fix configure test
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Recent glibc added memfd_create in sys/mman.h. This conflicts with
|
||||
the definition in util/memfd.c:
|
||||
|
||||
/builddir/build/BUILD/qemu-2.11.0-rc1/util/memfd.c:40:12: error: static declaration of memfd_create follows non-static declaration
|
||||
|
||||
Fix the configure test, and remove the sys/memfd.h inclusion since the
|
||||
file actually does not exist---it is a typo in the memfd_create(2) man
|
||||
page.
|
||||
|
||||
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
|
||||
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
[ Changes by AF:
|
||||
- Port the patch to the qemu-xen tree
|
||||
]
|
||||
Signed-off-by: Alistair Francis <alistair@alistair23.me>
|
||||
---
|
||||
Upstream status: commit 75e5b70e6b5
|
||||
|
||||
configure | 2 +-
|
||||
util/memfd.c | 4 +---
|
||||
2 files changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 9c8aa5a98bd4..99ccc1725ace 100755
|
||||
--- a/tools/qemu-xen/configure
|
||||
+++ b/tools/qemu-xen/configure
|
||||
@@ -3923,7 +3923,7 @@ fi
|
||||
# check if memfd is supported
|
||||
memfd=no
|
||||
cat > $TMPC << EOF
|
||||
-#include <sys/memfd.h>
|
||||
+#include <sys/mman.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
diff --git a/util/memfd.c b/util/memfd.c
|
||||
index 4571d1aba866..412e94a405fc 100644
|
||||
--- a/tools/qemu-xen/util/memfd.c
|
||||
+++ b/tools/qemu-xen/util/memfd.c
|
||||
@@ -31,9 +31,7 @@
|
||||
|
||||
#include "qemu/memfd.h"
|
||||
|
||||
-#ifdef CONFIG_MEMFD
|
||||
-#include <sys/memfd.h>
|
||||
-#elif defined CONFIG_LINUX
|
||||
+#if defined CONFIG_LINUX && !defined CONFIG_MEMFD
|
||||
#include <sys/syscall.h>
|
||||
#include <asm/unistd.h>
|
||||
|
||||
--
|
||||
2.16.2
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 570d654f357d4085accdf752989c1cbc33e2075feac8fcc505d68bdb81b1a0cf xen-4.10.1.tar.gz
|
||||
sha256 d5a944a34e47e9d52b2837f616821eb4a9514c8fd0955dcc723111dba499acd4 xen-4.10.2.tar.gz
|
||||
sha256 dba0d79260259c013c52e5d4daeaea564a2fbb9ff7fc6778c377a401ec3898de COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XEN_VERSION = 4.10.1
|
||||
XEN_VERSION = 4.10.2
|
||||
XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION)
|
||||
XEN_LICENSE = GPL-2.0
|
||||
XEN_LICENSE_FILES = COPYING
|
||||
|
||||
@@ -11,9 +11,11 @@ try fails, we try to link again with -latomic and add LIBS="-latomic" in case we
|
||||
succeeded.
|
||||
|
||||
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Update to use LIBS: https://github.com/zeromq/libzmq/pull/3250]
|
||||
---
|
||||
acinclude.m4 | 32 ++++++++++++++++++++++++++++----
|
||||
1 file changed, 28 insertions(+), 4 deletions(-)
|
||||
acinclude.m4 | 31 +++++++++++++++++++++++++++----
|
||||
1 file changed, 27 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
index f648ed0f..aa35195f 100644
|
||||
@@ -28,7 +30,7 @@ index f648ed0f..aa35195f 100644
|
||||
/* atomic intrinsics test */
|
||||
int v = 0;
|
||||
int main (int, char **)
|
||||
@@ -677,9 +677,33 @@ int main (int, char **)
|
||||
@@ -677,9 +677,32 @@ int main (int, char **)
|
||||
return t;
|
||||
}
|
||||
])],
|
||||
@@ -39,8 +41,8 @@ index f648ed0f..aa35195f 100644
|
||||
+ [libzmq_cv_has_atomic_instrisics="no"])
|
||||
+
|
||||
+ if test "x$libzmq_cv_has_atomic_instrisics" = "xno"; then
|
||||
+ save_LDFLAGS=$LDFLAGS
|
||||
+ LDFLAGS="$LDFLAGS -latomic"
|
||||
+ save_LIBS=$LIBS
|
||||
+ LIBS="$LIBS -latomic"
|
||||
+ AC_LINK_IFELSE([AC_LANG_SOURCE([
|
||||
+ /* atomic intrinsics test */
|
||||
+ int v = 0;
|
||||
@@ -50,9 +52,8 @@ index f648ed0f..aa35195f 100644
|
||||
+ return t;
|
||||
+ }
|
||||
+ ])],
|
||||
+ [libzmq_cv_has_atomic_instrisics="yes" LIBS="-latomic"],
|
||||
+ [libzmq_cv_has_atomic_instrisics="no"])
|
||||
+ LDFLAGS=$save_LDFLAGS
|
||||
+ [libzmq_cv_has_atomic_instrisics="yes"],
|
||||
+ [libzmq_cv_has_atomic_instrisics="no" LIBS=$save_LIBS])
|
||||
+ fi
|
||||
+
|
||||
+ if test "x$libzmq_cv_has_atomic_instrisics" = "xyes"; then
|
||||
|
||||
@@ -75,6 +75,14 @@ get_gid() {
|
||||
'$1 == group { printf( "%d\n", $3 ); }' "${GROUP}"
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
get_members() {
|
||||
local group="${1}"
|
||||
|
||||
awk -F: -v group="${group}" \
|
||||
'$1 == group { printf( "%s\n", $4 ); }' "${GROUP}"
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
get_username() {
|
||||
local uid="${1}"
|
||||
@@ -211,16 +219,17 @@ generate_gid() {
|
||||
add_one_group() {
|
||||
local group="${1}"
|
||||
local gid="${2}"
|
||||
local _f
|
||||
local members
|
||||
|
||||
# Generate a new GID if needed
|
||||
if [ ${gid} -eq -1 ]; then
|
||||
gid="$( generate_gid "${group}" )"
|
||||
fi
|
||||
|
||||
members=$(get_members "$group")
|
||||
# Remove any previous instance of this group, and re-add the new one
|
||||
sed -i --follow-symlinks -e '/^'"${group}"':.*/d;' "${GROUP}"
|
||||
printf "%s:x:%d:\n" "${group}" "${gid}" >>"${GROUP}"
|
||||
printf "%s:x:%d:%s\n" "${group}" "${gid}" "${members}" >>"${GROUP}"
|
||||
|
||||
# Ditto for /etc/gshadow if it exists
|
||||
if [ -f "${GSHADOW}" ]; then
|
||||
|
||||
@@ -137,9 +137,15 @@ config BR2_INIT_SYSTEMD
|
||||
select BR2_ROOTFS_MERGED_USR
|
||||
select BR2_PACKAGE_SYSTEMD
|
||||
|
||||
comment "systemd needs a glibc or uClibc toolchain, headers >= 3.10"
|
||||
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC \
|
||||
&& BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10)
|
||||
comment "systemd needs a glibc or uClibc toolchain w/ wchar, threads, SSP, dynamic library, headers >= 3.10"
|
||||
depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) || \
|
||||
!BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_HAS_SSP || \
|
||||
BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
|
||||
|
||||
config BR2_INIT_NONE
|
||||
bool "None"
|
||||
|
||||
Reference in New Issue
Block a user