Ticket #18254: pTeX-xdvik-tiger-test1.diff
File pTeX-xdvik-tiger-test1.diff, 3.0 KB (added by takanori@…, 16 years ago) |
---|
-
files/archive/xdvik-tiger-#18254.diff
1 --- tetex-src-3.0/texk/xdvik/configure.orig 2009-01-30 02:01:00.000000000 +0900 2 +++ tetex-src-3.0/texk/xdvik/configure 2009-01-30 02:05:56.000000000 +0900 3 @@ -4289,7 +4289,7 @@ 4 echo $ac_n "(cached) $ac_c" 1>&6 5 else 6 ac_save_LIBS="$LIBS" 7 -LIBS="-lt1 -lz -lm $LIBS" 8 +LIBS="-lt1 -lz -lc -lm $LIBS" 9 cat > conftest.$ac_ext <<EOF 10 #line 4295 "configure" 11 #include "confdefs.h" 12 @@ -4326,7 +4326,7 @@ 13 14 fi 15 16 - LIBS="-lt1 -lm $LIBS" 17 + LIBS="-lt1 -lc -lm $LIBS" 18 if test "$with_system_t1lib" = yes; then 19 echo $ac_n "checking whether installed T1 lib is >= v 5.0.0 ""... $ac_c" 1>&6 20 echo "configure:4333: checking whether installed T1 lib is >= v 5.0.0 " >&5 21 @@ -6313,7 +6313,7 @@ 22 echo $ac_n "(cached) $ac_c" 1>&6 23 else 24 ac_save_LIBS="$LIBS" 25 -LIBS="-lm $LIBS" 26 +LIBS="-lc -lm $LIBS" 27 cat > conftest.$ac_ext <<EOF 28 #line 6319 "configure" 29 #include "confdefs.h" 30 @@ -6343,7 +6343,7 @@ 31 #define $ac_tr_lib 1 32 EOF 33 34 - LIBS="-lm $LIBS" 35 + LIBS="-lc -lm $LIBS" 36 37 else 38 echo "$ac_t""no" 1>&6 -
files/patch-2extract-src.sh.diff
1 --- ./2extract-src.sh.orig 2008-06-16 13:50:47.000000000 +0900 2 +++ ./2extract-src.sh 2009-01-30 02:46:27.000000000 +0900 3 @@ -263,7 +263,10 @@ 4 5 6 ## check 7 -cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check) && exit 8 +if cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check); then 9 + cpatch archive/xdvik-tiger-#18254.diff 1 $SRC 10 + exit 11 +fi 12 cat <<EOF 13 14 $0: Some processes were performed improperly. -
Portfile
36 36 tetex-texmf-3.0po.tar.gz:tetex \ 37 37 ${distname}${extract.suffix}:ptetex3 \ 38 38 cmap-gs863.tar.gz:cmap 39 patchfiles patch-7font-search.sh.diff patch-8test.sh.diff patch-common.sh.diff 39 patchfiles patch-2extract-src.sh.diff \ 40 patch-7font-search.sh.diff \ 41 patch-8test.sh.diff \ 42 patch-common.sh.diff 40 43 checksums tetex-src-3.0.tar.gz md5 944a4641e79e61043fdaf8f38ecbb4b3 \ 41 44 sha1 7637789f7f4929694aed1b89820f5bad4753e8fc \ 42 45 rmd160 15a139f5f36993e4ed3583260e175cfb13ce7bcc \ … … 80 83 system "cd ${worksrcpath} && gzip -dc ${distpath}/cmap-gs863.tar.gz | tar --no-same-owner -xf -" 81 84 } 82 85 86 post-patch { 87 eval copy [glob ${filespath}/archive/*] ${worksrcpath}/archive/ 88 } 89 83 90 configure.args --without-texi2html \ 84 91 --without-texinfo \ 85 92 --with-system-gd \