public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Sterrett" <mr_bones_@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/typespeed/, games-misc/typespeed/files/
Date: Sat,  2 Jan 2016 01:47:58 +0000 (UTC)	[thread overview]
Message-ID: <1451699245.cfb29fb00e056aa3b599c34172f7f2ca6bea8a71.mr_bones_@gentoo> (raw)

commit:     cfb29fb00e056aa3b599c34172f7f2ca6bea8a71
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 01:47:09 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 01:47:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfb29fb0

games-misc/typespeed: add patch from Felix Janda to build on the musl profiles (bug #570452)

Package-Manager: portage-2.2.24

 games-misc/typespeed/files/typespeed-0.6.5-musl.patch | 15 +++++++++++++++
 games-misc/typespeed/typespeed-0.6.5.ebuild           |  7 +++----
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/games-misc/typespeed/files/typespeed-0.6.5-musl.patch b/games-misc/typespeed/files/typespeed-0.6.5-musl.patch
new file mode 100644
index 0000000..3fd53b3
--- /dev/null
+++ b/games-misc/typespeed/files/typespeed-0.6.5-musl.patch
@@ -0,0 +1,15 @@
+diff -ur a/typespeed-0.6.5/src/typespeed.h b/typespeed-0.6.5/src/typespeed.h
+--- a/typespeed-0.6.5/src/typespeed.h	2008-08-13 15:36:51.000000000 +0100
++++ b/typespeed-0.6.5/src/typespeed.h	2016-01-01 10:41:54.919998820 +0100
+@@ -27,10 +27,10 @@
+ 
+ #include <stdint.h>
+ #include <stdio.h>
++#include <time.h>
+ 
+ #ifdef WIN32
+ 	#include <dirent.h>
+-	#include <time.h>
+ 
+ 	#ifndef MAXHOSTNAMELEN
+ 		#define MAXHOSTNAMELEN	256

diff --git a/games-misc/typespeed/typespeed-0.6.5.ebuild b/games-misc/typespeed/typespeed-0.6.5.ebuild
index 88c9474..cca2de7 100644
--- a/games-misc/typespeed/typespeed-0.6.5.ebuild
+++ b/games-misc/typespeed/typespeed-0.6.5.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-inherit autotools games
+inherit autotools eutils games
 
 DESCRIPTION="Test your typing speed, and get your fingers CPS"
 HOMEPAGE="http://typespeed.sourceforge.net/"
@@ -24,9 +24,8 @@ src_prepare() {
 		-e 's/testsuite//' \
 		-e 's/doc//' \
 		Makefile.am || die
-	sed -i \
-		-e '/^CC =/d' \
-		src/Makefile.am || die
+	sed -i -e '/^CC =/d' src/Makefile.am || die
+	epatch "${FILESDIR}"/${P}-musl.patch
 	rm -rf m4 #417265
 	eautoreconf
 }


             reply	other threads:[~2016-01-02  1:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-02  1:47 Michael Sterrett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-15 20:03 [gentoo-commits] repo/gentoo:master commit in: games-misc/typespeed/, games-misc/typespeed/files/ David Seifert
2024-03-04  5:17 Sam James

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=1451699245.cfb29fb00e056aa3b599c34172f7f2ca6bea8a71.mr_bones_@gentoo \
    --to=mr_bones_@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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