packages/utils/lsof/patches/003-lsof_selinux.patch
nbd f22e55a270 lsof: fix broken patch
The line:

if 1 -eq 0

is missing the 'test' command. Alternatively, "if /bin/false" would have worked too.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 22:03:26 +00:00

12 lines
259 B
Diff

--- a/Configure
+++ b/Configure
@@ -2806,7 +2806,7 @@ return(0); }
LSOF_TMP1=1
fi # }
fi # }
- if test $LSOF_TMP1 -eq 1 # {
+ if test 0 -eq 1 # {
then
LSOF_CFGF="$LSOF_CFGF -DHASSELINUX"
LSOF_CFGL="$LSOF_CFGL -lselinux"