Date: Tue, 6 Dec 2022 21:17:42 GMT From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: be4f1cc1fc8c - 2022Q4 - phics/gnash: fix build on armv7 Message-ID: <202212062117.2B6LHg5M090582@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2022Q4 has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=be4f1cc1fc8c2aa163fc0734f08db0243b32549f commit be4f1cc1fc8c2aa163fc0734f08db0243b32549f Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2022-12-06 21:12:16 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2022-12-06 21:17:34 +0000 phics/gnash: fix build on armv7 PR: 268187 (cherry picked from commit 5a5ef6cd101ecdcbf0865e6e479d8f7364d783d9) --- graphics/gnash/Makefile | 2 +- graphics/gnash/files/patch-libbase_GnashSleep.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile index 336aa08fcfb8..883959b4b37f 100644 --- a/graphics/gnash/Makefile +++ b/graphics/gnash/Makefile @@ -34,7 +34,7 @@ USES= cpe tar:bzip2 compiler:c++11-lang autoreconf gmake libtool \ pkgconfig jpeg gnome gl sdl desktop-file-utils xorg CPE_VENDOR= gnu GNU_CONFIGURE= yes -USE_GNOME= atk gtk20 libxml2 pango +USE_GNOME= atk gdkpixbuf2 gtk20 libxml2 pango USE_XORG= x11 xau xdmcp xext xi xinerama ice sm xv USE_GL= egl USE_SDL= sdl diff --git a/graphics/gnash/files/patch-libbase_GnashSleep.h b/graphics/gnash/files/patch-libbase_GnashSleep.h new file mode 100644 index 000000000000..c44b0e8a29c2 --- /dev/null +++ b/graphics/gnash/files/patch-libbase_GnashSleep.h @@ -0,0 +1,11 @@ +--- libbase/GnashSleep.h.orig 2022-12-05 11:34:39 UTC ++++ libbase/GnashSleep.h +@@ -38,7 +38,7 @@ inline void gnashSleep(time_t useconds) + Sleep(useconds / 1000); + #else + const time_t m = 1000000; +- const struct timespec t = { useconds / m, (useconds % m) * 1000 }; ++ const struct timespec t = { useconds / m, (long)((useconds % m) * 1000) }; + ::nanosleep(&t, nullptr); + #endif + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212062117.2B6LHg5M090582>