diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-08-27 22:19:50 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-08-27 22:59:13 +0200 |
commit | 032956f34b3775d3aa50e9d77139396c6a2138b7 (patch) | |
tree | 4820f9cc1712ca46ba5b030a5dbe674fa4a4c95a | |
parent | net-misc/wol: fix compilation with musl (diff) | |
download | gentoo-032956f34b3775d3aa50e9d77139396c6a2138b7.tar.gz gentoo-032956f34b3775d3aa50e9d77139396c6a2138b7.tar.bz2 gentoo-032956f34b3775d3aa50e9d77139396c6a2138b7.zip |
app-misc/graphlcd-base: fix compilation with musl
Closes: https://bugs.gentoo.org/716892
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r-- | app-misc/graphlcd-base/files/graphlcd-base-2.0.0-musl.patch | 11 | ||||
-rw-r--r-- | app-misc/graphlcd-base/graphlcd-base-1.0.2-r1.ebuild | 2 | ||||
-rw-r--r-- | app-misc/graphlcd-base/graphlcd-base-2.0.0.ebuild | 2 |
3 files changed, 15 insertions, 0 deletions
diff --git a/app-misc/graphlcd-base/files/graphlcd-base-2.0.0-musl.patch b/app-misc/graphlcd-base/files/graphlcd-base-2.0.0-musl.patch new file mode 100644 index 000000000000..388d2f93f8f8 --- /dev/null +++ b/app-misc/graphlcd-base/files/graphlcd-base-2.0.0-musl.patch @@ -0,0 +1,11 @@ +--- a/glcdgraphics/font.c ++++ b/glcdgraphics/font.c +@@ -176,7 +176,7 @@ + + int y; int loop; + int num = 0; +- uint dot; uint b; ++ unsigned int dot; unsigned int b; + cBitmap * charBitmap = new cBitmap(charWidth, fontHeight); + charBitmap->SetMonochrome(true); + charBitmap->Clear(); diff --git a/app-misc/graphlcd-base/graphlcd-base-1.0.2-r1.ebuild b/app-misc/graphlcd-base/graphlcd-base-1.0.2-r1.ebuild index d865aa64e510..03b878878ba7 100644 --- a/app-misc/graphlcd-base/graphlcd-base-1.0.2-r1.ebuild +++ b/app-misc/graphlcd-base/graphlcd-base-1.0.2-r1.ebuild @@ -32,6 +32,8 @@ BDEPEND="virtual/pkgconfig" DOCS=( "HISTORY" "README" "TODO" "docs/." ) +PATCHES=( "${FILESDIR}/${PN}-2.0.0-musl.patch" ) + src_prepare() { default diff --git a/app-misc/graphlcd-base/graphlcd-base-2.0.0.ebuild b/app-misc/graphlcd-base/graphlcd-base-2.0.0.ebuild index ddb8aac8b96d..97b2f327bd99 100644 --- a/app-misc/graphlcd-base/graphlcd-base-2.0.0.ebuild +++ b/app-misc/graphlcd-base/graphlcd-base-2.0.0.ebuild @@ -32,6 +32,8 @@ BDEPEND="virtual/pkgconfig" DOCS=( "HISTORY" "README" "TODO" "docs/." ) +PATCHES=( "${FILESDIR}/${P}-musl.patch" ) + src_prepare() { default |