summaryrefslogtreecommitdiffstats
path: root/system/resource-agents
diff options
context:
space:
mode:
author B. Watson2022-02-09 10:38:31 +0100
committer Willy Sudiarto Raharjo2022-02-11 18:29:36 +0100
commit467983399a49995359156a54f1f77fcccd6e7180 (patch)
treecbbf829a26078496f6bd2a1d0a0e155be3637a22 /system/resource-agents
parent5806b53fe628fa46326a2c603805f4e7e2daf3d7 (diff)
downloadslackbuilds-467983399a49995359156a54f1f77fcccd6e7180.tar.gz
system/resource-agents: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/resource-agents')
-rw-r--r--system/resource-agents/resource-agents.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/resource-agents/resource-agents.SlackBuild b/system/resource-agents/resource-agents.SlackBuild
index e72e9b00bd..cfab5d284e 100644
--- a/system/resource-agents/resource-agents.SlackBuild
+++ b/system/resource-agents/resource-agents.SlackBuild
@@ -22,6 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220209 bkw: Modified by SlackBuilds.org: add --disable-fatal-warnings
+# to fix the build on 15.0.
+
+# Note: this still isn't perfect: running the SlackBuild results in
+# /run/resource-agents and /run/resource-agents/tomcat_tomcatstate
+# getting created (that's the real /run, not under $PKG).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=resource-agents
@@ -91,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-dependency-tracking \
+ --disable-fatal-warnings \
--build=$ARCH-slackware-linux
make