From 26609183921dc619d9d4039199a20a7672229507 Mon Sep 17 00:00:00 2001 From: semarie Date: Fri, 24 Nov 2023 10:24:13 +0000 Subject: [PATCH] net/wmnetload: remove bogus RUNPATH entry net/wmnetload is build with a bogus RUNPATH path, and the elements in the list aren't needed (all paths are standard ones). So just disable RPATH completely. No functional changes outside removing the bogus RUNPATH entry in ELF. ok sthen@ --- net/wmnetload/Makefile | 2 +- net/wmnetload/patches/patch-configure | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/net/wmnetload/Makefile b/net/wmnetload/Makefile index 2edee96fb38..17c0d6c758f 100644 --- a/net/wmnetload/Makefile +++ b/net/wmnetload/Makefile @@ -1,7 +1,7 @@ COMMENT= wm-dockapp; simple network interface monitoring tool DISTNAME= wmnetload-1.3 -REVISION= 5 +REVISION= 6 CATEGORIES= net x11 x11/windowmaker HOMEPAGE= http://freshmeat.net/projects/wmnetload diff --git a/net/wmnetload/patches/patch-configure b/net/wmnetload/patches/patch-configure index 9b60c104bbf..65d384daee7 100644 --- a/net/wmnetload/patches/patch-configure +++ b/net/wmnetload/patches/patch-configure @@ -1,4 +1,6 @@ -Hunk #2, 3: fix the build with libdockapp>=0.7 +- permit build on OpenBSD +- RPATH isn't need (all paths are standard) +- fix the build with libdockapp>=0.7 Index: configure --- configure.orig @@ -13,6 +15,18 @@ Index: configure *) echo "" echo "Sorry, $host_os is not supported yet." +@@ -4270,10 +4273,10 @@ else + RPATH= + echo "WARNING: do not know how to set RPATH with this compiler" + fi ++RPATH= + + + +- + X_LIBRARY_PATH=$x_libraries + XCFLAGS="$X_CFLAGS" + XLFLAGS="$X_LIBS" @@ -4713,7 +4716,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */