Fix
This commit is contained in:
10
textproc/augeas/files/patch-lenses_pg__hba.aug
Normal file
10
textproc/augeas/files/patch-lenses_pg__hba.aug
Normal file
@ -0,0 +1,10 @@
|
||||
--- lenses/pg_hba.aug.orig 2016-12-23 12:13:13 UTC
|
||||
+++ lenses/pg_hba.aug
|
||||
@@ -81,6 +81,7 @@ module Pg_Hba =
|
||||
(* View: filter
|
||||
The pg_hba.conf conf file *)
|
||||
let filter = (incl "/var/lib/pgsql/data/pg_hba.conf" .
|
||||
+ incl "/usr/local/pgsql/data/pg_hba.conf" .
|
||||
incl "/var/lib/pgsql/*/data/pg_hba.conf" .
|
||||
incl "/var/lib/postgresql/*/data/pg_hba.conf" .
|
||||
incl "/etc/postgresql/*/*/pg_hba.conf" )
|
||||
10
textproc/augeas/files/patch-lenses_postgresql.aug
Normal file
10
textproc/augeas/files/patch-lenses_postgresql.aug
Normal file
@ -0,0 +1,10 @@
|
||||
--- lenses/postgresql.aug.orig 2016-12-23 12:13:09 UTC
|
||||
+++ lenses/postgresql.aug
|
||||
@@ -70,6 +70,7 @@ let lns = (Util.empty | Util.comment | e
|
||||
|
||||
(* Variable: filter *)
|
||||
let filter = (incl "/var/lib/pgsql/data/postgresql.conf" .
|
||||
+ incl "/usr/local/pgsql/data/postgresql.conf" .
|
||||
incl "/var/lib/pgsql/*/data/postgresql.conf" .
|
||||
incl "/var/lib/postgresql/*/data/postgresql.conf" .
|
||||
incl "/etc/postgresql/*/*/postgresql.conf" )
|
||||
11
textproc/augeas/files/patch-src_internal.c
Normal file
11
textproc/augeas/files/patch-src_internal.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/internal.c.orig 2018-08-10 20:17:35 UTC
|
||||
+++ src/internal.c
|
||||
@@ -431,7 +431,7 @@ const char *xstrerror(int errnum, char *buf, size_t le
|
||||
|
||||
const char *xstrerror(int errnum, char *buf, size_t len) {
|
||||
#ifdef HAVE_STRERROR_R
|
||||
-# ifdef __USE_GNU
|
||||
+# if defined(__USE_GNU) && defined(__GLIBC__)
|
||||
/* Annoying linux specific API contract */
|
||||
return strerror_r(errnum, buf, len);
|
||||
# else
|
||||
Reference in New Issue
Block a user