svn commit: r552108 - head/net/istgt/files
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Oct 12 07:46:18 UTC 2020
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;
More information about the svn-ports-head
mailing list