commit: fe5154b8f43749c838469b1f8a3766ca19775a2e Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Wed Jul 15 07:02:20 2015 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Wed Jul 15 07:02:20 2015 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=fe5154b8
sys-libs/libraw1394: replace __uint32_t. Package-Manager: portage-2.2.18 RepoMan-Options: --force Manifest-Sign-Key: 0xF52D4BBA sys-libs/libraw1394/Manifest | 4 ++ .../files/libraw1394-2.1.1-replace__uint32.patch | 54 ++++++++++++++++++++++ sys-libs/libraw1394/libraw1394-2.1.1-r99.ebuild | 26 +++++++++++ sys-libs/libraw1394/metadata.xml | 5 ++ 4 files changed, 89 insertions(+) diff --git a/sys-libs/libraw1394/Manifest b/sys-libs/libraw1394/Manifest new file mode 100644 index 0000000..1422a5f --- /dev/null +++ b/sys-libs/libraw1394/Manifest @@ -0,0 +1,4 @@ +AUX libraw1394-2.1.1-replace__uint32.patch 1812 SHA256 2ce86a0ee775a0ac07f6ca06c25ad932bccaf529954414a80305bb08b31bd769 SHA512 fb2d5e27e8599c90449d7f29d5a5c18b90c0728ecb14e0bd23f7100af84dec46452ecaed12e62e714a24f98b3374005ceadee3005ff24dd70c9b6ee8bf7d423e WHIRLPOOL 325e4668adec6a50701f78be36c4e0bf4e689f35f7c393c64d2483207218313cb2e9313fab73c2174b97b664d92fa69f9d94c5d9d642d5ad2fc26a4a52684bb3 +DIST libraw1394-2.1.1.tar.xz 309396 SHA256 1bab9780189f9d1eb4e973df12679c04f979c21e024240fc98e536ff5b680ee9 SHA512 ed6acf10e50593e6070764e57cb6cc0eabb6f2bc4b4ed805a55cdfc37109c1975eb597dfbef9b6f8bc73a9e9270e7d643956489f54682f4c670fa510ef726fbe WHIRLPOOL 10e075374855c03395cefb7357f055fafd223b91b7e89ed22d96d691a398d3371db580e38fd53718305a5b1f2708bd52bc55cf1ccedfa5e508bd6e64bc04f6ad +EBUILD libraw1394-2.1.1-r99.ebuild 788 SHA256 9d8e1ebb7fc9c15c7335473ccc5a1c071c8b64202fc04161843e87a99c952bd3 SHA512 2872c08c69e41eeaef98532a1af9c46fd0f5b1eed216152109ea969aa96f5f40fe29831470e4e349323f56a72f3e4b6b4f027d3d0fdf814b6f801e6d4aa229aa WHIRLPOOL 625c5ce86e4af37ce3e9dd9662bc765460e5a073bcd2b626c05bfbb8bcbe579ce435f14b862e79e7eda576f8d5656ccd8e44dc1b9c2ef26b596911adf489460a +MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52 diff --git a/sys-libs/libraw1394/files/libraw1394-2.1.1-replace__uint32.patch b/sys-libs/libraw1394/files/libraw1394-2.1.1-replace__uint32.patch new file mode 100644 index 0000000..b5f3c23 --- /dev/null +++ b/sys-libs/libraw1394/files/libraw1394-2.1.1-replace__uint32.patch @@ -0,0 +1,54 @@ +diff -Naur libraw1394-2.1.1.orig/src/fw.c libraw1394-2.1.1/src/fw.c +--- libraw1394-2.1.1.orig/src/fw.c 2015-04-28 16:01:21.000000000 -0400 ++++ libraw1394-2.1.1/src/fw.c 2015-07-15 02:58:18.267818961 -0400 +@@ -187,7 +187,7 @@ + + static int + handle_echo_pipe(raw1394handle_t handle, +- struct epoll_closure *ec, __uint32_t events) ++ struct epoll_closure *ec, uint32_t events) + { + quadlet_t value; + +@@ -258,7 +258,7 @@ + + static int + handle_device_event(raw1394handle_t handle, +- struct epoll_closure *ec, __uint32_t events) ++ struct epoll_closure *ec, uint32_t events) + { + fw_handle_t fwhandle = handle->mode.fw; + union fw_cdev_event *u; +@@ -421,7 +421,7 @@ + + static int + handle_inotify(raw1394handle_t handle, struct epoll_closure *ec, +- __uint32_t events) ++ uint32_t events) + { + fw_handle_t fwhandle = handle->mode.fw; + struct inotify_event *event; +diff -Naur libraw1394-2.1.1.orig/src/fw.h libraw1394-2.1.1/src/fw.h +--- libraw1394-2.1.1.orig/src/fw.h 2015-04-28 16:39:11.000000000 -0400 ++++ libraw1394-2.1.1/src/fw.h 2015-07-15 02:58:37.132818057 -0400 +@@ -48,7 +48,7 @@ + + struct epoll_closure { + int (*func)(raw1394handle_t handle, +- struct epoll_closure *closure, __uint32_t events); ++ struct epoll_closure *closure, uint32_t events); + }; + + struct port { +diff -Naur libraw1394-2.1.1.orig/src/fw-iso.c libraw1394-2.1.1/src/fw-iso.c +--- libraw1394-2.1.1.orig/src/fw-iso.c 2015-04-28 16:16:16.000000000 -0400 ++++ libraw1394-2.1.1/src/fw-iso.c 2015-07-15 02:58:30.395818380 -0400 +@@ -303,7 +303,7 @@ + } + + static int handle_iso_event(raw1394handle_t handle, +- struct epoll_closure *closure, __uint32_t events) ++ struct epoll_closure *closure, uint32_t events) + { + fw_handle_t fwhandle = handle->mode.fw; + struct fw_cdev_event_iso_interrupt *interrupt; diff --git a/sys-libs/libraw1394/libraw1394-2.1.1-r99.ebuild b/sys-libs/libraw1394/libraw1394-2.1.1-r99.ebuild new file mode 100644 index 0000000..6468924 --- /dev/null +++ b/sys-libs/libraw1394/libraw1394-2.1.1-r99.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libraw1394/libraw1394-2.1.1.ebuild,v 1.1 2015/05/29 07:28:12 polynomial-c Exp $ + +EAPI=4 + +AUTOTOOLS_PRUNE_LIBTOOL_FILES=all + +inherit autotools-multilib + +DESCRIPTION="library that provides direct access to the IEEE 1394 bus" +HOMEPAGE="http://ieee1394.wiki.kernel.org/" +SRC_URI="mirror://kernel/linux/libs/ieee1394/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~x86" +IUSE="static-libs" + +DEPEND="app-arch/xz-utils" +RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r4 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-replace__uint32.patch +} diff --git a/sys-libs/libraw1394/metadata.xml b/sys-libs/libraw1394/metadata.xml new file mode 100644 index 0000000..96a2d58 --- /dev/null +++ b/sys-libs/libraw1394/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata>