diff options
Diffstat (limited to 'net-analyzer/masscan/files/masscan-1.0.3-gcc5.patch')
-rw-r--r-- | net-analyzer/masscan/files/masscan-1.0.3-gcc5.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/masscan/files/masscan-1.0.3-gcc5.patch b/net-analyzer/masscan/files/masscan-1.0.3-gcc5.patch new file mode 100644 index 000000000000..6bf92fd25d14 --- /dev/null +++ b/net-analyzer/masscan/files/masscan-1.0.3-gcc5.patch @@ -0,0 +1,11 @@ +--- a/src/string_s.h ++++ b/src/string_s.h +@@ -77,7 +77,7 @@ + typedef int errno_t; + errno_t fopen_s(FILE **fp, const char *filename, const char *mode); + +-#elif defined(__GNUC__) && (__GNUC__ == 4) ++#elif defined(__GNUC__) + #include <inttypes.h> + /* GCC 4 */ + # define sprintf_s snprintf |