[OE-core] [PATCH 14/26] puzzles: switch svn for git, as upstream has done the same
Martin Jansa
martin.jansa at gmail.com
Thu Jul 30 14:35:00 UTC 2015
On Thu, Jul 30, 2015 at 04:31:43PM +0300, Alexander Kanavin wrote:
> Also, drop puzzles_x32_abi_time.patch as it has been merged upstream
>
> Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
> ---
> .../puzzles/files/puzzles_x32_abi_time.patch | 30 ----------------------
> .../puzzles/{puzzles_r10286.bb => puzzles_git.bb} | 7 ++---
> 2 files changed, 4 insertions(+), 33 deletions(-)
> delete mode 100644 meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
> rename meta/recipes-sato/puzzles/{puzzles_r10286.bb => puzzles_git.bb} (89%)
>
> diff --git a/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch b/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
> deleted file mode 100644
> index 63ab0b8..0000000
> --- a/meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -Fix printf's for time_t value add castings because ISOC90
> -don't support long long int that is used in x32 ABI for
> -time_t.
> -
> -Upstream-Status: Backport
> -
> -Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
> -
> ---- a/magnets.c 2015-03-15 11:57:39.106674811 +0000
> -+++ b/magnets.c 2015-03-15 11:57:58.638674795 +0000
> -@@ -2562,7 +2562,7 @@
> - goto done;
> - }
> - s = new_game(NULL, p, desc);
> -- printf("%s:%s (seed %ld)\n", id, desc, seed);
> -+ printf("%s:%s (seed %ld)\n", id, desc, (long) seed);
> - if (aux) {
> - /* We just generated this ourself. */
> - if (verbose || print) {
> ---- a/signpost.c 2015-03-15 11:58:52.866674751 +0000
> -+++ b/signpost.c 2015-03-15 11:59:08.190674738 +0000
> -@@ -2393,7 +2393,7 @@
> - }
> - }
> -
> -- sprintf(newseed, "%lu", time(NULL));
> -+ sprintf(newseed, "%lu", (unsigned long) time(NULL));
> - seedstr = dupstr(newseed);
> -
> - if (id || !stdin_desc) {
> diff --git a/meta/recipes-sato/puzzles/puzzles_r10286.bb b/meta/recipes-sato/puzzles/puzzles_git.bb
> similarity index 89%
> rename from meta/recipes-sato/puzzles/puzzles_r10286.bb
> rename to meta/recipes-sato/puzzles/puzzles_git.bb
> index 1ad8d1b..6346c06 100644
> --- a/meta/recipes-sato/puzzles/puzzles_r10286.bb
> +++ b/meta/recipes-sato/puzzles/puzzles_git.bb
> @@ -10,12 +10,13 @@ REQUIRED_DISTRO_FEATURES = "x11"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://LICENCE;md5=33bcd4bce8f3c197f2aefbdbd2d299bc"
>
> -SRC_URI = "svn://svn.tartarus.org/sgt;module=puzzles;rev=${MOD_PV} \
> +SRC_URI = "git://git.tartarus.org/simon/puzzles.git \
> file://fix-compiling-failure-with-option-g-O.patch \
> - file://puzzles_x32_abi_time.patch \
> "
> +SRCREV = "aa1a9375be96cd8e0f89a670359c3c80ad7cf937"
> +PV = "0.0+git${SRCPV}"
Doesn't PV go backwards with this?
>
> -S = "${WORKDIR}/${BPN}"
> +S = "${WORKDIR}/git"
>
> inherit autotools-brokensep distro_features_check
>
> --
> 2.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150730/6912fcef/attachment-0002.sig>
More information about the Openembedded-core
mailing list