commit: 032956f34b3775d3aa50e9d77139396c6a2138b7 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Thu Aug 27 20:19:50 2020 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Thu Aug 27 20:59:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032956f3
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 <AT> gentoo.org> app-misc/graphlcd-base/files/graphlcd-base-2.0.0-musl.patch | 11 +++++++++++ app-misc/graphlcd-base/graphlcd-base-1.0.2-r1.ebuild | 2 ++ app-misc/graphlcd-base/graphlcd-base-2.0.0.ebuild | 2 ++ 3 files changed, 15 insertions(+) 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 00000000000..388d2f93f8f --- /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 d865aa64e51..03b878878ba 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 ddb8aac8b96..97b2f327bd9 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
