Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/postgresql-docs/files: postgresql-9.0-common.patch
Date: Fri, 26 Feb 2010 15:48:04
Message-Id: E1Nl2Q7-0002ph-18@stork.gentoo.org
1 patrick 10/02/26 15:48:03
2
3 Added: postgresql-9.0-common.patch
4 Log:
5 Bump to 9.0_alpha4
6 (Portage version: 2.2_rc63/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-db/postgresql-docs/files/postgresql-9.0-common.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-docs/files/postgresql-9.0-common.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-docs/files/postgresql-9.0-common.patch?rev=1.1&content-type=text/plain
13
14 Index: postgresql-9.0-common.patch
15 ===================================================================
16 === configure.in
17 ==================================================================
18 --- configure.in 2009-06-27 02:14:47.000000000 +0200
19 +++ configure.in 2009-07-09 15:05:02.000000000 +0200
20 @@ -19,10 +19,6 @@
21
22 AC_INIT([PostgreSQL], [9.0alpha4], [pgsql-bugs@××××××××××.org])
23
24 -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.63], [], [m4_fatal([Autoconf version 2.63 is required.
25 -Untested combinations of 'autoconf' and PostgreSQL versions are not
26 -recommended. You can remove the check from 'configure.in' but it is then
27 -your responsibility whether the result works or not.])])
28 AC_COPYRIGHT([Copyright (c) 1996-2010, PostgreSQL Global Development Group])
29 AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
30 AC_CONFIG_AUX_DIR(config)
31 === src/include/storage/s_lock.h
32 ==================================================================
33 --- src/include/storage/s_lock.h 2009-01-01 18:24:01.000000000 +0100
34 +++ src/include/storage/s_lock.h 2009-07-09 15:03:08.000000000 +0200
35 @@ -298,6 +298,29 @@
36
37 #endif /* __s390__ || __s390x__ */
38
39 +#if defined(__sh__)
40 +#define HAS_TEST_AND_SET
41 +
42 +typedef unsigned char slock_t;
43 +
44 +#define TAS(lock) tas(lock)
45 +
46 +static __inline__ int
47 +tas(volatile slock_t *lock)
48 +{
49 + register int _res = 1;
50 +
51 + __asm__ __volatile__(
52 + "tas.b @%1\n\t"
53 + "movt %0\n\t"
54 + "xor #1,%0"
55 +: "=z"(_res)
56 +: "r"(lock)
57 +: "t","memory");
58 + return _res;
59 +}
60 +
61 +#endif /* __sh__ */
62
63 #if defined(__sparc__) /* Sparc */
64 #define HAS_TEST_AND_SET
65 === src/makefiles/Makefile.darwin
66 ==================================================================
67 --- src/makefiles/Makefile.darwin 2008-11-14 11:22:47.000000000 +0100
68 +++ src/makefiles/Makefile.darwin 2009-07-09 15:07:11.000000000 +0200
69 @@ -5,7 +5,15 @@
70 CFLAGS_SL =
71
72 ifdef PGXS
73 +ifdef PGXS_IN_SERVER
74 +ifndef PGXS_WITH_SERVER
75 +BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres
76 +else
77 +BE_DLLLIBS= -bundle_loader ${PGXS_WITH_SERVER}
78 +endif
79 +else
80 BE_DLLLIBS= -bundle_loader $(bindir)/postgres
81 +endif
82 else
83 BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres
84 endif