Procházet zdrojové kódy

unfortunately hack the japanese language variable to keep the kanji character set from being falsely detected on a european character set system

Michael Schloh von Bennewitz před 22 roky
rodič
revize
1775afcdfc
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5 1
      w3m/w3m.spec

+ 5 - 1
w3m/w3m.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      BSD
 Version:      0.4.2
-Release:      20030926
+Release:      20040110
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/sourceforge/w3m/w3m-%{version}.tar.gz
@@ -57,6 +57,10 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %{l_shtool} subst \
+        -e 's;^\(#define JP_CHARSET\);/*\1*/;g' \
+        fm.h \
+        regex.c
 
 %build
     CC="%{l_cc}" \