require samba.inc
require samba-basic.inc
LICENSE = "GPLv3"
S = "${SRCDIR}/samba-${PV}/source3"

SRC_URI += "file://config-h.patch"
SRC_URI += "file://tdbheaderfix.patch;patchdir=${SRCDIR}/samba-${PV}"

EXTRA_OECONF += "\
	SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
	samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
	linux_getgrouplist_ok=no \
	samba_cv_HAVE_BROKEN_GETGROUPS=no \
	samba_cv_HAVE_FTRUNCATE_EXTEND=yes \
	samba_cv_have_setresuid=yes \
	samba_cv_have_setresgid=yes \
	samba_cv_HAVE_WRFILE_KEYTAB=yes \
	samba_cv_linux_getgrouplist_ok=yes \
	"

do_compile () {
	base_do_compile
}

require samba.inc
require samba-basic.inc
LICENSE = "GPLv3"
S = "${SRCDIR}/samba-${PV}/source3"

SRC_URI += "file://config-h.patch"
# FIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIXMMEEEEEEE
# need to figure out if we should add support for patchdir
#SRC_URI += "file://tdbheaderfix.patch;patchdir=${SRCDIR}/samba-${PV}"

EXTRA_OECONF += "\
	SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
	samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
	linux_getgrouplist_ok=no \
	samba_cv_HAVE_BROKEN_GETGROUPS=no \
	samba_cv_HAVE_FTRUNCATE_EXTEND=yes \
	samba_cv_have_setresuid=yes \
	samba_cv_have_setresgid=yes \
	samba_cv_HAVE_WRFILE_KEYTAB=yes \
	samba_cv_linux_getgrouplist_ok=yes \
	"

do_compile () {
	base_do_compile
}

Comment out SRC_URI patch with patchdir parameter
samba: Comment out SRC_URI patch with patchdir parameter

The new do_patch does not support patchdir parameter, so we either need
to find a different solution here in samba, or find out how to properly
support patchdir.
