From: Hongxu Jia <hongxu.jia@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: Saul Wold <saul.wold@intel.com>,
OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/3] socat: upgrade to 1.7.2.4
Date: Wed, 28 May 2014 15:28:23 +0800 [thread overview]
Message-ID: <53859017.4020502@windriver.com> (raw)
In-Reply-To: <CAJTo0LY5MeXQFm0_N5uqLGm_f_ZXTZmX9_DtJicjeYhu=4iQ+w@mail.gmail.com>
On 05/27/2014 07:37 PM, Burton, Ross wrote:
> On 27 May 2014 02:59, Hongxu Jia <hongxu.jia@windriver.com> wrote:
>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>> ---
>> .../recipes-connectivity/socat/socat/compile.patch | 163 +++++++++++----------
> Oh wow this patch is ... special.
>
> 99% of it is adding the extra arguments to AC_DEFINE so that recent
> autoheader actually works. This is essential upstream and I'm
> surprised they still don't have it.
I will add the explanation of 'AC_DEFINE' in the patch header.
> Remove all of these and we'll left with these two chunks:
>
> [AC_TRY_COMPILE([#include <termios.h>],
> -[struct termios t; t.c_ispeed=0;],
> +[struct termios t; t.c_ispeed=ISPEED_OFFSET; t.c_ospeed=OSPEED_OFFSET;],
>
> I can't see a reason why that is obviously wrong but if it's right, it
> needs to be explained in the patch header and pushed upstream.
This 'AC_TRY_COMPILE' was Okay with 't.c_ispeed=0', so it is no
need to assigned with ISPEED_OFFSET/OSPEED_OFFSET
> -AC_DEFINE_UNQUOTED($1_SHIFT, ${$2})
> +SHIFT_NAME="$1"_SHIFT
> +AC_DEFINE_UNQUOTED($SHIFT_NAME, ${$2}, [foo])
>
> This introduces a change that is subsequently removed by
> fix-xxx-SHIFT-autoheader.patch, which again is basically fixing the
> AC_DEFINE autoheader use, should be merged with the majority of
> compile.patch, and submitted upstream.
Okay, I will merged these to compile.path.
> Finally there's a do_configure_prepend that does yet more alternations
> to the configure script. This needs to be a patch instead of a sed.
The 'do_configure_prepend' task was used for 'enable termios',
I will add a new patch to instead of the sed.
>> --- a/meta/recipes-connectivity/socat/socat_1.7.2.3.bb
>> +++ b/meta/recipes-connectivity/socat/socat_1.7.2.4.bb
>> @@ -8,16 +8,18 @@ SECTION = "console/network"
>> DEPENDS = "openssl readline"
>>
>> LICENSE = "GPL-2.0+-with-OpenSSL-exception"
>> -LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760 \
>> - file://README;beginline=252;endline=282;md5=79246f11a1db0b6ccec54d1fb711c01e"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
>> + file://README;beginline=257;endline=287;md5=79246f11a1db0b6ccec54d1fb711c01e"
> Please explain why the license checksum changed.
In COPYING, the company address changed:
s/675 Mass Ave, Cambridge, MA 02139/51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301/
In README, the license has no change, just ajustment the beginline.
It is still GPLV2.
//Hongxu
>
> Ross
next prev parent reply other threads:[~2014-05-28 7:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-27 1:59 [PATCH V2 0/3] socat: upgrade to 1.7.2.4 Hongxu Jia
2014-05-27 1:59 ` [PATCH 1/3] " Hongxu Jia
2014-05-27 11:37 ` Burton, Ross
2014-05-28 7:28 ` Hongxu Jia [this message]
2014-05-27 1:59 ` [PATCH 2/3] socat: fix supporting cross compiling Hongxu Jia
2014-05-27 1:59 ` [PATCH 3/3] socat: fix linux/errqueue.h not found Hongxu Jia
2014-05-27 11:43 ` Burton, Ross
2014-05-28 5:57 ` Hongxu Jia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53859017.4020502@windriver.com \
--to=hongxu.jia@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@intel.com \
--cc=saul.wold@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox