aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireshark
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-05-08 10:04:18 +0800
committermarcus <marcus@FreeBSD.org>2005-05-08 10:04:18 +0800
commit7910e4897641f109f277bf6379cd607e862ce575 (patch)
tree128bd33a9c3b1dd2ee0705c6d3b3d92a11024d20 /net/wireshark
parentf61478b0834fa65fe286c3fe1fd9ca7da2cdb93f (diff)
downloadfreebsd-ports-gnome-7910e4897641f109f277bf6379cd607e862ce575.tar.gz
freebsd-ports-gnome-7910e4897641f109f277bf6379cd607e862ce575.tar.zst
freebsd-ports-gnome-7910e4897641f109f277bf6379cd607e862ce575.zip
Fix the build with Glib/GTK+ 1.2.
Diffstat (limited to 'net/wireshark')
-rw-r--r--net/wireshark/files/patch-configure69
-rw-r--r--net/wireshark/files/patch-wiretap_configure20
2 files changed, 85 insertions, 4 deletions
diff --git a/net/wireshark/files/patch-configure b/net/wireshark/files/patch-configure
index 6962120d124c..87b2baa4bdda 100644
--- a/net/wireshark/files/patch-configure
+++ b/net/wireshark/files/patch-configure
@@ -1,6 +1,49 @@
---- configure.orig Tue Dec 14 15:39:30 2004
-+++ configure Sat Dec 18 00:17:55 2004
-@@ -16120,7 +16120,7 @@
+--- configure.orig Wed May 4 17:32:34 2005
++++ configure Sat May 7 21:07:38 2005
+@@ -21806,6 +21806,7 @@
+ else
+ GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
+ GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
++ GLIB_LIBS="-liconv $GLIB_LIBS"
+ glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+ glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
+@@ -21816,7 +21817,7 @@
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GLIB_CFLAGS"
+- LIBS="$GLIB_LIBS $LIBS"
++ LIBS="$GLIB_LIBS -liconv $LIBS"
+ rm -f conf.glibtest
+ if test "$cross_compiling" = yes; then
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
+@@ -22452,6 +22453,7 @@
+ else
+ GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
+ GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
++ GLIB_LIBS="-liconv $GLIB_LIBS"
+ glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+ glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
+@@ -22462,7 +22464,7 @@
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GLIB_CFLAGS"
+- LIBS="$GLIB_LIBS $LIBS"
++ LIBS="$GLIB_LIBS -liconv $LIBS"
+ rm -f conf.glibtest
+ if test "$cross_compiling" = yes; then
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
+@@ -22683,7 +22685,7 @@
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GLIB_CFLAGS"
+-LIBS="$GLIB_LIBS $LIBS"
++LIBS="$GLIB_LIBS -liconv $LIBS"
+ if test "$cross_compiling" = yes; then
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
+ ac_cv_glib_supports_modules=yes
+@@ -27560,7 +27562,7 @@
#
CFLAGS="$CFLAGS -I$krb5_dir/include"
CPPFLAGS="$CPPFLAGS -I$krb5_dir/include"
@@ -9,7 +52,7 @@
ac_mit_version=`grep 'Massachusetts Institute of Technology' $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*Massachusetts Institute of Technology.*$/MIT/'`
ac_krb5_version="$ac_heimdal_version$ac_mit_version"
if test "x$ac_krb5_version" = "xHEIMDAL"
-@@ -16178,7 +16178,7 @@
+@@ -27618,7 +27620,7 @@
if test -x "$KRB5_CONFIG"
then
@@ -18,3 +61,21 @@
KRB5_LIBS=`"$KRB5_CONFIG" --libs`
CFLAGS="$CFLAGS $KRB5_FLAGS"
CPPFLAGS="$CPPFLAGS $KRB5_FLAGS"
+@@ -29121,7 +29123,7 @@
+
+
+ ac_save_LIBS="$LIBS"
+-LIBS="$GLIB_LIBS $LIBS"
++LIBS="$GLIB_LIBS -liconv $LIBS"
+ G_ASCII_STRTOULL_C=""
+ G_ASCII_STRTOULL_O=""
+ G_ASCII_STRTOULL_LO=""
+@@ -30094,7 +30096,7 @@
+ #
+ # The plugin dissectors reside in ./plugins/PROTO/
+ #
+-PLUGIN_LIBS="-L../../epan -lethereal $GLIB_LIBS"
++PLUGIN_LIBS="-L../../epan -lethereal -liconv $GLIB_LIBS"
+
+
+ #
diff --git a/net/wireshark/files/patch-wiretap_configure b/net/wireshark/files/patch-wiretap_configure
new file mode 100644
index 000000000000..420db3bf111d
--- /dev/null
+++ b/net/wireshark/files/patch-wiretap_configure
@@ -0,0 +1,20 @@
+--- wiretap/configure.orig Sat May 7 21:04:37 2005
++++ wiretap/configure Sat May 7 21:05:31 2005
+@@ -20092,7 +20092,7 @@
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GLIB_CFLAGS"
+- LIBS="$GLIB_LIBS $LIBS"
++ LIBS="$GLIB_LIBS -liconv $LIBS"
+ rm -f conf.glibtest
+ if test "$cross_compiling" = yes; then
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
+@@ -20206,7 +20206,7 @@
+ if test "x$no_glib" = x ; then
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+- CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS $GLIB_LIBS"
++ CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS -liconv $GLIB_LIBS"
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6