summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/braa/files/braa-0.8-gentoo.diff')
-rw-r--r--net-analyzer/braa/files/braa-0.8-gentoo.diff21
1 files changed, 4 insertions, 17 deletions
diff --git a/net-analyzer/braa/files/braa-0.8-gentoo.diff b/net-analyzer/braa/files/braa-0.8-gentoo.diff
index 4772cfe016ca..3b7b0a6ca6ea 100644
--- a/net-analyzer/braa/files/braa-0.8-gentoo.diff
+++ b/net-analyzer/braa/files/braa-0.8-gentoo.diff
@@ -1,6 +1,5 @@
-diff --exclude='*~' -Naur braa-0.8.orig/Makefile braa-0.8/Makefile
---- braa-0.8.orig/Makefile 2005-09-08 23:02:28.000000000 -0300
-+++ braa-0.8/Makefile 2005-09-08 23:23:24.000000000 -0300
+--- Makefile.orig 2004-01-12 09:15:51.000000000 +0100
++++ Makefile 2009-01-15 03:58:52.000000000 +0100
@@ -4,8 +4,6 @@
###################################################################
@@ -10,28 +9,16 @@ diff --exclude='*~' -Naur braa-0.8.orig/Makefile braa-0.8/Makefile
# Solaris / SPARC
# CFLAGS = -DSOLARIS_SPARC
-@@ -24,9 +22,9 @@
+@@ -24,9 +22,8 @@
LIBS =
all: ${OBJECTS}
- cc $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
+- strip $(OUT)
+ $(CC) $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
- strip $(OUT)
clean:
rm -rf $(OBJECTS) $(OUT)
-
\ No newline at end of file
+
-diff --exclude='*~' -Naur braa-0.8.orig/queries.c braa-0.8/queries.c
---- braa-0.8.orig/queries.c 2005-09-08 23:02:28.000000000 -0300
-+++ braa-0.8/queries.c 2005-09-08 23:11:44.000000000 -0300
-@@ -43,7 +43,7 @@
- * nxqry;
- struct query_hostrange * hr, * prev;
- u_int32_t hostrange_start, hostrange_end;
-- u_int16_t port = 161;
-+ u_int32_t port = 161;
- struct in_addr ina;
-
- assert(string = strdup(string));