From 7b66079f8b19239eafc46403e169764401ff4f69 Mon Sep 17 00:00:00 2001 From: fake Date: Sat, 18 Sep 2004 19:25:22 +0000 Subject: [PATCH] fake: streamtuner: add gcc34.diff, needed only for streamtuner-local (thus the .conf), they even promote this fix on their hp [2004091205332011471] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4277 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/mathieu/streamtuner/gcc34.diff | 10 ++++++++++ package/mathieu/streamtuner/streamtuner.conf | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/mathieu/streamtuner/gcc34.diff create mode 100644 package/mathieu/streamtuner/streamtuner.conf diff --git a/package/mathieu/streamtuner/gcc34.diff b/package/mathieu/streamtuner/gcc34.diff new file mode 100644 index 000000000..ae8fc7340 --- /dev/null +++ b/package/mathieu/streamtuner/gcc34.diff @@ -0,0 +1,10 @@ +--- ./src/local.c.orig 2004-09-12 05:26:32.856351552 +0200 ++++ ./src/local.c 2004-09-12 05:27:08.615915272 +0200 +@@ -614,6 +614,7 @@ + case LOCAL_TYPE_OGG: local_vc_read(stream); break; + #endif + default: /* nop */ ++ ; + } + + *streams = g_list_append(*streams, stream); diff --git a/package/mathieu/streamtuner/streamtuner.conf b/package/mathieu/streamtuner/streamtuner.conf new file mode 100644 index 000000000..11249d273 --- /dev/null +++ b/package/mathieu/streamtuner/streamtuner.conf @@ -0,0 +1,9 @@ + + +streamtuner_prepatch() { + if [[ $xsrctar = streamtuner-local* ]] ; then + var_append patchfiles ' ' "$confdir/gcc34.diff" + fi +} + +hook_add prepatch 1 streamtuner_prepatch