From patchwork Mon Sep 9 08:04:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Woody Wu X-Patchwork-Id: 273963 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id A20ED2C01E5 for ; Wed, 11 Sep 2013 04:04:55 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1352D33787; Tue, 10 Sep 2013 18:04:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0o+4kXtYskaO; Tue, 10 Sep 2013 18:04:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AECC932C63; Tue, 10 Sep 2013 17:56:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CF11E1BF97C for ; Mon, 9 Sep 2013 08:04:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CB84F8B0BB for ; Mon, 9 Sep 2013 08:04:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TplEkC949sQQ for ; Mon, 9 Sep 2013 08:04:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id C55B68AEF0 for ; Mon, 9 Sep 2013 08:04:57 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id xa7so5800310pbc.31 for ; Mon, 09 Sep 2013 01:04:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=VMe9r+8AtEqqXGO5qK65zBkkyidJsheRYn5tV6UVM9M=; b=MvXj86NrogewwjLzL5IM/MqxtWw7Y5RVzMzegTwiK58GgR7E+qFDx8BMGNKMdaCGh+ kcC9XHWLxJMmLl+e3np/PIeEqnQ6N4Bli2BrOL5qWu04GRH3Oo1afPVEnZxLkoG0hcQF MH08n0x+fjK6p3A1GdHTlBWCBrCviE50qzhCqTeAKwqwjchlBAyR3PB8pjVEYtmi5bCn cpCEkRWGNf5R9PA29cnRsWn6l0X1BnRlWTsKngZCf73fYk6uWUq7cDspAQ9PPzhw0Gqc uwrALapUjE5EDUyogZnmoSqaUAydWPwcC9mxELQcL/zlbL95AN7nDUBYUhXFZngz2UP4 9+dA== X-Received: by 10.66.196.168 with SMTP id in8mr18377749pac.18.1378713897617; Mon, 09 Sep 2013 01:04:57 -0700 (PDT) Received: from localhost ([59.37.26.98]) by mx.google.com with ESMTPSA id hx1sm14676058pbb.35.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 09 Sep 2013 01:04:56 -0700 (PDT) Date: Mon, 9 Sep 2013 16:04:33 +0800 From: Woody Wu To: buildroot Message-ID: <20130909080432.GA2684@zuhnb712.ap.bm.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [Buildroot] A Bug: xserver_xorg 1.12.4 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net In 2013.08, build is using 1.12.4 version of xserver_xorg package. However, I found there is bug in this version, which cause the options parsing of kdrive modules is not correct. I attached a patch file in the message (not sure what's the correct way to commit buildroot package patches). --- a/hw/kdrive/src/kinput.c 2012-08-19 23:41:37.000000000 +0800 +++ b/hw/kdrive/src/kinput.c 2013-09-09 15:52:26.353042088 +0800 @@ -1055,7 +1055,7 @@ if (strchr(string, '=')) { tam_key = (strchr(string, '=') - string); - key = strndup(string, tam_key + 1); + key = strndup(string, tam_key); if (!key) goto out;