summaryrefslogtreecommitdiff
path: root/dev-libs/uthash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /dev-libs/uthash
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-libs/uthash')
-rw-r--r--dev-libs/uthash/Manifest3
-rw-r--r--dev-libs/uthash/files/uthash-2.1.0-cflags.patch11
-rw-r--r--dev-libs/uthash/uthash-2.1.0.ebuild30
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/uthash/Manifest b/dev-libs/uthash/Manifest
index c2d4f95121c4..570bbc0eaa90 100644
--- a/dev-libs/uthash/Manifest
+++ b/dev-libs/uthash/Manifest
@@ -1,4 +1,7 @@
AUX uthash-2.0.2-cflags.patch 250 BLAKE2B fc632cc23ffb5ddc89e3d91ea753f0a8f2803890203c7227a01b694603842490027e411e304e3db3960b0920f53f1390010f570bffa38d94a449864cbec938eb SHA512 d87dfbc7be1df49d5c6f06c413800693491f2bc4d0b4b0bddff5f1519a7de4d4ab95d3642e15273d6ddca6a19a9d511859ec999aebf81c8739bab4a7caaebfc3
+AUX uthash-2.1.0-cflags.patch 250 BLAKE2B a42296b08231b3eb31ce0830cc07e0287ad2439c9fa239ffea3a3594f3265e3299a8800c2d44387d05666685e4b5b980306e1ebac23c2b663620d8f19f348f8f SHA512 79ad3d9d4efddc51307b6e9ec37925c46c01fb0bacdfe7343fc08a4a99278de09bdc486b59c2348116ee7b5eb5cce47935953a182f5f520f713b6ef43c9f84d4
DIST uthash-2.0.2.tar.gz 191173 BLAKE2B a4a2ddb19fcc9af1105bc07deb8ccbe9c3f04518b609f7cfd16f0a05ec3e16ffb25fb5f0a5f258413f9f52facaa26adf4ea0683415416c12ab36bf11883976ae SHA512 0c2e686eb5a1d6a03a6fa1d42e803fca4e9b60b2d965c635a5a33d487c8d115f1f8155ff99a0e1874b69f6b66c04ea7d8866472a39abe5d1a23ae73f6fa956d7
+DIST uthash-2.1.0.tar.gz 191782 BLAKE2B 322661aca33e8df27ec3166cd16549b11f49a6f9eb12f11c78f44b75baf5d9f208825028fb3b89a380277de5784bf2d4c41a6cd2ff070b1d3cd667ec074a85d2 SHA512 c8005113a48ec7636715ecec0286a5d9086971a7267947aba9e0ad031b6113a4f38a1fb512d33d6fefb5891635fdd31169ce4d6ab04b938bda612ebbccb3eda0
EBUILD uthash-2.0.2.ebuild 657 BLAKE2B f46b84a586d1ed7508316e8d9a196762eefe6e59fdc783d6404fad760b820e8f3c3d1ffe69b3a9354278223704c02c27438880a03da35fce21f4856879fd0c7c SHA512 c78a76a782147701bd6506967070150fbcf6c1f2ed9756572ab981826d6120888cef341c6f9adf4e0eb80d82474687a414ddcdf115fcfac02af9c4e8434adceb
+EBUILD uthash-2.1.0.ebuild 651 BLAKE2B d7a3c68953aae92fe62725c0ef767f6aa7134f153aad33b7fa542fe697f6359a7b0ee3a47e8d730bc999d20fa74c24cc5aec1f9ef34bd5913f477edc9d82464b SHA512 5a32950efb0bfeceb88c83d7e7d35fe5a16beb20235cbbc57e39f41b112134708f0788f62b26104c23242f728ad11efe7a60b8b1ca8691c0cf05f02bb418f582
MISC metadata.xml 255 BLAKE2B ab14729a41f74f763ae36bef2284978ccc3d74ac40ed604ff797c16ea13029db8add12376bdc72c944356971a31e17a0f8fba2f08a822cf2f69de7792ace0423 SHA512 e251c1de46006091df4d8a908a540cf1251d4e3b0f4f8c3710221e25d9d822a66d9486b3972fb06cfcfeb1f488c351b38b0aa7fab54433f70d63de7ca9dcf479
diff --git a/dev-libs/uthash/files/uthash-2.1.0-cflags.patch b/dev-libs/uthash/files/uthash-2.1.0-cflags.patch
new file mode 100644
index 000000000000..588ec26078c0
--- /dev/null
+++ b/dev-libs/uthash/files/uthash-2.1.0-cflags.patch
@@ -0,0 +1,11 @@
+--- uthash-2.1.0/tests/Makefile
++++ uthash-2.1.0/tests/Makefile
+@@ -18,7 +18,7 @@
+ CFLAGS += -I$(HASHDIR)
+ #CFLAGS += -DHASH_BLOOM=16
+ #CFLAGS += -O2
+-CFLAGS += -g
++#CFLAGS += -g
+ #CFLAGS += -Wstrict-aliasing=2
+ CFLAGS += -Wall
+ #CFLAGS += -Wextra
diff --git a/dev-libs/uthash/uthash-2.1.0.ebuild b/dev-libs/uthash/uthash-2.1.0.ebuild
new file mode 100644
index 000000000000..49f42356561e
--- /dev/null
+++ b/dev-libs/uthash/uthash-2.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="An easy-to-use hash implementation for C programmers"
+HOMEPAGE="https://troydhanson.github.io/uthash/index.html"
+SRC_URI="https://github.com/troydhanson/uthash/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-lang/perl )"
+
+PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
+
+src_test() {
+ cd tests || die
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ doheader src/*.h
+ dodoc doc/*.txt
+}