From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/libbulletml/Manifest | 5 +++ .../files/libbulletml-0.0.6-gcc43.patch | 31 +++++++++++++++ .../files/libbulletml-0.0.6-gcc46.patch | 20 ++++++++++ dev-libs/libbulletml/libbulletml-0.0.6.ebuild | 44 ++++++++++++++++++++++ dev-libs/libbulletml/metadata.xml | 8 ++++ 5 files changed, 108 insertions(+) create mode 100644 dev-libs/libbulletml/Manifest create mode 100644 dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch create mode 100644 dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch create mode 100644 dev-libs/libbulletml/libbulletml-0.0.6.ebuild create mode 100644 dev-libs/libbulletml/metadata.xml (limited to 'dev-libs/libbulletml') diff --git a/dev-libs/libbulletml/Manifest b/dev-libs/libbulletml/Manifest new file mode 100644 index 000000000000..ea2f1e2826ec --- /dev/null +++ b/dev-libs/libbulletml/Manifest @@ -0,0 +1,5 @@ +AUX libbulletml-0.0.6-gcc43.patch 589 BLAKE2B be9c071b8dfcfaac9ec1d0d55e47e5c83512607468c7c53d8adf03115fccd397c8273978cbcd1871d0b29a6b0c5a411b7ce2769e14db6131f6c9d20fe36ee2ab SHA512 63cf59a3d7edf660cefe103790d56e8f7c630a4247b0a704b538f3006b1159d4b9942bd1576993f7addb888029dfbf1668e802e809972c8273f58a21f1d339a0 +AUX libbulletml-0.0.6-gcc46.patch 400 BLAKE2B 6bd9f06ff92fc394c2a4ff40de819588ee2a71e56e6b5318864fa62bcfe55dac4ee8b6dc48d8348dd25e472eca37b178721c6d8c990e7df3c79402f42911f210 SHA512 5ad1ff38abaf23b8ff191cf2c5897029d8808303453a58e2749b6756f1e0829511c4376deda4d02047afe6e664245875176fe7d9ca505cdc31c7f9ac8f230e5a +DIST libbulletml-0.0.6.tar.bz2 94529 BLAKE2B 7ec9a69c4385adacc476cacb3f88219a5a7b506a36ece6d430a1a5c470ffddfd20f8f355ac5391c542850b98edf0d40e9dea6061b6ad5da7afcc66b14656311b SHA512 4428d8088eefd2a1336eb963e8c65188b67a82d875cdcb51bad9ca7aa3c864b3453464daf1e6691d52120332fe3a078b9827136d214d9ca87fdd0cb81bb60150 +EBUILD libbulletml-0.0.6.ebuild 824 BLAKE2B 14fba0b16a486cf2cac54d7207378de8f57eaec86b553c33bb2dc28b1dfb96d0b48a9f0dbaac578b84528599e22a07505faeacc395c4a5199473035650706d90 SHA512 9b10204e9dab81bca483934fe09a84ecd94ea72e2901b74f02a255a016a2180022df9003986b7cf36d4577bda6163fe2081141e0e31247baeb6be79c73849fca +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch new file mode 100644 index 000000000000..f7e9bfbab9b1 --- /dev/null +++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch @@ -0,0 +1,31 @@ +--- src/calc.yy ++++ src/calc.yy +@@ -8,6 +8,7 @@ + + #include + #include ++#include + + #include + #include +--- src/tinyxml/tinyxml.h ++++ src/tinyxml/tinyxml.h +@@ -28,6 +28,8 @@ + #include + #include + #include ++#include ++#include + + class TiXmlDocument; + class TiXmlElement; +--- src/tinyxml/tinyxmlparser.cpp ++++ src/tinyxml/tinyxmlparser.cpp +@@ -24,6 +24,7 @@ + + #include "tinyxml.h" + #include ++#include + + const char* TiXmlBase::SkipWhiteSpace( const char* p ) + { diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch new file mode 100644 index 000000000000..47e0dc411ac9 --- /dev/null +++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch @@ -0,0 +1,20 @@ +--- calc.yy.old 2011-05-18 12:26:38.701666366 +0200 ++++ calc.yy 2011-05-18 12:27:43.020672135 +0200 +@@ -17,7 +17,7 @@ + #include "formula.h" + #include "formula-variables.h" + +-int yyerror(char* s); ++int yyerror(const char* s); + int yylex(); + + const char* yyinStr; +@@ -149,7 +149,7 @@ + return c; + } + +-int yyerror(char* s) { ++int yyerror(const char* s) { + printf("yyerror: %s\n", s); + return 0; + } diff --git a/dev-libs/libbulletml/libbulletml-0.0.6.ebuild b/dev-libs/libbulletml/libbulletml-0.0.6.ebuild new file mode 100644 index 000000000000..8a90adf32396 --- /dev/null +++ b/dev-libs/libbulletml/libbulletml-0.0.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="A Library of Bullet Markup Language" +HOMEPAGE="http://shinh.skr.jp/libbulletml/index_en.html" +SRC_URI="http://shinh.skr.jp/libbulletml/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="dev-libs/boost" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${PN#lib}/src + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc46.patch + rm -r boost || die +} + +src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + dolib.a libbulletml.a + + insinto /usr/include/bulletml + doins *.h + + insinto /usr/include/bulletml/tinyxml + doins tinyxml/tinyxml.h + + insinto /usr/include/bulletml/ygg + doins ygg/ygg.h + + dodoc ../README* +} diff --git a/dev-libs/libbulletml/metadata.xml b/dev-libs/libbulletml/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/dev-libs/libbulletml/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + -- cgit v1.2.3