public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Swenson" <titanofold@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pgsql-patches:9.0 commit in: /
Date: Mon,  8 Aug 2011 10:58:51 +0000 (UTC)	[thread overview]
Message-ID: <b23c7dfadf8edffe456be4546c8e27382a89f008.titanofold@gentoo> (raw)

commit:     b23c7dfadf8edffe456be4546c8e27382a89f008
Author:     Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 01:18:35 2011 +0000
Commit:     Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 01:18:35 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=b23c7dfa

bool.patch to fix PPC{,64} defining it to . . . something. pg_ctl-exit-status.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 @@
+  */
+ 
+ #ifndef __cplusplus
++#undef bool
+ 
+ #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);
+ }
+ 
+ 



             reply	other threads:[~2011-08-08 10:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 10:58 Aaron Swenson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-21 22:11 [gentoo-commits] proj/pgsql-patches:9.0 commit in: / Aaron Swenson
2011-03-20 22:53 Aaron Swenson
2011-03-20 19:29 Aaron Swenson
2011-03-20 16:43 Aaron Swenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b23c7dfadf8edffe456be4546c8e27382a89f008.titanofold@gentoo \
    --to=titanofold@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox