Re: UPDATE: libsmb2 6.2.0pl20260808

Stuart Henderson <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
On 2026/08/09 01:59, Brad Smith wrote:
> Here is an update to libsmb2 6.2.0pl20260809.
> 
> Bug fixes and dcerpc support.
> 
> All depends build Ok.

vlc doesn't:

cc -DHAVE_CONFIG_H -I. -I.. -DMODULE_STRING="smb2" -D__PLUGIN__ -I./access -I./codec -I../include -I../include -I/usr/X11R6/include -I/usr/local/include -I../compat/stdckdint -I/usr/local/include -O2 -pipe -Werror=unknown-warning-option -Werror=invalid-command-line-argument -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -fvisibility=hidden -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fcx-limited-range -funroll-loops -fomit-frame-pointer -fstack-protector-strong -MT access/libsmb2_plugin_la-smb2.lo -MD -MP -MF access/.deps/libsmb2_plugin_la-smb2.Tpo -c access/smb2.c -fPIC -DPIC -o access/.libs/libsmb2_plugin_la
 -smb2.o
access/smb2.c:509:71: error: no member named 'ShareInfo' in 'struct srvsvc_SHARE_ENUM_STRUCT'
  509 |     struct srvsvc_SHARE_INFO_1_CONTAINER *ctr = &sys->share_enum->ses.ShareInfo.Level1;
      |                                                  ~~~~~~~~~~~~~~~~~~~~ ^
access/smb2.c:520:49: error: no member named 'Buffer' in 'struct srvsvc_SHARE_INFO_1_CONTAINER'
  520 |        struct srvsvc_SHARE_INFO_1 *info = &ctr->Buffer->share_info_1[iinfo];
      |                                            ~~~  ^
access/smb2.c:521:40: error: member reference base type 'char *' is not a structure or union
  521 |        const char *name = info->netname.utf8;
      |                           ~~~~~~~~~~~~~^~~~~
access/smb2.c:529:19: error: use of undeclared identifier 'SHARE_TYPE_HIDDEN'
  529 |        if (type & SHARE_TYPE_HIDDEN)
      |                   ^~~~~~~~~~~~~~~~~
access/smb2.c:533:17: error: use of undeclared identifier 'SHARE_TYPE_DISKTREE'
  533 |            case SHARE_TYPE_DISKTREE:
      |                 ^~~~~~~~~~~~~~~~~~~
access/smb2.c:776:25: warning: unused parameter 'out_host' [-Wunused-parameter]
  776 |                  char **out_host)
      |                         ^
1 warning and 5 errors generated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.