freebsd-ports/databases/postgresql-repmgr/files/patch-config.c
Steve Wills 2ecc06a474 - 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)
2012-12-10 02:27:32 +00:00

11 lines
359 B
C

--- ./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");