* [Buildroot] A Bug: xserver_xorg 1.12.4
@ 2013-09-09 8:04 Woody Wu
2013-09-11 9:17 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Woody Wu @ 2013-09-09 8:04 UTC (permalink / raw)
To: buildroot
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).
--
I can't go back to yesterday - because I was a different person then
-------------- next part --------------
--- 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;
^ permalink raw reply [flat|nested] 3+ messages in thread* [Buildroot] A Bug: xserver_xorg 1.12.4
2013-09-09 8:04 [Buildroot] A Bug: xserver_xorg 1.12.4 Woody Wu
@ 2013-09-11 9:17 ` Thomas Petazzoni
2013-09-11 10:52 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2013-09-11 9:17 UTC (permalink / raw)
To: buildroot
Dear Woody Wu,
On Mon, 9 Sep 2013 16:04:33 +0800, Woody Wu wrote:
> 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).
Unfortunately, no, it's not the correct. You should submit a patch
against Buildroot, which adds a patch in
package/x11r7/xserver_xorg-server/ that fixes the bug you're seeing.
See http://buildroot.org/downloads/manual/manual.html#patch-policy.
Also, it'd be good to see if this patch has been fixed upstream
already. If it's already fixed upstream, either backport the upstream
patch, or bump the X.org server version used in Buildroot. If not, then
try to submit your patch upstream so that it gets integrated in future
releases of X.org.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] A Bug: xserver_xorg 1.12.4
2013-09-11 9:17 ` Thomas Petazzoni
@ 2013-09-11 10:52 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2013-09-11 10:52 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Dear Woody Wu,
Thomas> On Mon, 9 Sep 2013 16:04:33 +0800, Woody Wu wrote:
>> 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).
Thomas> Unfortunately, no, it's not the correct. You should submit a patch
Thomas> against Buildroot, which adds a patch in
Thomas> package/x11r7/xserver_xorg-server/ that fixes the bug you're seeing.
Thomas> See http://buildroot.org/downloads/manual/manual.html#patch-policy.
Thomas> Also, it'd be good to see if this patch has been fixed upstream
Thomas> already. If it's already fixed upstream, either backport the upstream
Thomas> patch, or bump the X.org server version used in Buildroot. If not, then
Thomas> try to submit your patch upstream so that it gets integrated in future
Thomas> releases of X.org.
It is fixed upstream, but it was never pushed to the 1.12 branch:
http://cgit.freedesktop.org/xorg/xserver/commit/hw/kdrive/src/kinput.c?id=09f1e5b15b769e1122f0a8d7
I've cherry picked it and added it to buildroot, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-11 10:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-09 8:04 [Buildroot] A Bug: xserver_xorg 1.12.4 Woody Wu
2013-09-11 9:17 ` Thomas Petazzoni
2013-09-11 10:52 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox