Explorar el Código

drop localcharset to avoid conflicts with iconv which defines the same routine

Michael van Elst hace 23 años
padre
commit
25c883ea46
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      gettext/gettext.spec

+ 5 - 1
gettext/gettext.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        Converter
 License:      GPL
 Version:      0.12.1
-Release:      20030528
+Release:      20030624
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
@@ -51,6 +51,10 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    #   remove part that conflicts with libiconv
+    %{l_shtool} subst \
+        -e '/localcharset.\$lo/d' \
+        gettext-runtime/intl/Makefile.in
 
 %build
     CC="%{l_cc}" \