Преглед изворни кода

fix building under latest FreeBSD 4.x

Ralf S. Engelschall пре 24 година
родитељ
комит
c6ed20e8af
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      tetex/tetex.spec

+ 2 - 1
tetex/tetex.spec

@@ -42,7 +42,7 @@ Distribution: OpenPKG [REL]
 Group:        Text
 License:      GPL
 Version:      %{V_src}
-Release:      20020601
+Release:      20020602
 
 #   list of sources
 Source0:      ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-%{V_src}.tar.gz
@@ -130,6 +130,7 @@ AutoReqProv:  no
 
     #   minor fixes to the teTeX sources
     %{l_shtool} subst -e "s;\|O_SYNC;;g" libs/libwww/HTMemLog.c
+    %{l_shtool} subst -e "s;strnstr;my_strnstr;g" libs/libwww/HTReader.c
 
 %build
     #   we cannot use %{l_make}, because teTeX dislikes absolute