From patchwork Thu Jan 24 16:20:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tiana Rakotovao Andriamahefa X-Patchwork-Id: 2032611 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 856D33FDBC for ; Thu, 24 Jan 2013 15:23:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754366Ab3AXPXS (ORCPT ); Thu, 24 Jan 2013 10:23:18 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:55356 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753220Ab3AXPXR (ORCPT ); Thu, 24 Jan 2013 10:23:17 -0500 Received: by mail-wi0-f171.google.com with SMTP id hn14so540017wib.10 for ; Thu, 24 Jan 2013 07:23:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=lTr9zhnJGLLX1HE7Z6bpSKIMUwawFqiGgsyNxVXmuL8=; b=yJ7tJem8FeduXXo+p03iDsTn32qlHDxBgldC4wwmujuLDI+tWp8t3srWSTep3Qa496 DBusfRVgZTYTFnWuisdAQoCavR9tTX4CpWcGC7vqFXkwIufwuj5Pvmlx4sj39mrZU3YH zXRfVBcWZTbRbqoGZiXG8MaPjQPKzWObNTMKLiGA+nZ8O/Cbp8P7o1LcJUxMAAhqWhjF ycI9stWwaatpLiAh/v+CSm752WDhBbg5IypS2MoHSxYsxZLX/Gn76fxTdLWnYTZ49u+X 3q4eEvsINGKVJWEpOObYrV8BLw/590bUfTftOo8AV15tw6KsEorPs5TKmmQkq8A6LjLb RSIg== X-Received: by 10.180.78.137 with SMTP id b9mr3871424wix.30.1359040996390; Thu, 24 Jan 2013 07:23:16 -0800 (PST) Received: from rak ([193.48.172.22]) by mx.google.com with ESMTPS id t17sm3041913wiv.6.2013.01.24.07.23.14 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jan 2013 07:23:15 -0800 (PST) Received: by rak (Postfix, from userid 1000) id D3702EA201; Thu, 24 Jan 2013 16:20:55 +0000 (WET) From: Tiana Rakotovao Andriamahefa To: mmarek@suse.cz Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, rkmahefa@gmail.com Subject: [PATCH] scripts: kconfig: qconf.cc: fix a compiliation error when using make xconfig Date: Thu, 24 Jan 2013 16:20:39 +0000 Message-Id: <1359044439-13647-1-git-send-email-rkmahefa@gmail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Le jeudi 24 janvier 2013 à 11:36:31, Michal Marek a écrit : > On 16.1.2013 13:26, Tiana Rakotovao Andriamahefa wrote: > > I have checked it and found that the error was effectively fixed in the last > > maintained upload of Qt3 in 2011. However, the correction is not yet in Wheezy > > (Debian testing) which I have used for more than a year. It might be > > included there one day! > > This is the case of Debian, but not all distros. > > OK. And it is dead upstream. So I'll apply your patch. Could you please > resend it? I deleted the email already. Here is the patch. When using make xconfig, the following compilation error appears : /usr/include/qt3/qvaluelist.h:427:13: error: ‘ptrdiff_t’ does not name a type Including stddef.h in scripts/kconfig/qconf.cc permits to avoid this error. Signed-off-by: Tiana Rakotovao Andriamahefa --- scripts/kconfig/qconf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index df274fe..1500c38 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -6,6 +6,7 @@ #include #if QT_VERSION < 0x040000 +#include #include #include #include