security/razorback-masterNugget: fix build on recent current

rzb_nugget.c:333:2: error: misleading indentation; statement is not part of the previous 'for' [-Werror,-Wmisleading-indentation]
        rzb_log(LOG_DEBUG, "LoadNuggets: SO Version: %s", sg_sSoVersion);
        ^
This commit is contained in:
Tobias C. Berner 2020-08-27 12:55:56 +00:00
parent 2ad162d894
commit e651f28c1d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546338
2 changed files with 15 additions and 1 deletions

View file

@ -18,11 +18,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= librazorback_api.so:security/razorback-api \
libjson-c.so:devel/json-c
USES= autoreconf libtool pkgconfig
USES= autoreconf dos2unix libtool pkgconfig
GNU_CONFIGURE= yes
USE_RC_SUBR= masterNugget masterNugget_safed
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DOS2UNIX_FILES= ${WRKSRC}/src/rzb_nugget.c
USERS?= razorback
GROUPS?= razorback

View file

@ -0,0 +1,13 @@
--- src/rzb_nugget.c.orig 2020-08-27 12:50:01 UTC
+++ src/rzb_nugget.c
@@ -330,8 +330,8 @@ static bool loadNuggets()
if (sg_sSoVersion[l_iIt] == ':')
sg_sSoVersion[l_iIt] = '.';
- rzb_log(LOG_DEBUG, "LoadNuggets: SO Version: %s", sg_sSoVersion);
- ftw(sg_sSoPath, processFile, 1);
+ rzb_log(LOG_DEBUG, "LoadNuggets: SO Version: %s", sg_sSoVersion);
+ ftw(sg_sSoPath, processFile, 1);
#endif
return true;
}