diff mbox

[PATCHv3] package/efl/libevas: remove unsafe paths

Message ID 1441789273-1850-1-git-send-email-Vincent.Riera@imgtec.com
State Not Applicable
Headers show

Commit Message

Vicente Olivert Riera Sept. 9, 2015, 9:01 a.m. UTC
Fixes:

  http://autobuild.buildroot.net/results/7f2/7f2baef97c4ff3b9111becc1e0b79780c6e9db6f/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
Changes v2 -> v3:
  - Indent the sed command with a tab (Suggested by Arnout)
Changes v1 -> v2:
  - Use % instead of # in the sed command (Suggested by Arnout)
  - Remove the useless host-post-patch-hook (Suggested by Arnout)

 package/efl/libevas/libevas.mk |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Comments

Romain Naour Sept. 9, 2015, 9:08 a.m. UTC | #1
Hi Vicente,

Le 09/09/2015 11:01, Vicente Olivert Riera a écrit :
> Fixes:
> 
>   http://autobuild.buildroot.net/results/7f2/7f2baef97c4ff3b9111becc1e0b79780c6e9db6f/
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

I'll remove this package soon, so it's not useful to fix this error now ;-)
http://patchwork.ozlabs.org/patch/515599/

Best regards,
Romain
Vicente Olivert Riera Sept. 9, 2015, 9:10 a.m. UTC | #2
Dear Romain Naour,

On 09/09/2015 10:08 AM, Romain Naour wrote:
> Hi Vicente,
> 
> Le 09/09/2015 11:01, Vicente Olivert Riera a écrit :
>> Fixes:
>>
>>   http://autobuild.buildroot.net/results/7f2/7f2baef97c4ff3b9111becc1e0b79780c6e9db6f/
>>
>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> 
> I'll remove this package soon, so it's not useful to fix this error now ;-)
> http://patchwork.ozlabs.org/patch/515599/

yeah, I have seen your patch series, but this patch (which is easy to
review and test) will prevent future autobuild failures until your
series (which is more complex and therefore harder to review and test)
is merged.

Regards,

Vincent.

> Best regards,
> Romain
>
diff mbox

Patch

diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 8113162..6f48720 100644
--- a/package/efl/libevas/libevas.mk
+++ b/package/efl/libevas/libevas.mk
@@ -17,6 +17,12 @@  LIBEVAS_DEPENDENCIES = host-pkgconf zlib libeina freetype
 HOST_LIBEVAS_DEPENDENCIES = \
 	host-pkgconf host-zlib host-libeina \
 	host-freetype host-libpng host-libjpeg
+
+define LIBEVAS_REMOVE_UNSAFE_PATHS
+	$(SED) 's%-I/usr/include%%g' $(@D)/configure
+endef
+LIBEVAS_POST_PATCH_HOOKS += LIBEVAS_REMOVE_UNSAFE_PATHS
+
 HOST_LIBEVAS_CONF_OPTS += \
 	--enable-image-loader-png \
 	--enable-image-loader-jpeg \