]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- fix version define
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 6 Dec 2006 22:17:46 +0000 (22:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql-version.patch -> 1.1

postgresql-version.patch [new file with mode: 0644]

diff --git a/postgresql-version.patch b/postgresql-version.patch
new file mode 100644 (file)
index 0000000..87bb9c4
--- /dev/null
@@ -0,0 +1,14 @@
+--- postgresql/configure.in.org        2006-12-07 00:01:51.133944250 +0100
++++ postgresql/configure.in    2006-12-07 00:02:19.567721250 +0100
+@@ -632,9 +632,9 @@
+ # Supply a numeric version string for use by 3rd party add-ons
+ # awk -F is a regex on some platforms, and not on others, so make "." a tab
+-PG_VERSION_NUM="`echo "$PACKAGE_VERSION" | sed 's/[A-Za-z].*$//' |
++PG_VERSION_NUM=$(echo "$PACKAGE_VERSION" | sed 's/[A-Za-z].*$//' |
+ tr '.' '      ' |
+-$AWK '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
++$AWK '{printf "%d%02d%02d", $1, $2, (NF >= 3) ? $3 : 0}')
+ AC_DEFINE_UNQUOTED(PG_VERSION_NUM, $PG_VERSION_NUM, [PostgreSQL version as a number])
+ ##
This page took 0.110268 seconds and 4 git commands to generate.