FreeBSD Bugzilla – Attachment 238560 Details for
Bug 268187
graphics/gnash: fix build on armv7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
graphics/gnash: fix build on armv7
0001-graphics-gnash-fix-build-on-armv7.patch (text/plain), 1.63 KB, created by
Robert Clausecker
on 2022-12-05 23:27:27 UTC
(
hide
)
Description:
graphics/gnash: fix build on armv7
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2022-12-05 23:27:27 UTC
Size:
1.63 KB
patch
obsolete
>From 574a13bf9f9a782663f07e79dbe1fbdf817f3f12 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Mon, 5 Dec 2022 22:01:13 +0100 >Subject: [PATCH] graphics/gnash: fix build on armv7 > >Add missing cast. Add missing USE_GNOME=gdkpixbuf2. >--- > graphics/gnash/Makefile | 2 +- > graphics/gnash/files/patch-libbase_GnashSleep.h | 11 +++++++++++ > 2 files changed, 12 insertions(+), 1 deletion(-) > create mode 100644 graphics/gnash/files/patch-libbase_GnashSleep.h > >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 >+ } >-- >2.38.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fuz
:
maintainer-approval?
(
dinoex
)
Actions:
View
|
Diff
Attachments on
bug 268187
: 238560