From 411cfb6ba54e3af003e8251891e82175d8ba65c3 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Wed, 23 Dec 2009 22:33:39 +0100 Subject: improved solution to avoid redefinition of INT32 in package jpeg --- src/jpeg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jpeg.mk b/src/jpeg.mk index 49b20c4..798fc05 100644 --- a/src/jpeg.mk +++ b/src/jpeg.mk @@ -38,7 +38,7 @@ endef define $(PKG)_BUILD # avoid redefinition of INT32 - $(SED) 's,#ifndef XMD_H,#if (!defined(XMD_H) \&\& !defined(_BASETSD_H)),' -i '$(1)/jmorecfg.h' + $(SED) 's,typedef long INT32;,#include ,' -i '$(1)/jmorecfg.h' cd '$(1)' && ./configure \ CC='$(TARGET)-gcc' RANLIB='$(TARGET)-ranlib' \ --disable-shared \ -- cgit v0.12