From owner-svn-ports-all@freebsd.org Sun Nov 18 21:41:33 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63E9F1123E12; Sun, 18 Nov 2018 21:41:33 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F153C726D5; Sun, 18 Nov 2018 21:41:32 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D256219011; Sun, 18 Nov 2018 21:41:32 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAILfW6G049986; Sun, 18 Nov 2018 21:41:32 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAILfWR2049984; Sun, 18 Nov 2018 21:41:32 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201811182141.wAILfWR2049984@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Sun, 18 Nov 2018 21:41:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485279 - in head/net/nbd-server: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bofh X-SVN-Commit-Paths: in head/net/nbd-server: . files X-SVN-Commit-Revision: 485279 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F153C726D5 X-Spamd-Result: default: False [0.11 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.02)[-0.025,0]; NEURAL_SPAM_MEDIUM(0.14)[0.139,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2018 21:41:33 -0000 Author: bofh Date: Sun Nov 18 21:41:32 2018 New Revision: 485279 URL: https://svnweb.freebsd.org/changeset/ports/485279 Log: net/nbd-server: Add missing patch files - BUMP Reported by: tobik Added: head/net/nbd-server/files/ head/net/nbd-server/files/patch-nbd-server.c (contents, props changed) Modified: head/net/nbd-server/Makefile Modified: head/net/nbd-server/Makefile ============================================================================== --- head/net/nbd-server/Makefile Sun Nov 18 21:33:03 2018 (r485278) +++ head/net/nbd-server/Makefile Sun Nov 18 21:41:32 2018 (r485279) @@ -3,6 +3,7 @@ PORTNAME= nbd PORTVERSION= 3.18 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF Added: head/net/nbd-server/files/patch-nbd-server.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/nbd-server/files/patch-nbd-server.c Sun Nov 18 21:41:32 2018 (r485279) @@ -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