summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-11-21 11:50:22 +0000
committerEldad Zack <eldad@gentoo.org>2004-11-21 11:50:22 +0000
commit6d586b22c95cc5335fdf43c3f5d08c7e5ca39120 (patch)
tree6a4218b32733722f1065160c9e27166a4af4432a /net-analyzer/cnet/files/cnet-2.0.9-gentoo.patch
parentThis package has a hard dependency on libelf and will break against elfutils (diff)
downloadhistorical-6d586b22c95cc5335fdf43c3f5d08c7e5ca39120.tar.gz
historical-6d586b22c95cc5335fdf43c3f5d08c7e5ca39120.tar.bz2
historical-6d586b22c95cc5335fdf43c3f5d08c7e5ca39120.zip
bumped
Diffstat (limited to 'net-analyzer/cnet/files/cnet-2.0.9-gentoo.patch')
-rw-r--r--net-analyzer/cnet/files/cnet-2.0.9-gentoo.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/net-analyzer/cnet/files/cnet-2.0.9-gentoo.patch b/net-analyzer/cnet/files/cnet-2.0.9-gentoo.patch
new file mode 100644
index 000000000000..9817db77c684
--- /dev/null
+++ b/net-analyzer/cnet/files/cnet-2.0.9-gentoo.patch
@@ -0,0 +1,50 @@
+--- Makefile 2003-03-31 11:13:05.000000000 +0800
++++ Makefile 2004-10-04 10:41:10.292769416 +0800
+@@ -1,5 +1,5 @@
+ NAME = cnet
+-VERSION = 2.0.4
++VERSION = 2.0.9
+ SHELL = /bin/sh
+ #
+ # Change the following 5 constants to suit your local site.
+@@ -7,14 +7,14 @@
+ # It is presumed that BINDIR and MANDIR exist, so you may need
+ # to create them, and set their permissions, if necessary.
+ #
+-PREFIX = /usr/local
++PREFIX = /usr/
+ #
+ BINDIR = $(PREFIX)/bin
+-CNETDIR = $(PREFIX)/cnetlib
+-MANDIR = $(PREFIX)/man/man1
++CNETDIR = $(PREFIX)/lib/cnetlib
++MANDIR = $(PREFIX)/share/man/man1
+ MANEXT = 1
+ MANFILE = $(MANDIR)/$(NAME).$(MANEXT)
+-WEBDIR = /home/httpd/html/cnet
++WEBDIR = $(CNETDIR)/html
+
+ # ---------------------------------------------------------------------
+
+--- src/Makefile.linux 2004-05-11 03:27:19.000000000 +0800
++++ src/Makefile.linux 2004-10-04 10:24:10.000000000 +0800
+@@ -29,7 +29,7 @@
+ ANSICC = gcc -ansi
+ INCLUDES = $(LIBELFINC)
+
+-CFLAGS = -O -Wall -fPIC $(INCLUDES) $(XINCLUDES)
++CFLAGS = -march=pentium3 -O3 -pipe -fPIC $(INCLUDES) $(XINCLUDES)
+
+ LD = gcc -rdynamic
+ LIBDIRS = -L/usr/X11R6/lib $(XLIBDIRS) $(LIBELFDIR)
+--- src/config.h 2004-05-13 02:13:43.000000000 +0800
++++ src/config.h 2004-10-04 10:39:39.000000000 +0800
+@@ -169,7 +169,7 @@
+ #if defined(USE_FREEBSD)
+ #define CNETPATH "/usr/local/share/cnet:/usr/local/include:/usr/local/cnetlib"
+ #else
+-#define CNETPATH "/usr/local/cnetlib:/usr/lib/cnet:/cslinux/cnetlib"
++#define CNETPATH "/usr/lib/cnetlib:/usr/lib/cnet:"
+ #endif
+
+