aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e72e9b00bdbdc..cfab5d284edbc 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