From 8a937813e787d2f4f3ddc7753c56739a146de960 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 8 Oct 2012 16:06:25 +0200 Subject: [PATCH 1/2] linux: fix RPi patch Signed-off-by: Stephan Raue --- .../linux/patches/linux-3.2.30-601-RPi_support-8bccc7a.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/linux/patches/linux-3.2.30-601-RPi_support-8bccc7a.patch b/packages/linux/patches/linux-3.2.30-601-RPi_support-8bccc7a.patch index 340a64fa11..49edf5bf1c 100644 --- a/packages/linux/patches/linux-3.2.30-601-RPi_support-8bccc7a.patch +++ b/packages/linux/patches/linux-3.2.30-601-RPi_support-8bccc7a.patch @@ -8327,7 +8327,7 @@ index b26495a..a06b534 100644 obj-y += carma/ obj-$(CONFIG_USB_SWITCH_FSA9480) += fsa9480.o obj-$(CONFIG_ALTERA_STAPL) +=altera-stapl/ -+obj-y += vc04_services/ ++obj-$(CONFIG_BCM2708_VCHIQ) += vc04_services/ diff --git a/drivers/misc/vc04_services/Kconfig b/drivers/misc/vc04_services/Kconfig new file mode 100644 index 0000000..b48a3f3 From e3e5caba39878096764ba38910418c966aa12f15 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 9 Oct 2012 09:13:16 +0200 Subject: [PATCH 2/2] libshairport: add upstream patch Signed-off-by: Stephan Raue --- ...airport-1.2.0.20310_lib-011_fix_ipv4_fallback.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 packages/network/libshairport/patches/libshairport-1.2.0.20310_lib-011_fix_ipv4_fallback.patch diff --git a/packages/network/libshairport/patches/libshairport-1.2.0.20310_lib-011_fix_ipv4_fallback.patch b/packages/network/libshairport/patches/libshairport-1.2.0.20310_lib-011_fix_ipv4_fallback.patch new file mode 100644 index 0000000000..1cce561791 --- /dev/null +++ b/packages/network/libshairport/patches/libshairport-1.2.0.20310_lib-011_fix_ipv4_fallback.patch @@ -0,0 +1,10 @@ +--- a/src/socketlib.c 2012-07-14 22:49:30.000000000 +0200 ++++ b/src/socketlib.c 2012-10-08 21:55:51.000000000 +0200 +@@ -118,6 +118,7 @@ + + int tEnable = 1; + setsockopt(tSock, SOL_SOCKET, SO_REUSEADDR, &tEnable, sizeof (tEnable)); ++ server_addr->ai_addr->sa_family = server_addr->ai_family; // ensure that server_addr has same famliy than the socket + if (bind(tSock, server_addr->ai_addr, server_addr->ai_addrlen) < 0) + { + close(tSock);