summaryrefslogtreecommitdiff
path: root/databases/postgresql-repmgr/files/patch-config.c
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-12-10 02:27:32 +0000
committerSteve Wills <swills@FreeBSD.org>2012-12-10 02:27:32 +0000
commit2ecc06a4749b8aee14b70da8295a83f8737936d1 (patch)
tree2df2effe4a5bceb85c7ad1f4c35644e3f9811ed5 /databases/postgresql-repmgr/files/patch-config.c
parent- Update to 1.280 (diff)
- Update to 1.2.0
- Update MASTER_SITES - Assign with expansion for RUN_DEPENDS -> BUILD_DEPENDS - Remove patch-strnlen after refactoring changes into new patches - Add patch to fix compilation by cherrypicking a commit in 2.x - Trim Makefile header PR: ports/174216 Submitted by: Kubilay Kocak <koobs.freebsd@gmail.com> (maintainer) Approved by: Alexander Pyhalov <alp@rsu.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=308578
Diffstat (limited to '')
-rw-r--r--databases/postgresql-repmgr/files/patch-config.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/postgresql-repmgr/files/patch-config.c b/databases/postgresql-repmgr/files/patch-config.c
new file mode 100644
index 000000000000..e13f48a80521
--- /dev/null
+++ b/databases/postgresql-repmgr/files/patch-config.c
@@ -0,0 +1,11 @@
+--- ./config.c.orig 2012-12-04 19:40:15.395225527 +1100
++++ ./config.c 2012-12-04 19:40:38.975104852 +1100
+@@ -77,7 +77,7 @@
+ fclose (fp);
+
+ /* Check config settings */
+- if (strnlen(options->cluster_name, MAXLEN)==0)
++ if (strlen(options->cluster_name)==0)
+ {
+ fprintf(stderr, "Cluster name is missing. "
+ "Check the configuration file.\n");