summaryrefslogtreecommitdiff
path: root/net/xtraceroute
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-04-05 20:56:03 +0000
committertron <tron@pkgsrc.org>2000-04-05 20:56:03 +0000
commit6e9f39f1601881c297707973841bca0f26a8ab5c (patch)
treeb5848b9bcca2cf123c150a5aa9584ca5fa1d8d99 /net/xtraceroute
parentdbe4b20b73c14123cd7ff02b12c46a6b95570679 (diff)
downloadpkgsrc-6e9f39f1601881c297707973841bca0f26a8ab5c.tar.gz
Adapt this package for Mesa 3.1 or newer.
Diffstat (limited to 'net/xtraceroute')
-rw-r--r--net/xtraceroute/files/patch-sum4
-rw-r--r--net/xtraceroute/patches/patch-ab40
2 files changed, 40 insertions, 4 deletions
diff --git a/net/xtraceroute/files/patch-sum b/net/xtraceroute/files/patch-sum
index f5f74633f0d..f8ef876e289 100644
--- a/net/xtraceroute/files/patch-sum
+++ b/net/xtraceroute/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:12:32 agc Exp $
+$NetBSD: patch-sum,v 1.2 2000/04/05 20:56:03 tron Exp $
MD5 (patch-aa) = 4c66476c2bd02eaa924e1b349abd1ee4
-MD5 (patch-ab) = 273d0c25b4ce4e5c71cbb6f7b2373147
+MD5 (patch-ab) = 125152054ce056093fe27c018d40ca1b
diff --git a/net/xtraceroute/patches/patch-ab b/net/xtraceroute/patches/patch-ab
index 76040610c84..12735fd0331 100644
--- a/net/xtraceroute/patches/patch-ab
+++ b/net/xtraceroute/patches/patch-ab
@@ -1,7 +1,43 @@
-$NetBSD: patch-ab,v 1.3 1999/07/07 20:47:43 tron Exp $
+$NetBSD: patch-ab,v 1.4 2000/04/05 20:56:03 tron Exp $
--- configure.orig Sun Feb 28 05:56:14 1999
-+++ configure Wed Jul 7 22:40:36 1999
++++ configure Wed Apr 5 22:53:00 2000
+@@ -3422,14 +3422,14 @@
+ fi
+
+
+-echo $ac_n "checking for glBegin in -lMesaGL""... $ac_c" 1>&6
+-echo "configure:3427: checking for glBegin in -lMesaGL" >&5
++echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6
++echo "configure:3427: checking for glBegin in -lGL" >&5
+ ac_lib_var=`echo MesaGL'_'glBegin | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lMesaGL $GTK_LIBS $GL_LDOPTS $LIBS"
++LIBS="-lGL $GTK_LIBS $GL_LDOPTS $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 3435 "configure"
+ #include "confdefs.h"
+@@ -3554,7 +3554,7 @@
+ elif test "x$with_lib_MesaGL" = "xyes"; then
+
+ if test "x$have_MesaGL" = "xyes"; then
+- GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL"
++ GL_LIBS="$GL_LDOPTS -lGLU -lGL"
+ else
+ { echo "configure: error: Missing MesaGL library" 1>&2; exit 1; }
+ fi
+@@ -3564,7 +3564,7 @@
+ if test "x$have_GL" = "xyes"; then
+ GL_LIBS="$GL_LDOPTS -lGLU -lGL"
+ elif test "x$have_MesaGL" = "xyes"; then
+- GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL"
++ GL_LIBS="$GL_LDOPTS -lGLU -lGL"
+ else
+ { echo "configure: error: You need GL or MesaGL libraries" 1>&2; exit 1; }
+ fi
@@ -3630,7 +3630,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else