summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-08-23 10:33:47 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-08-23 10:33:47 +0000
commit8e02b1de2a476eef24a85c50865d5913f18294dd (patch)
tree83eaf34916b2720460429f46fcbcedf35893b2ec /dev-libs/libuv
parentRevision bump: EAPI 5, epatch_user, fix typo in help message, wrt bug #482078... (diff)
downloadgentoo-2-8e02b1de2a476eef24a85c50865d5913f18294dd.tar.gz
gentoo-2-8e02b1de2a476eef24a85c50865d5913f18294dd.tar.bz2
gentoo-2-8e02b1de2a476eef24a85c50865d5913f18294dd.zip
remove obsolete patch
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-libs/libuv')
-rw-r--r--dev-libs/libuv/ChangeLog6
-rw-r--r--dev-libs/libuv/files/libuv-0.11.8-Werror.patch63
-rw-r--r--dev-libs/libuv/libuv-0.11.8.ebuild8
3 files changed, 7 insertions, 70 deletions
diff --git a/dev-libs/libuv/ChangeLog b/dev-libs/libuv/ChangeLog
index 397576ab9ede..0f027bbd7d61 100644
--- a/dev-libs/libuv/ChangeLog
+++ b/dev-libs/libuv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libuv
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libuv/ChangeLog,v 1.4 2013/08/23 06:47:45 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libuv/ChangeLog,v 1.5 2013/08/23 10:33:47 hasufell Exp $
+
+ 23 Aug 2013; Julian Ospald <hasufell@gentoo.org> libuv-0.11.8.ebuild,
+ -files/libuv-0.11.8-Werror.patch:
+ remove obsolete patch
23 Aug 2013; Julian Ospald <hasufell@gentoo.org> libuv-0.11.8.ebuild:
add upstream bug reference
diff --git a/dev-libs/libuv/files/libuv-0.11.8-Werror.patch b/dev-libs/libuv/files/libuv-0.11.8-Werror.patch
deleted file mode 100644
index 291a836cfe9a..000000000000
--- a/dev-libs/libuv/files/libuv-0.11.8-Werror.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-https://github.com/joyent/libuv/pull/900
-
-From bf325c01d737fd7ef9d32e75531dd0649809af0c Mon Sep 17 00:00:00 2001
-From: hasufell <hasufell@posteo.de>
-Date: Fri, 23 Aug 2013 08:32:59 +0200
-Subject: [PATCH] build: add --enable-Werror switch
-
-There are too many cases where general -Werror causes compile
-failures without good reason including:
-* new warnings on version bumps of GCC/GLIBC the developer was
- not aware of at the point of coding
-* some autoconf checks will fail badly
-* libraries adding deprecated API warnings although that API
- is still working/supported
-* on less known architectures we may get different/more
- warnings than on common ones
-* random breakage depending on what distro/architecture/library
- version/kernel/userland the developer was testing "-Werror" on
-
-So we add a switch and have it default to off, since it
-is only interesting for development.
-
-Specific flags such as -Werror=implicit-function-declaration
-might be ok to force unconditionally for everyone depending
-on what we expect from the code.
----
- configure.ac | 13 ++++++++++++-
- 1 file changed, 12 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index d9760a3..bcd9303 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -16,7 +16,7 @@ AC_PREREQ(2.57)
- AC_INIT([libuv], [0.11.5], [https://github.com/joyent/libuv/issues])
- AC_CONFIG_MACRO_DIR([m4])
- m4_include([m4/libuv-extra-automake-flags.m4])
--AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects] UV_EXTRA_AUTOMAKE_FLAGS)
-+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects] UV_EXTRA_AUTOMAKE_FLAGS)
- AC_CANONICAL_HOST
- AC_ENABLE_SHARED
- AC_ENABLE_STATIC
-@@ -37,6 +37,17 @@ AC_CHECK_LIB([rt], [clock_gettime])
- AC_CHECK_LIB([sendfile], [sendfile])
- AC_CHECK_LIB([socket], [socket])
- AC_SYS_LARGEFILE
-+
-+# only use this for development
-+AC_ARG_ENABLE([Werror],
-+ [AS_HELP_STRING([--enable-Werror],
-+ [turn all warnings into errors [default=no]])],
-+ [enable_werror=$enableval],
-+ [enable_werror="no"])
-+
-+AS_IF([test "x$enable_werror" != "xno"],
-+ [CFLAGS="$CFLAGS -Werror"])
-+
- AM_CONDITIONAL([AIX], [AS_CASE([$host_os], [aix*], [true], [false])])
- AM_CONDITIONAL([DARWIN], [AS_CASE([$host_os], [darwin*], [true], [false])])
- AM_CONDITIONAL([FREEBSD], [AS_CASE([$host_os], [freebsd*], [true], [false])])
---
-1.8.1.6
-
diff --git a/dev-libs/libuv/libuv-0.11.8.ebuild b/dev-libs/libuv/libuv-0.11.8.ebuild
index 3b1761e6f7d4..52c55ac51b80 100644
--- a/dev-libs/libuv/libuv-0.11.8.ebuild
+++ b/dev-libs/libuv/libuv-0.11.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libuv/libuv-0.11.8.ebuild,v 1.3 2013/08/23 06:47:45 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libuv/libuv-0.11.8.ebuild,v 1.4 2013/08/23 10:33:47 hasufell Exp $
EAPI=5
@@ -16,9 +16,6 @@ KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
src_prepare() {
- # https://github.com/joyent/libuv/pull/900
- epatch "${FILESDIR}"/${P}-Werror.patch
-
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
> m4/libuv-extra-automake-flags.m4 || die
@@ -27,8 +24,7 @@ src_prepare() {
src_configure() {
econf \
- $(use_enable static-libs static) \
- --disable-Werror
+ $(use_enable static-libs static)
}
src_install() {