diff options
| author | Francesco Colista <francesco.colista@gmail.com> | 2011-03-25 18:19:56 +0000 |
|---|---|---|
| committer | Francesco Colista <francesco.colista@gmail.com> | 2011-03-25 18:19:56 +0000 |
| commit | c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6 (patch) | |
| tree | 757a9482f91b80bc2551f1d794a052b8f901569e /testing/znc/libiconv.patch | |
| parent | 372b345f3b0740be075c4fa41c4bf31540132521 (diff) | |
| parent | 2d2e02b94b10ee5b4c2afeb69667015f1fc9015f (diff) | |
| download | aports-c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6.tar.bz2 aports-c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6.tar.xz | |
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing/znc/libiconv.patch')
| -rw-r--r-- | testing/znc/libiconv.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/znc/libiconv.patch b/testing/znc/libiconv.patch new file mode 100644 index 0000000000..d986e2f9d1 --- /dev/null +++ b/testing/znc/libiconv.patch @@ -0,0 +1,16 @@ +--- ./configure.in.orig ++++ ./configure.in +@@ -366,7 +366,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]) |
