summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libfaketime')
-rw-r--r--sys-libs/libfaketime/ChangeLog7
-rw-r--r--sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch11
-rw-r--r--sys-libs/libfaketime/files/libfaketime-0.9.1-makefile.patch42
-rw-r--r--sys-libs/libfaketime/libfaketime-0.9.1.ebuild32
4 files changed, 6 insertions, 86 deletions
diff --git a/sys-libs/libfaketime/ChangeLog b/sys-libs/libfaketime/ChangeLog
index 3cf0db0ea01a..0350e86fb44f 100644
--- a/sys-libs/libfaketime/ChangeLog
+++ b/sys-libs/libfaketime/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libfaketime
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfaketime/ChangeLog,v 1.11 2015/01/13 00:42:16 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfaketime/ChangeLog,v 1.12 2015/01/13 00:42:50 radhermit Exp $
+
+ 13 Jan 2015; Tim Harder <radhermit@gentoo.org> -libfaketime-0.9.1.ebuild,
+ -files/libfaketime-0.9.1-makefile.patch,
+ -files/libfaketime-0.9-as-needed.patch:
+ Remove old.
13 Jan 2015; Tim Harder <radhermit@gentoo.org> libfaketime-0.9.6-r1.ebuild:
Stabilize for amd64/x86 (bug #535680).
diff --git a/sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch b/sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch
deleted file mode 100644
index f90242c7e444..000000000000
--- a/sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libfaketime-0.9/src/Makefile.orig
-+++ libfaketime-0.9/src/Makefile
-@@ -69,7 +69,7 @@
- ${CC} -o $@ -c ${CFLAGS} ${EXTRA_FLAGS} $<
-
- lib%.so.${SONAME}: %.o
-- ${CC} -o $@ -Wl,-soname,$@ ${LDFLAGS} $<
-+ ${CC} -o $@ -Wl,-soname,$@ $< ${LDFLAGS}
-
- clean:
- @rm -f ${OBJ} ${LIBS}
diff --git a/sys-libs/libfaketime/files/libfaketime-0.9.1-makefile.patch b/sys-libs/libfaketime/files/libfaketime-0.9.1-makefile.patch
deleted file mode 100644
index d26682286617..000000000000
--- a/sys-libs/libfaketime/files/libfaketime-0.9.1-makefile.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- libfaketime-0.9.1/Makefile
-+++ libfaketime-0.9.1/Makefile
-@@ -1,6 +1,5 @@
- all:
- $(MAKE) -C src all
-- $(MAKE) -C test all
-
- test:
- $(MAKE) -C test all
---- libfaketime-0.9.1/src/Makefile
-+++ libfaketime-0.9.1/src/Makefile
-@@ -47,7 +47,7 @@
- # the dynamic disabling of the FAKE_STAT calls.
- #
-
--CC = gcc
-+CC ?= gcc
- INSTALL = install
-
- PREFIX = /usr/local
---- libfaketime-0.9.1/test/Makefile
-+++ libfaketime-0.9.1/test/Makefile
-@@ -1,7 +1,7 @@
--CC = gcc
-+CC ?= gcc
-
--CFLAGS = -std=gnu99 -Wall -DFAKE_STAT
--LDFLAGS = -lrt
-+CFLAGS += -std=gnu99 -Wall -DFAKE_STAT
-+LIBS = -lrt
-
- SRC = timetest.c
- OBJ = ${SRC:.c=.o}
-@@ -12,7 +12,7 @@
- ${CC} -c ${CFLAGS} $<
-
- timetest: ${OBJ}
-- ${CC} -o $@ ${OBJ} ${LDFLAGS}
-+ ${CC} -o $@ ${OBJ} ${LDFLAGS} ${LIBS}
-
- test: timetest functest
- @echo
diff --git a/sys-libs/libfaketime/libfaketime-0.9.1.ebuild b/sys-libs/libfaketime/libfaketime-0.9.1.ebuild
deleted file mode 100644
index 54b8f9eaef3e..000000000000
--- a/sys-libs/libfaketime/libfaketime-0.9.1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfaketime/libfaketime-0.9.1.ebuild,v 1.3 2013/01/22 17:32:41 ago Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs multilib
-
-DESCRIPTION="Report faked system time to programs"
-HOMEPAGE="http://www.code-wizards.com/projects/libfaketime/"
-SRC_URI="http://www.code-wizards.com/projects/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch
- epatch "${FILESDIR}"/${PN}-0.9-as-needed.patch
- tc-export CC
-}
-
-src_install() {
- dobin src/faketime
- doman man/faketime.1
- exeinto /usr/$(get_libdir)/faketime
- doexe src/${PN}*.so.*
- dosym ${PN}.so.1 /usr/$(get_libdir)/faketime/${PN}.so
- dosym ${PN}MT.so.1 /usr/$(get_libdir)/faketime/${PN}MT.so
- dodoc NEWS README TODO
-}