From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QqNY2-0003AD-82 for garchives@archives.gentoo.org; Mon, 08 Aug 2011 10:59:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2977021C090; Mon, 8 Aug 2011 10:58:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E968A21C075 for ; Mon, 8 Aug 2011 10:58:52 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 723D11B400F for ; Mon, 8 Aug 2011 10:58:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6550280048 for ; Mon, 8 Aug 2011 10:58:51 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: Subject: [gentoo-commits] proj/pgsql-patches:9.0 commit in: / X-VCS-Repository: proj/pgsql-patches X-VCS-Files: bool.patch pg_ctl-exit-status.patch X-VCS-Directories: / X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: b23c7dfadf8edffe456be4546c8e27382a89f008 Date: Mon, 8 Aug 2011 10:58:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 74702bd5e74787a26a786873eb312edc commit: b23c7dfadf8edffe456be4546c8e27382a89f008 Author: Aaron W. Swenson gentoo org> AuthorDate: Tue Aug 2 01:18:35 2011 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Tue Aug 2 01:18:35 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pgsql-patches= .git;a=3Dcommit;h=3Db23c7dfa bool.patch to fix PPC{,64} defining it to . . . something. pg_ctl-exit-st= atus.patch to emit the proper exit status when server isn't running. --- bool.patch | 11 +++++++++++ pg_ctl-exit-status.patch | 12 ++++++++++++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/bool.patch b/bool.patch new file mode 100644 index 0000000..a338be6 --- /dev/null +++ b/bool.patch @@ -0,0 +1,11 @@ +diff -Naur a/src/include/c.h b/src/include/c.h +--- a/src/include/c.h 2011-04-14 23:19:01.000000000 -0400 ++++ b/src/include/c.h 2011-07-31 18:23:00.648671437 -0400 +@@ -170,6 +170,7 @@ + */ +=20 + #ifndef __cplusplus ++#undef bool +=20 + #ifndef bool + typedef char bool; diff --git a/pg_ctl-exit-status.patch b/pg_ctl-exit-status.patch new file mode 100644 index 0000000..f55c9ac --- /dev/null +++ b/pg_ctl-exit-status.patch @@ -0,0 +1,12 @@ +diff -Naur a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c +--- a/src/bin/pg_ctl/pg_ctl.c 2011-04-14 23:18:15.000000000 -0400 ++++ b/src/bin/pg_ctl/pg_ctl.c 2011-08-01 19:44:54.009993121 -0400 +@@ -975,7 +975,7 @@ + } + } + printf(_("%s: no server running\n"), progname); +- exit(1); ++ exit(3); + } +=20 +=20