Patchwork [PATCH-proposal] fix vlc building (-fPIC error) by patching live555 recipe

login
register
mail settings
Submitter Sylvain Paré
Date July 6, 2011, 9:55 p.m.
Message ID <CACrTVgK1=Kmy-ZHXCreTWrizA=ihJTbJoXWO7ny-1=e6-ds6vg@mail.gmail.com>
Download mbox | patch
Permalink /patch/7101/
State New, archived
Headers show

Comments

Sylvain Paré - July 6, 2011, 9:55 p.m.
ok sorry for the noise.. last time with INC_PR updated

From d8eaabb63088dc68b7bba3f5a6ac6a31e65a36e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sylvain=20'GarthPS'=20Par=C3=A9?= <sylvain.pare@gmail.com>
Date: Wed, 6 Jul 2011 23:53:42 +0200
Subject: [PATCH] live555 recipe: added -fPIC flag need by VLC to build with
live555 support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Sylvain 'GarthPS' Paré <sylvain.pare@gmail.com>
---
 recipes/live555/live555.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

 SRC_URI = "http://www.live555.com/liveMedia/public/live.${URLV}.tar.gz \
@@ -18,6 +18,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"

 do_configure() {
     cp ${WORKDIR}/config.linux-cross .
+    echo "COMPILE_OPTS+=" -fPIC "" >> config.linux-cross
     ./genMakefiles linux-cross
 }

Patch

diff --git a/recipes/live555/live555.inc b/recipes/live555/live555.inc
index 14e97bb..f1e21dc 100644
--- a/recipes/live555/live555.inc
+++ b/recipes/live555/live555.inc
@@ -7,7 +7,7 @@  HOMEPAGE = "http://live.com/"
 LICENSE = "LGPL"
 SECTION = "devel"

-INC_PR = "r1"
+INC_PR = "r2"

 URLV =
"${@bb.data.getVar('PV',d,1)[0:4]}.${@bb.data.getVar('PV',d,1)[4:6]}.${@bb.data.getVar('PV',d,1)[6:8]}"