summaryrefslogtreecommitdiffstats
path: root/net-analyzer/netams/files/netams-ds-compile.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /net-analyzer/netams/files/netams-ds-compile.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'net-analyzer/netams/files/netams-ds-compile.patch')
-rw-r--r--net-analyzer/netams/files/netams-ds-compile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-analyzer/netams/files/netams-ds-compile.patch b/net-analyzer/netams/files/netams-ds-compile.patch
new file mode 100644
index 0000000..550bf81
--- /dev/null
+++ b/net-analyzer/netams/files/netams-ds-compile.patch
@@ -0,0 +1,24 @@
+diff -dPNur netams-3.3.3a/src/connections.c netams-3.3.3a-new/src/connections.c
+--- netams-3.3.3a/src/connections.c 2005-11-20 02:31:02.000000000 +0400
++++ netams-3.3.3a-new/src/connections.c 2006-04-10 03:37:34.000000000 +0500
+@@ -92,7 +92,7 @@
+ }
+
+ #ifdef LINUX
+-ssize_t conn_write(void *conn, const char *buf, unsigned i) {
++ssize_t conn_write(void *conn, const char *buf, size_t i) {
+ #else
+ int conn_write(void *conn, const char *buf, int i) {
+ #endif
+diff -dPNur netams-3.3.3a/src/connections.h netams-3.3.3a-new/src/connections.h
+--- netams-3.3.3a/src/connections.h 2005-03-02 14:39:30.000000000 +0400
++++ netams-3.3.3a-new/src/connections.h 2006-04-10 03:38:25.000000000 +0500
+@@ -13,7 +13,7 @@
+ #define CONN_FD_VIRT -1
+
+ #ifdef LINUX
+-ssize_t conn_write(void *conn, const char *buf, unsigned i);
++ssize_t conn_write(void *conn, const char *buf, size_t i);
+ #else
+ int conn_write(void *conn, const char *buf, int i);
+ #endif