aboutsummaryrefslogtreecommitdiffstats
path: root/main/znc/libiconv.patch
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-03-31 07:28:45 -0500
committerMatt Smith <mcs@darkregion.net>2011-03-31 07:28:45 -0500
commit01b2f5b66b1fdac7e42a2c2205661ff712365f18 (patch)
tree18a66d9548505d72b2077be10d507d4614b81ea5 /main/znc/libiconv.patch
parentbf17c7ead2d220d467c13420815aa19105e805ac (diff)
downloadaports-01b2f5b66b1fdac7e42a2c2205661ff712365f18.tar.bz2
aports-01b2f5b66b1fdac7e42a2c2205661ff712365f18.tar.xz
main/znc: moved from testing
Diffstat (limited to 'main/znc/libiconv.patch')
-rw-r--r--main/znc/libiconv.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/znc/libiconv.patch b/main/znc/libiconv.patch
new file mode 100644
index 0000000000..0af3a21048
--- /dev/null
+++ b/main/znc/libiconv.patch
@@ -0,0 +1,16 @@
+--- ./configure.ac.orig
++++ ./configure.ac
+@@ -419,7 +419,12 @@
+ if test x"$EXTRA" = "xyes"
+ then
+ AC_CHECK_FUNC( iconv, CHARSET=1 )
+- AC_CHECK_LIB( iconv, iconv_open, LIBICONV=-liconv ; CHARSET=1 )
++ dnl On some systems iconv is in a separate library, and may actually
++ dnl be named libiconv.
++ AC_CHECK_LIB( iconv, libiconv_open, LIBICONV=-liconv ; CHARSET=1 )
++ if test $ac_cv_lib_iconv_libiconv = no; then
++ AC_CHECK_LIB( iconv, iconv_open, LIBICONV=-liconv ; CHARSET=1 )
++ fi
+ if test "x$CHARSET" = "x1"
+ then
+ AC_MSG_CHECKING([whether iconv expects a const second argument])