summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libwapcaplet')
-rw-r--r--dev-libs/libwapcaplet/Manifest4
-rw-r--r--dev-libs/libwapcaplet/files/libwapcaplet-0.2.1-glibc20.patch14
-rw-r--r--dev-libs/libwapcaplet/files/libwapcaplet-0.2.2-glibc20.patch14
-rw-r--r--dev-libs/libwapcaplet/libwapcaplet-0.2.1-r1.ebuild20
-rw-r--r--dev-libs/libwapcaplet/libwapcaplet-0.2.2-r1.ebuild20
-rw-r--r--dev-libs/libwapcaplet/metadata.xml9
6 files changed, 81 insertions, 0 deletions
diff --git a/dev-libs/libwapcaplet/Manifest b/dev-libs/libwapcaplet/Manifest
new file mode 100644
index 00000000000..aedfd384ae1
--- /dev/null
+++ b/dev-libs/libwapcaplet/Manifest
@@ -0,0 +1,4 @@
+DIST libwapcaplet-0.2.1-src.tar.gz 8897 SHA256 9e4a8df3dfe6d7e1bcc4a3ccce18c3d02230545f4726b05b09b9e504946c8ec8 SHA512 793c1b89075e4ce5d6b042455d7bdd0082412788e3202fc16aa4256e35efc449af962b7df64971512cb5728a389785866e39cfa20addc4b496c28a00af630219 WHIRLPOOL 0b0e8c43befa2abc9259c8ecabe618f4bb0e1827e36a73003ed26a2c878ce1836ddd76a1305911fd528fb5bdc9f62568ee2b384eb6c655f58d6d6bf250bee957
+DIST libwapcaplet-0.2.2-src.tar.gz 8902 SHA256 38021992e1e6b3ec50d0d3bf7add069bee4c5b179691afa6a76dd58695201485 SHA512 a3026f6ca73c981ff2fa07b45fab3a75605eaab751570ab08aedb33f38d0e62cf6a8958b3df2b9efe25909706585a25383e428eb83201d903e2ec7b3f57d7c7c WHIRLPOOL f125012da633912e00879554dacf7482f30e4b80f99335c8af0fbc91106aad7ee62d51a787c6db5cc15a5bc16027c310ff9b5f3629ba62bda65352d68c900c4f
+DIST netsurf-buildsystem-1.2.tar.gz 38914 SHA256 3903a4a1551c9c202e1d2047344c4f3598c8d9d6c35ebf8cc2e18874bd0c9d61 SHA512 963e8a5033e8ef70595507f24fea3d9697eefb50ad7f92a6d3c913501c7026f12ec6d48f92b75e352b32f212f6216b8d8455aff25fa8d8d0fc12a3b19a875a1c WHIRLPOOL e56a520ae284089d0f36f06a6891ebb5b208ca847c74340c18581340e457c20ae9365999dc13284f438b965dcd7e85f04b93d1c1f22cadf6f7c1e2cef81d528c
+DIST netsurf-buildsystem-1.3.tar.gz 37906 SHA256 10bbe95ba07476208da6047bd3c74685b6e61ba9904975b5d5c9a2c79a84ac79 SHA512 79ef3e366c4798dbb88021fd05019ba9fe50539b7482bd3d07422f4c0dbf2047b906f39a0b48deebbdf111d84d93a9364d08e5c97f91609363c27641db15e6b5 WHIRLPOOL c8131d0ffb79b208b63bef94606735968584edfff8cb24b4c83cd747c5d65c2811004626840798047ffddf84556ef7d8e23242f60d01a4a046323df3c78b0980
diff --git a/dev-libs/libwapcaplet/files/libwapcaplet-0.2.1-glibc20.patch b/dev-libs/libwapcaplet/files/libwapcaplet-0.2.1-glibc20.patch
new file mode 100644
index 00000000000..0c30a3b33aa
--- /dev/null
+++ b/dev-libs/libwapcaplet/files/libwapcaplet-0.2.1-glibc20.patch
@@ -0,0 +1,14 @@
+--- libwapcaplet-0.2.1/Makefile
++++ libwapcaplet-0.2.1/Makefile
+@@ -17,10 +17,7 @@
+ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs
+ # BeOS/Haiku standard library headers issue warnings
+-ifneq ($(TARGET),beos)
+- WARNFLAGS := $(WARNFLAGS) -Werror
+-endif
+-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
++CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
+ ifneq ($(GCCVER),2)
+ CFLAGS := $(CFLAGS) -std=c99
diff --git a/dev-libs/libwapcaplet/files/libwapcaplet-0.2.2-glibc20.patch b/dev-libs/libwapcaplet/files/libwapcaplet-0.2.2-glibc20.patch
new file mode 100644
index 00000000000..546a5bfeaff
--- /dev/null
+++ b/dev-libs/libwapcaplet/files/libwapcaplet-0.2.2-glibc20.patch
@@ -0,0 +1,14 @@
+--- libwapcaplet-0.2.2/Makefile
++++ libwapcaplet-0.2.2/Makefile
+@@ -17,10 +17,7 @@
+ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs
+ # BeOS/Haiku standard library headers issue warnings
+-ifneq ($(BUILD),i586-pc-haiku)
+- WARNFLAGS := $(WARNFLAGS) -Werror
+-endif
+-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
++CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
+ ifneq ($(GCCVER),2)
+ CFLAGS := $(CFLAGS) -std=c99
diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.2.1-r1.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.2.1-r1.ebuild
new file mode 100644
index 00000000000..79548b65028
--- /dev/null
+++ b/dev-libs/libwapcaplet/libwapcaplet-0.2.1-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+NETSURF_BUILDSYSTEM=buildsystem-1.2
+inherit netsurf
+
+DESCRIPTION="string internment library, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~m68k-mint"
+IUSE="test"
+
+DEPEND="test? ( >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}"/${P}-glibc20.patch )
diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.2.2-r1.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.2.2-r1.ebuild
new file mode 100644
index 00000000000..6d1b7809273
--- /dev/null
+++ b/dev-libs/libwapcaplet/libwapcaplet-0.2.2-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+NETSURF_BUILDSYSTEM=buildsystem-1.3
+inherit netsurf
+
+DESCRIPTION="string internment library, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~m68k-mint"
+IUSE="test"
+
+DEPEND="test? ( >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}"/${P}-glibc20.patch )
diff --git a/dev-libs/libwapcaplet/metadata.xml b/dev-libs/libwapcaplet/metadata.xml
new file mode 100644
index 00000000000..59acc2cc580
--- /dev/null
+++ b/dev-libs/libwapcaplet/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+