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

     
    3636                tetex-texmf-3.0po.tar.gz:tetex \
    3737                ${distname}${extract.suffix}:ptetex3 \
    3838                cmap-gs863.tar.gz:cmap
    39 patchfiles      patch-7font-search.sh.diff patch-8test.sh.diff patch-common.sh.diff
     39patchfiles      patch-2extract-src.sh.diff \
     40                patch-7font-search.sh.diff \
     41                patch-8test.sh.diff \
     42                patch-common.sh.diff
    4043checksums       tetex-src-3.0.tar.gz md5 944a4641e79e61043fdaf8f38ecbb4b3 \
    4144                                     sha1 7637789f7f4929694aed1b89820f5bad4753e8fc \
    4245                                     rmd160 15a139f5f36993e4ed3583260e175cfb13ce7bcc \
     
    8083    system "cd ${worksrcpath} && gzip -dc ${distpath}/cmap-gs863.tar.gz | tar --no-same-owner -xf -"
    8184}
    8285
     86post-patch {
     87    eval copy [glob ${filespath}/archive/*] ${worksrcpath}/archive/
     88}
     89
    8390configure.args  --without-texi2html \
    8491                --without-texinfo \
    8592                --with-system-gd \