aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/argp-standalone/patches/002-no_optimize.patch
blob: 1da330af70a68767224f3e67e682285cc2a5f20a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/argp-fmtstream.h
+++ b/argp-fmtstream.h
@@ -192,7 +192,7 @@ extern void __argp_fmtstream_update (arg
 extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
 extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
 
-#ifdef __OPTIMIZE__
+#if 0
 /* Inline versions of above routines.  */
 
 #if !_LIBC
Subject: [PATCH] pi3-miniuart-bt-overlay: Correct and clarify info Signed-off-by: Phil Elwell <phil@raspberrypi.org> --- arch/arm/boot/dts/overlays/README | 6 ++++-- arch/arm/boot/dts/overlays/pi3-miniuart-bt-overlay.dts | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) --- a/arch/arm/boot/dts/overlays/README +++ b/arch/arm/boot/dts/overlays/README @@ -511,8 +511,10 @@ Name: pi3-miniuart-bt Info: Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore UART0/ttyAMA0 over GPIOs 14 & 15. Note that this may reduce the maximum usable baudrate. - N.B. It is also necessary to edit /lib/systemd/system/hciuart.server - and replace ttyAMA0 with ttyS0. + N.B. It is also necessary to edit /lib/systemd/system/hciuart.service + and replace ttyAMA0 with ttyS0, unless you have a system with udev rules + that create /dev/serial0 and /dev/serial1, in which case use + /dev/serial1 instead because it will always be correct. Load: dtoverlay=pi3-miniuart-bt Params: <None> --- a/arch/arm/boot/dts/overlays/pi3-miniuart-bt-overlay.dts +++ b/arch/arm/boot/dts/overlays/pi3-miniuart-bt-overlay.dts @@ -5,8 +5,10 @@ UART0/ttyAMA0 over GPIOs 14 & 15. Note that this may reduce the maximum usable baudrate. - It is also necessary to edit /lib/systemd/system/hciuart.server and - replace ttyAMA0 with ttyS0. + It is also necessary to edit /lib/systemd/system/hciuart.service and + replace ttyAMA0 with ttyS0, unless you have a system with udev rules + that create /dev/serial0 and /dev/serial1, in which case use /dev/serial1 + instead because it will always be correct. If cmdline.txt uses the alias serial0 to refer to the user-accessable port then the firmware will replace with the appropriate port whether or not