Date: Mon, 12 Oct 2020 07:46:17 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552108 - head/net/istgt/files Message-ID: <202010120746.09C7kHBZ059895@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Mon Oct 12 07:46:17 2020 New Revision: 552108 URL: https://svnweb.freebsd.org/changeset/ports/552108 Log: Make enums anonymous to fix the build with -fno-common (Clang 11, GCC 10). Added: head/net/istgt/files/patch-src_istgt__lu.h (contents, props changed) Added: head/net/istgt/files/patch-src_istgt__lu.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/istgt/files/patch-src_istgt__lu.h Mon Oct 12 07:46:17 2020 (r552108) @@ -0,0 +1,18 @@ +--- src/istgt_lu.h.orig 2012-08-27 11:46:50 UTC ++++ src/istgt_lu.h +@@ -277,13 +277,13 @@ enum { + ISTGT_LU_TASK_RESULT_IMMEDIATE = 0, + ISTGT_LU_TASK_RESULT_QUEUE_OK = 1, + ISTGT_LU_TASK_RESULT_QUEUE_FULL = 2, +-} ISTGT_LU_TASK_RESULT; ++} /* ISTGT_LU_TASK_RESULT */; + + enum { + ISTGT_LU_TASK_RESPONSE = 0, + ISTGT_LU_TASK_REQPDU = 1, + ISTGT_LU_TASK_REQUPDPDU = 2, +-} ISTGT_LU_TASK_TYPE; ++} /* ISTGT_LU_TASK_TYPE */; + + typedef struct istgt_lu_task_t { + int type;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010120746.09C7kHBZ059895>