diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-06-30 20:29:53 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-06-30 20:29:53 +0800 |
commit | 8ec27cc8e609bf2663a985baa355c8d770e1a83d (patch) | |
tree | 113940c665eea09324be1131ebfa13598d51b01d /net/xtraceroute/files | |
parent | a030a77cf2155acd8621aecaf0a2536c69c23e89 (diff) | |
download | freebsd-ports-gnome-8ec27cc8e609bf2663a985baa355c8d770e1a83d.tar.gz freebsd-ports-gnome-8ec27cc8e609bf2663a985baa355c8d770e1a83d.tar.zst freebsd-ports-gnome-8ec27cc8e609bf2663a985baa355c8d770e1a83d.zip |
Update to 0.9.0.
Diffstat (limited to 'net/xtraceroute/files')
-rw-r--r-- | net/xtraceroute/files/patch-aa | 18 | ||||
-rw-r--r-- | net/xtraceroute/files/patch-ab | 17 | ||||
-rw-r--r-- | net/xtraceroute/files/patch-util.c | 27 |
3 files changed, 16 insertions, 46 deletions
diff --git a/net/xtraceroute/files/patch-aa b/net/xtraceroute/files/patch-aa index 44c46cb32017..01493bfd1074 100644 --- a/net/xtraceroute/files/patch-aa +++ b/net/xtraceroute/files/patch-aa @@ -1,6 +1,9 @@ ---- configure.orig Sun Feb 28 06:56:14 1999 -+++ configure Tue Aug 22 12:29:47 2000 -@@ -2505,7 +2505,7 @@ + +$FreeBSD$ + +--- configure.orig Wed Apr 18 17:26:37 2001 ++++ configure Thu Jun 28 23:54:08 2001 +@@ -2547,7 +2547,7 @@ cat conftest.$ac_ext >&5 rm -rf conftest* CATOBJEXT=.mo @@ -9,12 +12,3 @@ fi rm -f conftest* INSTOBJEXT=.mo -@@ -3620,7 +3620,7 @@ - if test "x$have_libgtkgl" = "x" ; then - { echo "configure: error: Missing gtkgl library" 1>&2; exit 1; } - else -- LIBS="$LIBS -lgtkgl" -+ LIBS="-lgtkgl $LIBS" - fi - - echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 diff --git a/net/xtraceroute/files/patch-ab b/net/xtraceroute/files/patch-ab index 3609787e142c..88fd40a8b756 100644 --- a/net/xtraceroute/files/patch-ab +++ b/net/xtraceroute/files/patch-ab @@ -1,13 +1,16 @@ ---- glstuff.c.orig Thu Feb 17 13:03:21 2000 -+++ glstuff.c Thu Feb 17 13:07:17 2000 -@@ -17,7 +17,10 @@ + +$FreeBSD$ + +--- glstuff.c.orig Thu Jun 28 02:19:31 2001 ++++ glstuff.c Thu Jun 28 23:56:03 2001 +@@ -16,7 +16,10 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - #include "xt.h" +#include <sys/types.h> +#include <sys/socket.h> #include <netinet/in.h> +#include <arpa/inet.h> - - extern void sphere(int level); - + #include <stdlib.h> + #include <gtkgl/gtkglarea.h> + #include <GL/gl.h> diff --git a/net/xtraceroute/files/patch-util.c b/net/xtraceroute/files/patch-util.c deleted file mode 100644 index ecf92fab3ea9..000000000000 --- a/net/xtraceroute/files/patch-util.c +++ /dev/null @@ -1,27 +0,0 @@ -Workaround for a sscanf(3) bug in the FreeBSD 5-CURRENT. - -$FreeBSD$ - ---- util.c 2001/06/02 10:41:42 1.1 -+++ util.c 2001/06/02 11:14:20 -@@ -36,10 +36,19 @@ - double loc = 0; - float sub; - int i = 0; -+ int len; -+ char *tmp; -+ -+ len = strlen(str); -+ if (str[len - 1] == 'e') { -+ tmp = alloca(len); -+ strlcpy(tmp, str, len); -+ } else -+ tmp = str; - - while(1) - { -- sscanf(&str[i], "%f", &sub); -+ sscanf(&tmp[i], "%f", &sub); - loc += sub*factor; - - // Skip all spaces and tabs |