generated from smedev/Template-for-SMEServer-Contribs-Package
* Wed Jun 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.1.1-9.sme
- fix systemd unit chmod [SME: 11046]
This commit is contained in:
13
bandwidthd-pgsql.patch
Normal file
13
bandwidthd-pgsql.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- bandwidthd-2.0.1/configure.in 2005-01-11 22:15:49.000000000 +0100
|
||||
+++ configure.in 2008-12-08 17:35:42.000000000 +0100
|
||||
@@ -55,8 +55,8 @@
|
||||
[AC_CHECK_LIB(wpcap, pcap_open_live, ,[AC_MSG_ERROR([Bandwidthd requires but cannot find libpcap])])])
|
||||
|
||||
# Optional Library
|
||||
-AC_CHECK_FILE(/usr/local/pgsql/lib, LDFLAGS="$LDFLAGS -L/usr/local/pgsql/lib")
|
||||
-AC_CHECK_FILE(/usr/local/pgsql/include, CPPFLAGS="$CPPFLAGS -I/usr/local/pgsql/include")
|
||||
+AC_CHECK_FILE(/usr/lib, LDFLAGS="$LDFLAGS -L/usr/lib")
|
||||
+AC_CHECK_FILE(/usr/include/pgsql, CPPFLAGS="$CPPFLAGS -I/usr/include/pgsql")
|
||||
AC_CHECK_LIB(pq, PQconnectdb,
|
||||
[AC_CHECK_LIB(pq,PQexecParams, ,AC_MSG_WARN([libpq exists but is too old... bandwidthd requires support for PQexecParams]))])
|
||||
|
Reference in New Issue
Block a user