summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-08 19:43:02 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-08 19:43:02 +0000
commit8b4bbca9ebdb31f1b57eadd96be833547f9dfbac (patch)
treeb045df1421e41c38590258ae4d05dc2f6996bfdf /games-misc
parentFix keepdir of /var/run wrt bug #450838. (diff)
downloadhistorical-8b4bbca9ebdb31f1b57eadd96be833547f9dfbac.tar.gz
historical-8b4bbca9ebdb31f1b57eadd96be833547f9dfbac.tar.bz2
historical-8b4bbca9ebdb31f1b57eadd96be833547f9dfbac.zip
respect CFLAGS wrt #450828
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/gnurobots/ChangeLog8
-rw-r--r--games-misc/gnurobots/Manifest7
-rw-r--r--games-misc/gnurobots/files/gnurobots-1.2.0-cflags.patch34
-rw-r--r--games-misc/gnurobots/gnurobots-1.2.0.ebuild10
4 files changed, 47 insertions, 12 deletions
diff --git a/games-misc/gnurobots/ChangeLog b/games-misc/gnurobots/ChangeLog
index 89fd289c9b10..935b0ae83846 100644
--- a/games-misc/gnurobots/ChangeLog
+++ b/games-misc/gnurobots/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/gnurobots
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/ChangeLog,v 1.24 2012/12/15 18:47:21 dolsen Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/ChangeLog,v 1.25 2013/01/08 19:43:00 hasufell Exp $
+
+ 08 Jan 2013; Julian Ospald <hasufell@gentoo.org> gnurobots-1.2.0.ebuild,
+ +files/gnurobots-1.2.0-cflags.patch:
+ respect CFLAGS wrt #450828
15 Dec 2012; Brian Dolbec <dolsen@gentoo.org> gnurobots-1.2.0.ebuild:
Update HOMEPAGE link, as reported by sobhan
diff --git a/games-misc/gnurobots/Manifest b/games-misc/gnurobots/Manifest
index b7992f5e5911..60d6875de4f8 100644
--- a/games-misc/gnurobots/Manifest
+++ b/games-misc/gnurobots/Manifest
@@ -1,5 +1,6 @@
+AUX gnurobots-1.2.0-cflags.patch 852 SHA256 614c4c8ea8eddb6e569ff7604cdfdec93cab9d6b40a649ddc7c38485e213d6af SHA512 72c5e5a7d858c2316716eb76aa09aacd8d2b7b09479fc76b02b02a25c91a0c5377ef01ccfcd6c493afd50b411de56e22ef76a876426a8d03f1dba5ca802f7157 WHIRLPOOL 12ce9840774aaef932a58485c8dc7f6894ff459877ef2baeac1e3a9fe15e287e5faf336525a139baf126e661c2c2aac8920defced9e9d080f73f97de3c2a282e
AUX gnurobots-1.2.0-ldflags.patch 406 SHA256 7bae625ff4f574e8469bd2b1cccd716c226339f390ef1cad2f5738b446947cfb SHA512 00960f9572fc7ddb33f11c23fec2bea233c67b27f87ffc1cee0d1e4e20207c212851dd075b3c73202016663547a489924cacebc2894471dd52407d3206a59489 WHIRLPOOL 7f552fc83b5bfdfa9cc85989203654ba468c209f6d9fa89e21a0af80c596dba4260c8c01264b6d2d709d56c9e0c6140713766764d3a794ef0c107e91182a616e
-DIST gnurobots-1.2.0.tar.gz 176642 SHA256 8b6f4f0d40bef5cfdfb7eb7c82ea1402d2747c37b2c7b7aa92faff55351df11d
-EBUILD gnurobots-1.2.0.ebuild 961 SHA256 fea1c18fcb375646f3905ef8799da7132c09c78c0f324a15869ef7e35459000c SHA512 70718a10a559e5daea7b2f95c8b78e200e4963dd705d884b23b521c8768c2c1a8ed01217054132cf8cc4701a2b02d93df7798fa6188758835bed19d6f9b24ec9 WHIRLPOOL 2305e3520adb2ab4e03845450fed5215bf91cab529e679a9c6e5e3fa038bc4b5cdf3f55cd49705e9f201027d8fdfcee8051e23f790953ce4967f1689a0626aa2
-MISC ChangeLog 2602 SHA256 2fd87262854d11ec6f686612946c46cca18c06822e52b8636664aaa129713d3d SHA512 a7124acd9d6c96d6474a57a86912b705232b36d876c9590323b29379002cbbac0b5e1feae489e87bcd0f161c1f4914d028bafa392ba5fb28c411913f301f5c02 WHIRLPOOL 64c17fa33f0b3bfe1fff73db123948b73059e582291640d7f830d83c4fd4fce79778e52b523b86c6a5f782ec71c7472fc75fed63aae865a23a57dcb2fcaacf44
+DIST gnurobots-1.2.0.tar.gz 176642 SHA256 8b6f4f0d40bef5cfdfb7eb7c82ea1402d2747c37b2c7b7aa92faff55351df11d SHA512 569e15c8da6ec2ea83aecf3babe7540cf2f8d36b293b2400e487055ba24e674a3d21df0869aa78dcc02aa5fc58b000ac4f6c15ce95666a2adc4aa7b3db894fba WHIRLPOOL a3f6a2d82be42ef8f63e4e3ce610d484e6a917c809a7f5ba4a1d96a9134380330ea7936593ab152710566abd62d55a6cc2bc50ad8fdc43876c4ca2554856da50
+EBUILD gnurobots-1.2.0.ebuild 885 SHA256 001a67f6d7dcef3ae49a581c4d9ab3683fa6d0ebae3665d7d348da8fe0b5c82c SHA512 5d0ef528c034369819abc000ae061739e1216cf6e8e3be680ad28d15d54a37bc5447800630eaddcdce962acb7ec029627d7204a346eff288018afc24783cdf4c WHIRLPOOL cedce1d97c7e72e50538e2f294fa8017d4aa2e474e693d55a19060706e11bea3c0d66ea7823f6a7e7d53f2dea6e209fcf3c5eabfb8987db6bf9c00a6d1e6551c
+MISC ChangeLog 2748 SHA256 9b4efd7eec9f96f45e20e1c015d1fa910a4a40089f85bb16841f9a64093d1f52 SHA512 ac2bc0f56b310327eaa1e9d3a86b902cce3382f741342962eeb3ca5a02632eac597954b638041d0087da5049b108d2b68695ed92b928d54139fc71ec15a9fb95 WHIRLPOOL 05c16c5a6fc6dc9803a2873b02f667884af5bca1d54ae1a20224c3c58564ca4bd7d06c08ef2db1a251d669bfe936265306827d02774c232b4d7d108dc49b4b61
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
diff --git a/games-misc/gnurobots/files/gnurobots-1.2.0-cflags.patch b/games-misc/gnurobots/files/gnurobots-1.2.0-cflags.patch
new file mode 100644
index 000000000000..3f13e23075f8
--- /dev/null
+++ b/games-misc/gnurobots/files/gnurobots-1.2.0-cflags.patch
@@ -0,0 +1,34 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Tue Jan 8 16:31:27 UTC 2013
+Subject: build system
+
+ respect CFLAGS
+ provide werror switch
+
+--- gnurobots-1.2.0/configure.ac
++++ gnurobots-1.2.0/configure.ac
+@@ -21,7 +21,7 @@
+ AC_PREREQ([2.59])
+ AM_CONFIG_HEADER([config.h])
+ AC_CONFIG_SRCDIR([include/api.h])
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([-Wall])
+
+ dnl Checks for programs.
+ AC_PROG_CC
+@@ -91,7 +91,13 @@
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+
+-CFLAGS="-pedantic-errors -Werror -Wall -g"
++AC_ARG_ENABLE([werror],
++ [AS_HELP_STRING([--enable-werror],
++ [enable -Werror flag (default: disabled)])],
++ [enable_werror=$enableval],
++ [enable_werror="no"])
++AS_IF([test "x$enable_werror" = "xyes"],
++ [CFLAGS="$CFLAGS -pedantic-errors -Werror"])
+
+ dnl Done.
+ AC_CONFIG_FILES([Makefile
+
diff --git a/games-misc/gnurobots/gnurobots-1.2.0.ebuild b/games-misc/gnurobots/gnurobots-1.2.0.ebuild
index 4514969a3205..9946224907a0 100644
--- a/games-misc/gnurobots/gnurobots-1.2.0.ebuild
+++ b/games-misc/gnurobots/gnurobots-1.2.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/gnurobots-1.2.0.ebuild,v 1.11 2012/12/15 18:47:21 dolsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/gnurobots-1.2.0.ebuild,v 1.12 2013/01/08 19:43:00 hasufell Exp $
EAPI=2
inherit eutils autotools games
@@ -20,11 +20,7 @@ DEPEND="x11-libs/vte:0
dev-scheme/guile[deprecated]"
src_prepare() {
- epatch "${FILESDIR}"/${P}-ldflags.patch
- sed -i \
- -e 's/-pedantic-errors -Werror//' \
- configure.ac \
- || die "sed failed"
+ epatch "${FILESDIR}"/${P}-{ldflags,cflags}.patch
eautoreconf
}