mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/libowfat: drop 0.32-r1, 0.32-r5
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST libowfat-0.32.tar.xz 195820 BLAKE2B 6dc19b947867a9b08eece785378be2493fb7185d1cc334de080ab1c288884fe0b670ece6f3785f051c707cc98afc4d843a262b9761fc9cc68fdf1f1ac8df1eb8 SHA512 c762a1aa27dfb30e2f6da67d1ad16da03d301b2e3cce33c83b69103183a6689a494c8cf8d7d4e26ad5b22130e4e0560d5f3ef6f44b14d706f10e2300ce11ff3b
|
||||
DIST libowfat-0.33.tar.xz 213920 BLAKE2B f902279ae2be96a24ff8760e082a16058db06d20f8e9b55ee54731035f142eb1d9058633be31bc975a3916a44d8d1d4372c2b594e317f5957bff32150aa60785 SHA512 03a56bcbc1a58e340c473d260877218a35841a6915a8369381d74463244cd754fc736006344814855c4d33598ad811d51b7fff4ba41c5e6d38d56297903dcaf5
|
||||
DIST libowfat-0.34.tar.xz 223960 BLAKE2B c3a2db51b259906c711d9b71fddb22e748bf9331ae8e44c27aed1010fb2fad966b9ec4ff550726f68ec441ebe6db25b5729ae9a08987a64bb848becad99ab2ec SHA512 5be668f78d86c8591c8f2b8067f8ce41a38891b977ab239ee64602c37232aa85c396e07fedd378be12c6730080ca2ada08964cebd6e844191fce0c8cff57bb47
|
||||
DIST libowfat-0.34.tar.xz.sig 566 BLAKE2B 03c6656c776bbd1c83da8a82e2f16ebd1c2cbedcda6b11d7979c981327680dbd1774c8594deb439e122a48f9d22f61adc22401e428c2898430e7e32b6b829acf SHA512 36d721704b21c6071822199a8c24679a71cf281a74d66809172f30157c0b84bc9bfb1f0c9e36844d4f1d016920dab25a020ed12c5dd648056f25365e05fb0dcd
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
--- a/Makefile 2021-08-20 08:58:11.523401075 +0200
|
||||
+++ b/Makefile 2021-08-20 08:58:38.122920942 +0200
|
||||
@@ -241,6 +242,8 @@
|
||||
CROSS=
|
||||
#CROSS=i686-mingw-
|
||||
CC?=gcc
|
||||
+AR?=ar
|
||||
+RANLIB?=ranlib
|
||||
CCC=$(CROSS)$(CC)
|
||||
WERROR=
|
||||
WARN=-W -Wall -Wextra $(WERROR)
|
||||
@@ -1092,8 +1296,8 @@
|
||||
$(IO_OBJS) $(CDB_OBJS) $(CRITBIT_OBJS)
|
||||
|
||||
libowfat.a: $(ALL_OBJS)
|
||||
- $(CROSS)ar cru $@ $(ALL_OBJS)
|
||||
- -$(CROSS)ranlib $@
|
||||
+ $(CROSS)$(AR) cru $@ $(ALL_OBJS)
|
||||
+ -$(CROSS)$(RANLIB) $@
|
||||
|
||||
CFLAGS+=-I.
|
||||
CFLAGS_OPT+=-I.
|
||||
@@ -1105,8 +1309,8 @@
|
||||
$(DIET) $(CCC) -c $< $(CFLAGS)
|
||||
|
||||
%.a:
|
||||
- $(CROSS)ar cru $@ $^
|
||||
- -$(CROSS)ranlib $@
|
||||
+ $(CROSS)$(AR) cru $@ $^
|
||||
+ -$(CROSS)$(RANLIB) $@
|
||||
|
||||
t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
|
||||
buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \
|
||||
--- a/GNUmakefile 2021-08-20 08:58:11.523401075 +0200
|
||||
+++ b/GNUmakefile 2021-08-20 08:58:38.122920942 +0200
|
||||
@@ -241,6 +242,8 @@
|
||||
CROSS=
|
||||
#CROSS=i686-mingw-
|
||||
CC?=gcc
|
||||
+AR?=ar
|
||||
+RANLIB?=ranlib
|
||||
CCC=$(CROSS)$(CC)
|
||||
WERROR=
|
||||
WARN=-W -Wall -Wextra $(WERROR)
|
||||
@@ -1092,8 +1296,8 @@
|
||||
$(IO_OBJS) $(CDB_OBJS) $(CRITBIT_OBJS)
|
||||
|
||||
libowfat.a: $(ALL_OBJS)
|
||||
- $(CROSS)ar cru $@ $(ALL_OBJS)
|
||||
- -$(CROSS)ranlib $@
|
||||
+ $(CROSS)$(AR) cru $@ $(ALL_OBJS)
|
||||
+ -$(CROSS)$(RANLIB) $@
|
||||
|
||||
CFLAGS+=-I.
|
||||
CFLAGS_OPT+=-I.
|
||||
@@ -1105,8 +1309,8 @@
|
||||
$(DIET) $(CCC) -c $< $(CFLAGS)
|
||||
|
||||
%.a:
|
||||
- $(CROSS)ar cru $@ $^
|
||||
- -$(CROSS)ranlib $@
|
||||
+ $(CROSS)$(AR) cru $@ $^
|
||||
+ -$(CROSS)$(RANLIB) $@
|
||||
|
||||
t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
|
||||
buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \
|
||||
@@ -1,25 +0,0 @@
|
||||
From 67729f54c2e7a24b2bebfa23b75afe607c09a67a Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Pipping <sebastian@pipping.org>
|
||||
Date: Thu, 26 Nov 2020 19:28:03 +0100
|
||||
Subject: [PATCH] Fix build with -fno-common or GCC 10
|
||||
|
||||
---
|
||||
io_internal.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/io_internal.h b/io_internal.h
|
||||
index 6d37c11..3e378d9 100644
|
||||
--- a/io_internal.h
|
||||
+++ b/io_internal.h
|
||||
@@ -83,7 +83,7 @@ my_extern array io_pollfds;
|
||||
my_extern long first_readable;
|
||||
my_extern long first_writeable;
|
||||
|
||||
-my_extern long first_deferred;
|
||||
+extern long first_deferred;
|
||||
|
||||
my_extern enum __io_waitmode {
|
||||
UNDECIDED,
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein"
|
||||
SRC_URI="https://www.fefe.de/${PN}/${P}.tar.xz"
|
||||
HOMEPAGE="https://www.fefe.de/libowfat/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ~sparc x86"
|
||||
IUSE="diet"
|
||||
|
||||
RDEPEND="diet? ( >=dev-libs/dietlibc-0.33_pre20090721 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
# Required for mult/umult64.c to be usable
|
||||
append-flags -fomit-frame-pointer
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CFLAGS="-I. ${CFLAGS}" \
|
||||
DIET="${EPREFIX}/usr/bin/diet -Os" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
INCLUDEDIR="${EPREFIX}/usr/include" \
|
||||
$( use diet || echo 'DIET=' )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
MAN3DIR="${EPREFIX}/usr/share/man/man3" \
|
||||
INCLUDEDIR="${EPREFIX}/usr/include" \
|
||||
install
|
||||
|
||||
mv "${ED}"/usr/share/man/man3/{buffer.3,owfat-buffer.3} || die
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein"
|
||||
SRC_URI="https://www.fefe.de/${PN}/${P}.tar.xz"
|
||||
HOMEPAGE="https://www.fefe.de/libowfat/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ~sparc x86"
|
||||
IUSE="diet"
|
||||
|
||||
RDEPEND="diet? ( >=dev-libs/dietlibc-0.33_pre20090721 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gcc10.patch
|
||||
"${FILESDIR}"/${P}-ar.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Required for mult/umult64.c to be usable
|
||||
append-flags -fomit-frame-pointer
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# do not define "__pure__", this the gcc builtin (bug #806505)
|
||||
sed 's#__pure__;#__attribute__((__pure__));#' -i fmt.h scan.h byte.h stralloc.h str.h critbit.h || die
|
||||
sed 's#__pure__$#__attrib__pure__#' -i fmt.h scan.h byte.h stralloc.h str.h critbit.h || die
|
||||
# remove unneeded definition of __deprecated__
|
||||
sed '/^#define __deprecated__$/d' -i scan/scan_iso8601.c scan/scan_httpdate.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Primary use case is for code by the same author. Which then fails with
|
||||
# LTO errors. It builds a static library only, anyway. Result: LTO can be
|
||||
# used if you don't upgrade the compiler. If you do, the compiler errors,
|
||||
# or if you are unlucky, ICEs. Just don't use LTO, there is no point...
|
||||
filter-lto
|
||||
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
AR="$(tc-getAR)" \
|
||||
RANLIB="$(tc-getRANLIB)" \
|
||||
CFLAGS="-I. ${CFLAGS}" \
|
||||
DIET="${EPREFIX}/usr/bin/diet -Os" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
INCLUDEDIR="${EPREFIX}/usr/include" \
|
||||
$( use diet || echo 'DIET=' )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
MAN3DIR="${EPREFIX}/usr/share/man/man3" \
|
||||
INCLUDEDIR="${EPREFIX}/usr/include" \
|
||||
install
|
||||
|
||||
mv "${ED}"/usr/share/man/man3/{buffer.3,owfat-buffer.3} || die
|
||||
}
|
||||
Reference in New Issue
Block a user