From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland/files/, media-libs/raspberrypi-userland/
Date: Wed, 11 May 2016 12:27:22 +0000 (UTC) [thread overview]
Message-ID: <1462969616.aa1bf72c3e52e5420c82fd1088032cf222447496.tupone@gentoo> (raw)
commit: aa1bf72c3e52e5420c82fd1088032cf222447496
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 12:25:26 2016 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May 11 12:26:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1bf72c
media-libs/raspberrypi-userland: patches accepted by upstream
Package-Manager: portage-2.2.26
.../files/raspberrypi-userland-9999-gentoo.patch | 60 ----------------------
.../raspberrypi-userland-9999.ebuild | 10 +++-
2 files changed, 9 insertions(+), 61 deletions(-)
diff --git a/media-libs/raspberrypi-userland/files/raspberrypi-userland-9999-gentoo.patch b/media-libs/raspberrypi-userland/files/raspberrypi-userland-9999-gentoo.patch
index 2c465c7..f58e288 100644
--- a/media-libs/raspberrypi-userland/files/raspberrypi-userland-9999-gentoo.patch
+++ b/media-libs/raspberrypi-userland/files/raspberrypi-userland-9999-gentoo.patch
@@ -8,63 +8,3 @@
# do we actually need this?
add_definitions(-D__VIDEOCORE4__)
---- interface/vchiq_arm/vchiq_test.c.old 2015-02-20 20:52:15.202983349 +0100
-+++ interface/vchiq_arm/vchiq_test.c 2015-02-20 20:53:34.401882346 +0100
-@@ -130,6 +130,7 @@
- #ifdef __linux__
-
- #include <fcntl.h>
-+#include <sys/ioctl.h>
- #include "interface/vmcs_host/vc_cma.h"
-
- static void reserve_test(int reserve, int delay)
-@@ -1311,6 +1312,7 @@
- clnt_callback(VCHIQ_REASON_T reason, VCHIQ_HEADER_T *header,
- VCHIQ_SERVICE_HANDLE_T service, void *bulk_userdata)
- {
-+ int data;
- vcos_mutex_lock(&g_mutex);
- if (reason == VCHIQ_MESSAGE_AVAILABLE)
- {
-@@ -1318,7 +1320,7 @@
- vchiq_release_message(service, header);
- else
- /* Responses of length 0 are not sync points */
-- if ((header->size >= 4) && (*(int *)header->data == MSG_ECHO))
-+ if ((header->size >= 4) && (memcpy(&data, header->data, sizeof(data)), data == MSG_ECHO))
- {
- /* This is a complete echoed packet */
- if (g_params.verify && (mem_check(header->data, bulk_tx_data[ctrl_received % NUM_BULK_BUFS], g_params.blocksize) != 0))
---- makefiles/cmake/vmcs.cmake.old 2015-02-21 14:31:57.608527445 +0100
-+++ makefiles/cmake/vmcs.cmake 2015-02-21 14:32:09.358363958 +0100
-@@ -10,7 +10,7 @@
- if (ANDROID)
- SET(VMCS_INSTALL_PREFIX "/vendor/brcm/islands" CACHE PATH "Prefix prepended to install directories" FORCE)
- else()
-- SET(VMCS_INSTALL_PREFIX "/opt/vc" CACHE PATH "Prefix prepended to install directories" FORCE)
-+ SET(VMCS_INSTALL_PREFIX "/usr" CACHE PATH "Prefix prepended to install directories" FORCE)
- endif()
-
- SET(CMAKE_INSTALL_PREFIX "${VMCS_INSTALL_PREFIX}" CACHE INTERNAL "Prefix
---- interface/vmcs_host/vcilcs_out.c.old 2015-02-24 06:57:20.977771332 +0100
-+++ interface/vmcs_host/vcilcs_out.c 2015-02-24 06:59:34.735428061 +0100
-@@ -37,6 +37,7 @@
- #include "interface/vmcs_host/vc_ilcs_defs.h"
- #include "interface/vmcs_host/vcilcs.h"
- #include "interface/vmcs_host/vcilcs_common.h"
-+#include "interface/vcos/vcos_dlfcn.h"
-
- static VC_PRIVATE_PORT_T *find_port(VC_PRIVATE_COMPONENT_T *comp, OMX_U32 nPortIndex)
- {
---- interface/khronos/common/linux/khrn_client_rpc_linux.c.old 2015-02-24 06:56:24.458761962 +0100
-+++ interface/khronos/common/linux/khrn_client_rpc_linux.c 2015-02-24 07:02:41.522158412 +0100
-@@ -503,7 +503,8 @@
- void rpc_call8_makecurrent(CLIENT_THREAD_STATE_T *thread, uint32_t id, uint32_t p0,
- uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4, uint32_t p5, uint32_t p6, uint32_t p7)
- {
-- if (thread->merge_pos == CLIENT_MAKE_CURRENT_SIZE && *((uint32_t *)thread->merge_buffer) == EGLINTMAKECURRENT_ID)
-+ uint32_t data;
-+ if (thread->merge_pos == CLIENT_MAKE_CURRENT_SIZE && (memcpy(&data,thread->merge_buffer,sizeof(data)), data == EGLINTMAKECURRENT_ID))
- {
- rpc_begin(thread);
- vcos_log_trace("rpc_call8_makecurrent collapse onto previous makecurrent");
diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
index fc4088c..9c5d675 100644
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -23,6 +23,14 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
}
+src_configure() {
+ local mycmakeargs=(
+ -DVMCS_INSTALL_PREFIX="/usr"
+ )
+
+ cmake-utils_src_configure
+}
+
src_install() {
cmake-utils_src_install
next reply other threads:[~2016-05-11 12:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 12:27 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-11-23 4:52 [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland/files/, media-libs/raspberrypi-userland/ Sam James
2017-07-19 8:56 Patrice Clement
2016-03-10 14:04 Miroslav Šulc
2016-03-08 23:20 Miroslav Šulc
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=1462969616.aa1bf72c3e52e5420c82fd1088032cf222447496.tupone@gentoo \
--to=tupone@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