diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-05-08 02:04:18 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-05-08 02:04:18 +0000 |
commit | bcef4c8b0b10ea75307732210b5dd0a338c39d4a (patch) | |
tree | aae15ff90ae57422e805ff7176f9f64ecb59f081 /net | |
parent | Use a LIB_DEPENDS to bring in the libsoup dependency. This will be changed (diff) |
Fix the build with Glib/GTK+ 1.2.
Notes
Notes:
svn path=/head/; revision=134823
Diffstat (limited to 'net')
-rw-r--r-- | net/ethereal/files/patch-configure | 69 | ||||
-rw-r--r-- | net/ethereal/files/patch-wiretap_configure | 20 | ||||
-rw-r--r-- | net/wireshark/files/patch-configure | 69 | ||||
-rw-r--r-- | net/wireshark/files/patch-wiretap_configure | 20 |
4 files changed, 170 insertions, 8 deletions
diff --git a/net/ethereal/files/patch-configure b/net/ethereal/files/patch-configure index 6962120d124c..87b2baa4bdda 100644 --- a/net/ethereal/files/patch-configure +++ b/net/ethereal/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/ethereal/files/patch-wiretap_configure b/net/ethereal/files/patch-wiretap_configure new file mode 100644 index 000000000000..420db3bf111d --- /dev/null +++ b/net/ethereal/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 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 |