Index: head/net/nbd-server/Makefile =================================================================== --- head/net/nbd-server/Makefile (revision 485278) +++ head/net/nbd-server/Makefile (revision 485279) @@ -1,36 +1,37 @@ # Created by: Christian Laursen # $FreeBSD$ PORTNAME= nbd PORTVERSION= 3.18 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF PKGNAMESUFFIX= -server MAINTAINER= bofh@FreeBSD.org COMMENT= Server for the Linux network block device (nbd) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome pkgconfig USE_GNOME= glib20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-lfs --enable-syslog TEST_TARGET= check OPTIONS_DEFINE= GNUTLS GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_BUILD_DEPENDS= gnutls>0:security/gnutls GNUTLS_RUN_DEPENDS= gnutls>0:security/gnutls PLIST_FILES= bin/nbd-server bin/nbd-trdump \ man/man1/nbd-server.1.gz \ man/man1/nbd-trdump.1.gz \ man/man5/nbd-server.5.gz \ man/man5/nbdtab.5.gz \ man/man8/nbd-client.8.gz .include Index: head/net/nbd-server/files/patch-nbd-server.c =================================================================== --- head/net/nbd-server/files/patch-nbd-server.c (nonexistent) +++ head/net/nbd-server/files/patch-nbd-server.c (revision 485279) @@ -0,0 +1,20 @@ +Fixes compile issue +Supposedly DT_* is not defined, though header file +exists. + +--- nbd-server.c.orig 2018-08-28 16:46:42 UTC ++++ nbd-server.c +@@ -678,13 +678,9 @@ SERVER* cmdline(int argc, char *argv[], struct generic + /* forward definition of parse_cfile */ + GArray* parse_cfile(gchar* f, struct generic_conf *genconf, bool expect_generic, GError** e); + +-#ifdef HAVE_STRUCT_DIRENT_D_TYPE +-#define NBD_D_TYPE de->d_type +-#else + #define NBD_D_TYPE 0 + #define DT_UNKNOWN 0 + #define DT_REG 1 +-#endif + + /** + * Parse config file snippets in a directory. Uses readdir() and friends Property changes on: head/net/nbd-server/files/patch-nbd-server.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property