aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-libraries/001-maxhostnamelen.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-02-19 10:24:50 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-02-19 10:24:50 +0000
commit65c9d893ce9e9832f94cf7c754001075c09e2202 (patch)
treecd64f53b86a7046074d39468b037457cc5683d96 /community/openvas-libraries/001-maxhostnamelen.patch
parent4787e5a94c50ec4d137750a129ed7939ec0d3f04 (diff)
downloadaports-65c9d893ce9e9832f94cf7c754001075c09e2202.tar.bz2
aports-65c9d893ce9e9832f94cf7c754001075c09e2202.tar.xz
community/openvas-libraries: renamed back from gvm-libs
Openvas are going to release gvm-libs with 1.0.0 rather than 10.0.0. This will break upgrades. See: https://github.com/greenbone/gvm-libs/issues/189 for an issue opened at this regard. In order to prepare openvas to next version, is better to rename it back to openvas-libraries.
Diffstat (limited to 'community/openvas-libraries/001-maxhostnamelen.patch')
-rw-r--r--community/openvas-libraries/001-maxhostnamelen.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/openvas-libraries/001-maxhostnamelen.patch b/community/openvas-libraries/001-maxhostnamelen.patch
new file mode 100644
index 0000000000..373554d4ab
--- /dev/null
+++ b/community/openvas-libraries/001-maxhostnamelen.patch
@@ -0,0 +1,12 @@
+diff --git a/misc/pcap.c b/misc/pcap.c
+index 125ea24..fa24299 100644
+--- a/misc/pcap.c
++++ b/misc/pcap.c
+@@ -16,6 +16,7 @@
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
++#include <sys/param.h>
+ #include <netinet/in.h>
+ #include <resolv.h>
+ #include <pcap.h>