libX11: patch configure.ac so a nios2 system is not seen as an os2 system.
PATCH 1/1 libX11: patch configure.ac so a nios2 system is not seen as an os2 system.
configure.ac matches target_system against *os2* to detect if we're configuring for an os2 system. Unfortunately this also matches if the target_system is nios-linux (which is not an os2 system :-) ) This patch adds an additional case. The patch is added to the individual recipes and also made upstream.
Patch is tested by fully building 1.3.2 and by running bitbake -c patch for the other recipes.
--- .../xorg-lib/libx11-1.1.5/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.2/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.6/configure.ac-nios2.patch | 12 ++++++++++++ .../libx11-1.3.99.903/configure.ac-nios2.patch | 12 ++++++++++++ recipes/xorg-lib/libx11_1.1.5.bb | 3 ++- recipes/xorg-lib/libx11_1.3.2.bb | 3 ++- recipes/xorg-lib/libx11_1.3.6.bb | 3 ++- recipes/xorg-lib/libx11_1.3.99.903.bb | 3 ++- 8 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esac
recipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esac
recipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esac
recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esac
recipes/xorg-lib/libx11_1.1.5.bb +2 -1
@@ -1,7 +1,8 @@ require libx11.inc DEPENDS = "${COMMON_DEPENDS}" -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" +SRC_URI += " file://configure.ac-nios2.patch" SRC_URI[archive.md5sum] = "d1512d65dadd4f48c779d4749e7753a8" SRC_URI[archive.sha256sum] = "da9272900e41615e9c5dc25d84730b8966da6f5c8f4c40418dca2ad040fc8b82"
recipes/xorg-lib/libx11_1.3.2.bb +2 -1
@@ -1,10 +1,11 @@ require libx11.inc -PR = "${INC_PR}.2" +PR = "${INC_PR}.3" # gcc 4.5 ends up ICEing with thumb and -O1 with -fno-omit-framepointer # therefore if we are in thumb mode then we use -Os instead of -O1 for # DEBUG_OPTIMIZATION DEBUG_OPTIMIZATION_thumb_append = " -Os" SRC_URI += " file://dolt-fix.patch" +SRC_URI += " file://configure.ac-nios2.patch" SRC_URI[archive.md5sum] = "001d780829f936e34851ef7cd37b4dfd" SRC_URI[archive.sha256sum] = "4def4d5c9fce85d690f1f29d675154594acdea3d3fe792d0cb513732c7b4bcb2"
recipes/xorg-lib/libx11_1.3.6.bb +2 -1
@@ -1,6 +1,7 @@ require libx11.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI += " file://dolt-fix.patch" +SRC_URI += " file://configure.ac-nios2.patch" SRC_URI[archive.md5sum] = "8e0a8a466aa78f66e09fe06cb395319f" SRC_URI[archive.sha256sum] = "599826765c59a98b1e58b4f6c4ad50dca69eeb0e7bd78aea736ca815f45bea40"
recipes/xorg-lib/libx11_1.3.99.903.bb +2 -1
@@ -2,7 +2,8 @@ require libx11.inc #--without-xcb is not an option anymore #http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=15e5eaf62897b3179d1fbe457cb19f886f0449f8 DEPENDS_virtclass-native = "libxcb-native ${COMMON_DEPENDS}" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" +SRC_URI += " file://configure.ac-nios2.patch" SRC_URI[archive.md5sum] = "3e8ed7a91f70bb819b5dab9c124a7062" SRC_URI[archive.sha256sum] = "50205aad0646c0ab13aff8e8eaec7c5cddff416d3a012f83c5661ad98e49736f"
Signature · 1 line
1.7.0.4
Am Freitag, den 05.11.2010, 13:08 +0100 schrieb Frans Meulenbroeks:
Quoted 5 lines
configure.ac matches
target_systemagainst *os2* to detect if we're configuring for an os2 system. Unfortunately this also matches if thetarget_systemis nios-linux (which is not an os2 system :-) ) This patch adds an additional case. The patch is added to the individual recipes and also made upstream.
Please add a link to this commit message and the patch headers pointing to the upstream commit, list message or ticket.
Quoted 28 lines
Patch is tested by fully building 1.3.2 and by running bitbake -c patch for the other recipes.
Signed-off-by Frans Meulenbroeks <[email protected]>a---
.../xorg-lib/libx11-1.1.5/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.2/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.6/configure.ac-nios2.patch | 12 ++++++++++++ .../libx11-1.3.99.903/configure.ac-nios2.patch | 12 ++++++++++++ recipes/xorg-lib/libx11_1.1.5.bb | 3 ++- recipes/xorg-lib/libx11_1.3.2.bb | 3 ++- recipes/xorg-lib/libx11_1.3.6.bb | 3 ++- recipes/xorg-lib/libx11_1.3.99.903.bb | 3 ++- 8 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patchrecipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +2
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +===================================================================
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch line 12
Quoted 10 lines
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +10
-0+--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esac
It looks like these three patches are exactly the same. Would one file in the version independent directory be enough?
[…]
Otherwise
Thanks,
Paul
2010/11/5 Paul Menzel <[email protected]>:
Quoted 52 lines
Am Freitag, den 05.11.2010, 13:08 +0100 schrieb Frans Meulenbroeks:
Quoted 5 lines
configure.ac matches
target_systemagainst *os2* to detect if we're configuring for an os2 system. Unfortunately this also matches if thetarget_systemis nios-linux (which is not an os2 system :-) ) This patch adds an additional case. The patch is added to the individual recipes and also made upstream.Please add a link to this commit message and the patch headers pointing to the upstream commit, list message or ticket.
Quoted 28 lines
Patch is tested by fully building 1.3.2 and by running bitbake -c patch for the other recipes.
Signed-off-by Frans Meulenbroeks <[email protected]>a---
.../xorg-lib/libx11-1.1.5/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.2/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.6/configure.ac-nios2.patch | 12 ++++++++++++ .../libx11-1.3.99.903/configure.ac-nios2.patch | 12 ++++++++++++ recipes/xorg-lib/libx11_1.1.5.bb | 3 ++- recipes/xorg-lib/libx11_1.3.2.bb | 3 ++- recipes/xorg-lib/libx11_1.3.6.bb | 3 ++- recipes/xorg-lib/libx11_1.3.99.903.bb | 3 ++- 8 files changed, 56 insertions(+), 4 deletions(-)create mode 100644
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patchrecipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +2
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +===================================================================recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch line 12
Quoted 10 lines
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +10
-0+--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacIt looks like these three patches are exactly the same. Would one file in the version independent directory be enough?
Quoted 1 line
[…]
They are exactly the same.
I discussed this with Martin Jansa on irc, and we felt it would be best to submit the patch upstream.
Then if it is in the inc file, it needs to be taken out again when the next version comes.
Hence it was put in the individual files.
BTW it looks like upstream might go for a slightly different patch. I'll leave it to Martin to decide whether to go for that one or for this one (he is on cc of the upstream correspondence). I'll be afk next week so can't give followup on this.
Frans
Am Freitag, den 05.11.2010, 14:19 +0100 schrieb Frans Meulenbroeks:
Quoted 53 lines
2010/11/5 Paul Menzel <[email protected]>:
Quoted 52 lines
Am Freitag, den 05.11.2010, 13:08 +0100 schrieb Frans Meulenbroeks:
Quoted 5 lines
configure.ac matches
target_systemagainst *os2* to detect if we're configuring for an os2 system. Unfortunately this also matches if thetarget_systemis nios-linux (which is not an os2 system :-) ) This patch adds an additional case. The patch is added to the individual recipes and also made upstream.Please add a link to this commit message and the patch headers pointing to the upstream commit, list message or ticket.
Quoted 28 lines
Patch is tested by fully building 1.3.2 and by running bitbake -c patch for the other recipes.
Signed-off-by Frans Meulenbroeks <[email protected]>a---
.../xorg-lib/libx11-1.1.5/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.2/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.6/configure.ac-nios2.patch | 12 ++++++++++++ .../libx11-1.3.99.903/configure.ac-nios2.patch | 12 ++++++++++++ recipes/xorg-lib/libx11_1.1.5.bb | 3 ++- recipes/xorg-lib/libx11_1.3.2.bb | 3 ++- recipes/xorg-lib/libx11_1.3.6.bb | 3 ++- recipes/xorg-lib/libx11_1.3.99.903.bb | 3 ++- 8 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patch create mode 100644 recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patchrecipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +2
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +===================================================================recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch line 12
Quoted 10 lines
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +10
-0+--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacIt looks like these three patches are exactly the same. Would one file in the version independent directory be enough?
Quoted 5 lines
Quoted 1 line
[…]
They are exactly the same.
I discussed this with Martin Jansa on irc, and we felt it would be best to submit the patch upstream.
I agree.
Quoted 2 lines
Then if it is in the inc file, it needs to be taken out again when the next version comes.
Sorry, I did not make myself clear. My point was if you could put configure.ac-nios2.patch into libX11/ or files.
Quoted 5 lines
Hence it was put in the individual files.
BTW it looks like upstream might go for a slightly different patch. I'll leave it to Martin to decide whether to go for that one or for this one (he is on cc of the upstream correspondence).
Again, could you provide a link to that discussion.
Quoted 1 line
I'll be afk next week so can't give followup on this.
Understood. Thank you for your fast reply.
Thanks,
Paul
2010/11/5 Paul Menzel <[email protected]>:
Quoted 60 lines
Am Freitag, den 05.11.2010, 14:19 +0100 schrieb Frans Meulenbroeks:
Quoted 53 lines
2010/11/5 Paul Menzel <[email protected]>:
Quoted 52 lines
Am Freitag, den 05.11.2010, 13:08 +0100 schrieb Frans Meulenbroeks:
Quoted 5 lines
configure.ac matches
target_systemagainst *os2* to detect if we're configuring for an os2 system. Unfortunately this also matches if thetarget_systemis nios-linux (which is not an os2 system :-) ) This patch adds an additional case. The patch is added to the individual recipes and also made upstream.Please add a link to this commit message and the patch headers pointing to the upstream commit, list message or ticket.
Quoted 28 lines
Patch is tested by fully building 1.3.2 and by running bitbake -c patch for the other recipes.
Signed-off-by Frans Meulenbroeks <[email protected]>a---
.../xorg-lib/libx11-1.1.5/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.2/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.6/configure.ac-nios2.patch | 12 ++++++++++++ .../libx11-1.3.99.903/configure.ac-nios2.patch | 12 ++++++++++++ recipes/xorg-lib/libx11_1.1.5.bb | 3 ++- recipes/xorg-lib/libx11_1.3.2.bb | 3 ++- recipes/xorg-lib/libx11_1.3.6.bb | 3 ++- recipes/xorg-lib/libx11_1.3.99.903.bb | 3 ++- 8 files changed, 56 insertions(+), 4 deletions(-)create mode 100644
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patchrecipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +2
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +===================================================================recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch line 12
Quoted 10 lines
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +10
-0+--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacIt looks like these three patches are exactly the same. Would one file in the version independent directory be enough?
Quoted 5 lines
Quoted 1 line
[…]
They are exactly the same.
I discussed this with Martin Jansa on irc, and we felt it would be best to submit the patch upstream.
Quoted 7 lines
I agree.
Quoted 2 lines
Then if it is in the inc file, it needs to be taken out again when the next version comes.
Sorry, I did not make myself clear. My point was if you could put
configure.ac-nios2.patchintolibX11/orfiles.
Yes.
files is not too nice, libX11 is probably better
Quoted 8 lines
Quoted 6 lines
Hence it was put in the individual files.
BTW it looks like upstream might go for a slightly different patch. I'll leave it to Martin to decide whether to go for that one or for this one (he is on cc of the upstream correspondence).
Again, could you provide a link to that discussion.
http://lists.freedesktop.org/archives/xorg/2010-November/051731.html
Quoted 5 lines
Quoted 2 lines
I'll be afk next week so can't give followup on this.
Understood. Thank you for your fast reply.
You thanks for your review work!
It is not often said, but it is definitely appreciated.
Frans
Quoted 11 lines
Thanks,
Paul
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 7 lines · Paul Menzel
I agree.
Quoted 2 lines
Then if it is in the inc file, it needs to be taken out again when the next version comes.
Sorry, I did not make myself clear. My point was if you could put
configure.ac-nios2.patchintolibX11/orfiles.
better not to use files at all
http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/025673.html
diet-x11_1.1.5.bb libx11-trim_1.1.5.bb will find it ok in libx11* dir, because of FILESPATHPKG .= ":libx11-${PV}:libx11" in libx11.inc
but even when it's the same file I would keep it in separate dirs, because newer versions won't need it (hopefully) and then it will be removed with older versions.
Quoted 7 lines
Quoted 5 lines
Hence it was put in the individual files.
BTW it looks like upstream might go for a slightly different patch. I'll leave it to Martin to decide whether to go for that one or for this one (he is on cc of the upstream correspondence).
Again, could you provide a link to that discussion.
http://lists.freedesktop.org/archives/xorg/2010-November/051731.html
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Am Freitag, den 05.11.2010, 14:38 +0100 schrieb Martin Jansa:
Quoted 11 lines · Paul Menzel
Quoted 7 lines
I agree.
Quoted 2 lines
Then if it is in the inc file, it needs to be taken out again when the next version comes.
Sorry, I did not make myself clear. My point was if you could put
configure.ac-nios2.patchintolibX11/orfiles.better not to use files at all
http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/025673.html
Correct. I forgot.
Quoted 6 lines
diet-x11_1.1.5.bb libx11-trim_1.1.5.bb will find it ok in libx11* dir, because of FILESPATHPKG .= ":libx11-${PV}:libx11" in libx11.inc
but even when it's the same file I would keep it in separate dirs, because newer versions won't need it (hopefully) and then it will be removed with older versions.
That is a valid argument. Although then patches should never be share between versions unless there is no upstream development anymore?
It is fine either way by me. So do as you prefer.
Quoted 9 lines
Quoted 7 lines
Quoted 5 lines
Hence it was put in the individual files.
BTW it looks like upstream might go for a slightly different patch. I'll leave it to Martin to decide whether to go for that one or for this one (he is on cc of the upstream correspondence).
Again, could you provide a link to that discussion.
http://lists.freedesktop.org/archives/xorg/2010-November/051731.html
Thanks,
Paul
Quoted 10 lines · Frans Meulenbroeks
configure.ac matches
target_systemagainst *os2* to detect if we're configuring for an os2 system. Unfortunately this also matches if thetarget_systemis nios-linux (which is not an os2 system :-) ) This patch adds an additional case. The patch is added to the individual recipes and also made upstream.Patch is tested by fully building 1.3.2 and by running bitbake -c patch for the other recipes.
Signed-off-by Frans Meulenbroeks <[email protected]>
Hmmm good find. I am ok with general fix. but please consider other review comments before you commit
Quoted 154 lines
---
.../xorg-lib/libx11-1.1.5/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.2/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.6/configure.ac-nios2.patch | 12 ++++++++++++ .../libx11-1.3.99.903/configure.ac-nios2.patch | 12 ++++++++++++ recipes/xorg-lib/libx11_1.1.5.bb | 3 ++- recipes/xorg-lib/libx11_1.3.2.bb | 3 ++- recipes/xorg-lib/libx11_1.3.6.bb | 3 ++- recipes/xorg-lib/libx11_1.3.99.903.bb | 3 ++- 8 files changed, 56 insertions(+), 4 deletions(-)create mode 100644
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patchrecipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacrecipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacrecipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacrecipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacrecipes/xorg-lib/libx11_1.1.5.bb +0
-0@@ -1,7 +1,8 @@require libx11.inc
DEPENDS = "${COMMON_DEPENDS}"recipes/xorg-lib/libx11_1.1.5.bb +2
-1-PR = "${INC_PR}.1" +PR = "${INC_PR}.2" +SRC_URI += " file://configure.ac-nios2.patch"SRC_URI[archive.md5sum] = "
d1512d65dadd4f48c779d4749e7753a8" SRC_URI[archive.sha256sum] = "da9272900e41615e9c5dc25d84730b8966da6f5c8f4c40418dca2ad040fc8b82"recipes/xorg-lib/libx11_1.3.2.bb +0
-0@@ -1,10 +1,11 @@require libx11.inc
recipes/xorg-lib/libx11_1.3.2.bb +1
-1-PR = "${INC_PR}.2" +PR = "${INC_PR}.3"# gcc 4.5 ends up ICEing with thumb and -O1 with -fno-omit-framepointer # therefore if we are in thumb mode then we use -Os instead of -O1 for # DEBUG_OPTIMIZATIONDEBUG_OPTIMIZATION_thumb_append = " -Os"
SRC_URI += " file://dolt-fix.patch"
+SRC_URI += " file://configure.ac-nios2.patch"
SRC_URI[archive.md5sum] = "001d780829f936e34851ef7cd37b4dfd" SRC_URI[archive.sha256sum] = "4def4d5c9fce85d690f1f29d675154594acdea3d3fe792d0cb513732c7b4bcb2"recipes/xorg-lib/libx11_1.3.6.bb +0
-0@@ -1,6 +1,7 @@require libx11.inc
recipes/xorg-lib/libx11_1.3.6.bb +1
-1-PR = "${INC_PR}.0" +PR = "${INC_PR}.1"SRC_URI += " file://dolt-fix.patch"
+SRC_URI += " file://configure.ac-nios2.patch"
SRC_URI[archive.md5sum] = "8e0a8a466aa78f66e09fe06cb395319f" SRC_URI[archive.sha256sum] = "599826765c59a98b1e58b4f6c4ad50dca69eeb0e7bd78aea736ca815f45bea40"recipes/xorg-lib/libx11_1.3.99.903.bb +0
-0@@ -2,7 +2,8 @@ require libx11.inc #--without-xcb is not an option anymore #http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=15e5eaf62897b3179d1fbe457cb19f886f0449f8DEPENDS_virtclass-native = "libxcb-native ${COMMON_DEPENDS}"
recipes/xorg-lib/libx11_1.3.99.903.bb +2
-1-PR = "${INC_PR}.0" +PR = "${INC_PR}.1" +SRC_URI += " file://configure.ac-nios2.patch"SRC_URI[archive.md5sum] = "
3e8ed7a91f70bb819b5dab9c124a7062" SRC_URI[archive.sha256sum] = "50205aad0646c0ab13aff8e8eaec7c5cddff416d3a012f83c5661ad98e49736f" --
1.7.0.4_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
2010/11/5 Khem Raj <[email protected]>:
Quoted 11 lines
Quoted 9 lines · Frans Meulenbroeks
configure.ac matches
target_systemagainst *os2* to detect if we're configuring for an os2 system. Unfortunately this also matches if thetarget_systemis nios-linux (which is not an os2 system :-) ) This patch adds an additional case. The patch is added to the individual recipes and also made upstream.Patch is tested by fully building 1.3.2 and by running bitbake -c patch for the other recipes.
Quoted 6 lines
Quoted 1 line
Signed-off-by Frans Meulenbroeks <[email protected]>Hmmm good find. I am ok with general fix. but please consider other review comments before you commit
Acked-by Khem Raj <[email protected]>
I won't have time to commit next 10 days or so. I'll be mostly afk. If desired Martin (being the X maintainer iirc, can commit). And feel free to change the patch or the commit message (or maybe move to the alternative suggested upstream).
Frans
Quoted 161 lines
Quoted 150 lines
---
.../xorg-lib/libx11-1.1.5/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.2/configure.ac-nios2.patch | 12 ++++++++++++ .../xorg-lib/libx11-1.3.6/configure.ac-nios2.patch | 12 ++++++++++++ .../libx11-1.3.99.903/configure.ac-nios2.patch | 12 ++++++++++++ recipes/xorg-lib/libx11_1.1.5.bb | 3 ++- recipes/xorg-lib/libx11_1.3.2.bb | 3 ++- recipes/xorg-lib/libx11_1.3.6.bb | 3 ++- recipes/xorg-lib/libx11_1.3.99.903.bb | 3 ++- 8 files changed, 56 insertions(+), 4 deletions(-)create mode 100644
recipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patchcreate mode 100644recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patchrecipes/xorg-lib/libx11-1.1.5/configure.ac-nios2.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacrecipes/xorg-lib/libx11-1.3.2/configure.ac-nios2.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacrecipes/xorg-lib/libx11-1.3.6/configure.ac-nios2.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacrecipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch new file +12
-0@@ -0,0 +1,12 @@ +Index: libX11-1.3.2/configure.ac +=================================================================== +--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100 ++++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100 +@@ -202,6 +202,7 @@ + # arch specific things + WCHAR32="1" + case $target_alias in ++ nios2*) os2="false" ;; + *os2*) os2="true" ; WCHAR32="0" ;; + *) ;; + esacrecipes/xorg-lib/libx11_1.1.5.bb +0
-0@@ -1,7 +1,8 @@require libx11.inc
DEPENDS = "${COMMON_DEPENDS}"recipes/xorg-lib/libx11_1.1.5.bb +2
-1-PR = "${INC_PR}.1" +PR = "${INC_PR}.2" +SRC_URI += " file://configure.ac-nios2.patch"SRC_URI[archive.md5sum] = "
d1512d65dadd4f48c779d4749e7753a8" SRC_URI[archive.sha256sum] = "da9272900e41615e9c5dc25d84730b8966da6f5c8f4c40418dca2ad040fc8b82"recipes/xorg-lib/libx11_1.3.2.bb +0
-0@@ -1,10 +1,11 @@require libx11.inc
recipes/xorg-lib/libx11_1.3.2.bb +1
-1-PR = "${INC_PR}.2" +PR = "${INC_PR}.3"# gcc 4.5 ends up ICEing with thumb and -O1 with -fno-omit-framepointer # therefore if we are in thumb mode then we use -Os instead of -O1 for # DEBUG_OPTIMIZATIONDEBUG_OPTIMIZATION_thumb_append = " -Os"
SRC_URI += " file://dolt-fix.patch"
+SRC_URI += " file://configure.ac-nios2.patch"
SRC_URI[archive.md5sum] = "001d780829f936e34851ef7cd37b4dfd" SRC_URI[archive.sha256sum] = "4def4d5c9fce85d690f1f29d675154594acdea3d3fe792d0cb513732c7b4bcb2"recipes/xorg-lib/libx11_1.3.6.bb +0
-0@@ -1,6 +1,7 @@require libx11.inc
recipes/xorg-lib/libx11_1.3.6.bb +1
-1-PR = "${INC_PR}.0" +PR = "${INC_PR}.1"SRC_URI += " file://dolt-fix.patch"
+SRC_URI += " file://configure.ac-nios2.patch"
SRC_URI[archive.md5sum] = "8e0a8a466aa78f66e09fe06cb395319f" SRC_URI[archive.sha256sum] = "599826765c59a98b1e58b4f6c4ad50dca69eeb0e7bd78aea736ca815f45bea40"recipes/xorg-lib/libx11_1.3.99.903.bb +0
-0@@ -2,7 +2,8 @@ require libx11.inc #--without-xcb is not an option anymore #http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=15e5eaf62897b3179d1fbe457cb19f886f0449f8DEPENDS_virtclass-native = "libxcb-native ${COMMON_DEPENDS}"
recipes/xorg-lib/libx11_1.3.99.903.bb +2
-1-PR = "${INC_PR}.0" +PR = "${INC_PR}.1" +SRC_URI += " file://configure.ac-nios2.patch"SRC_URI[archive.md5sum] = "
3e8ed7a91f70bb819b5dab9c124a7062" SRC_URI[archive.sha256sum] = "50205aad0646c0ab13aff8e8eaec7c5cddff416d3a012f83c5661ad98e49736f" --
1.7.0.4Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel