[arch-commits] Commit in texlive-bin/trunk (4 files)

François Charette francois at archlinux.org
Thu Jul 23 12:48:19 UTC 2009


    Date: Thursday, July 23, 2009 @ 08:48:18
  Author: francois
Revision: 47170

update to TeXLive 2009 (testing); clean old patches

Modified:
  texlive-bin/trunk/PKGBUILD
Deleted:
  texlive-bin/trunk/texlive-gcc44.patch
  texlive-bin/trunk/texlive-glibc-210.patch
  texlive-bin/trunk/texlive-lua.patch

-------------------------+
 PKGBUILD                |  159 +++++++++++++-------------
 texlive-gcc44.patch     |   10 -
 texlive-glibc-210.patch |  279 ----------------------------------------------
 texlive-lua.patch       |   18 --
 4 files changed, 82 insertions(+), 384 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-23 12:46:43 UTC (rev 47169)
+++ PKGBUILD	2009-07-23 12:48:18 UTC (rev 47170)
@@ -1,24 +1,19 @@
-# $Id$
 # Maintainer: francois at archlinux dot org
 
 pkgname=texlive-bin
-pkgver=2008
-pkgrel=5
+pkgver=2009
+pkgrel=pre5
 pkgdesc="TeX Live binaries"
 license=('GPL')
 arch=('i686' 'x86_64')
-depends=('readline>=6.0.00' 'gcc-libs' 't1lib' 'gd' 'libsigsegv')
+depends=('gcc-libs' 't1lib' 'gd' 'libsigsegv')
 optdepends=('psutils' 't1utils' 'perl')
-makedepends=('clisp' 'ffcall' 'lzma-utils')
-conflicts=('texlive-omega')
+makedepends=('clisp' 'ffcall')
+##conflicts=('asymptote')
+##provides=('asymptote=1.80')
 options=('!makeflags' '!libtool')
 url='http://tug.org/texlive/'
-source=('texmf.cnf' 'ftp://tug.org/texlive/historic/2008/texlive-20080816-source.tar.lzma' \
-	'ftp://ftp.archlinux.org/other/texlive/texlive-bin-2008-texmf.tar.lzma' \
-        'texlive-gcc44.patch' 'texlive-glibc-210.patch' 'texlive-lua.patch')
-md5sums=('351a6136e4faafe7fba123a07aef7787' '554287c3e458da776edd684506048d45'\
-         'bac8aee05595fb80fcae8e864ba063f6' '51a7d90c3dda9bde3d11f443775fa7f4'\
-         'fb839a23dc81889c0796fe6ea5817b4d' 'bf65fb9d3d644ae7a452d7a388d08f37')
+source=('texmf.cnf' 'source-20090723.tar.xz' 'texmf-20090723.tar.xz')
 backup=(usr/share/texmf/web2c/texmf.cnf \
 	usr/share/texmf-config/web2c/mktex.cnf \
 	usr/share/texmf-config/web2c/updmap.cfg \
@@ -30,103 +25,115 @@
 	usr/share/texmf-config/dvipdfm/dvipdfmx.cfg \
 	usr/share/texmf-config/dvipdfm/config/config \
 	usr/share/texmf-config/xdvi/XDvi)
+md5sums=('351a6136e4faafe7fba123a07aef7787'
+         '6f39667d832949017c1273dcd4b9606d'
+         'a84922fc1947a5c581c10eb4b75358f3')
 build() {
-   cd $srcdir
    if [ "${CARCH}" = "x86_64" ]; then
      export CFLAGS="${CFLAGS} -fPIC"
      export CXXFLAGS="${CXXFLAGS} -fPIC"
    fi
-   lzma --force -dc texlive-bin-2008-texmf.tar.lzma | tar xf - || return 1
+
+   cd $srcdir
+
    install -m755 -d $pkgdir/usr/share || return 1
-   find texmf -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \; || return 1
-   find texmf -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \; || return 1
-   lzma --force -dc texlive-20080816-source.tar.lzma | tar xf - || return 1
-   patch -p0 < texlive-gcc44.patch || return 1
-   patch -p0 < texlive-glibc-210.patch || return 1
-   patch -p0 < texlive-lua.patch || return 1
-   cd texlive-20080816-source || return 1
-   # This trick is for avoiding exiting when latex is not available, 
-   # since we do not build the xindy documentation anyway:
-   sed -i~ 's|latex="no"|latex="yes"|' utils/xindy/configure || return 1
+   cp -r texmf $pkgdir/usr/share/ || return 1
+   ## TODO  
+   ## same problem with latest german patterns!
+   # currently latvian hyphenation is missing:
+   # FIXME reenable when texlive-core 2009 is available
+   ## sed -i 's|^\addlanguage{latvian}|%%\addlanguage{latvian}|' $pkgdir/usr/share/texmf/tex/generic/config/language.def
+   ## sed -i 's|^latvian|%%latvian|' $pkgdir/usr/share/texmf/tex/generic/config/language.dat
+
+   cd source
    ## prevent compiling Xdvi with libXp
-   sed -i~ 's|-lXp -Xext|-lXext|' texk/xdvik/configure
+   sed -i~ 's|-lXp ||' texk/xdvik/configure
    test ! -d Work && mkdir Work
    cd Work
-   echo "--> Here we go with configure..."
+   echo "--> Initial configuration..."
    ../configure --prefix=/usr \
-	--datarootdir=$pkgdir/usr/share \
-   	--datadir=$pkgdir/usr/share \
-	--disable-multiplatform --without-dialog \
-        --without-psutils --without-texinfo --without-t1utils \
-	--with-system-zlib --with-system-pnglib \
-	--with-system-ncurses --with-system-t1lib \
-	--with-system-gd --with-fontconfig=/usr/lib \
-	--with-system-freetype2 --with-freetype2-libdir=/usr/lib \
-	--with-freetype2-include=/usr/include/freetype2 \
-	--with-xdvi-x-toolkit=xaw --with-cxx-runtime-hack \
-        --without-omega --without-aleph --without-graphite || return 1
-   ### fixes for xindy 
-   find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" '{}' \; || return 1
-   ### we skip that, coz it requires an almost full texlive installation for compilation of the documentation:
-   sed -i -e "s|^MAKE_RULES = make-rules|MAKE_RULES = ''|" -e "s|^DOCS = doc|DOCS = ''|" utils/xindy/Makefile || return 1
+    --datarootdir=$pkgdir/usr/share \
+    --datadir=$pkgdir/usr/share \
+    --mandir=$pkgdir/usr/share/man \
+    --disable-native-texlive-build \
+    --with-tex-banner="TeX Live 2009/Arch Linux" \
+    --disable-multiplatform --disable-dialog \
+    --disable-psutils --disable-t1utils --disable-xz \
+    --with-system-zlib --with-system-pnglib --with-system-ncurses \
+    --with-system-t1lib --with-system-gd --with-system-xpdf \
+    --with-system-freetype2 --with-freetype2-libdir=/usr/lib \
+    --with-freetype2-include=/usr/include/freetype2 \
+    --with-xdvi-x-toolkit=xaw --disable-dump-share  \
+    --disable-aleph --without-graphite \
+    --enable-xindy || return 1
    #############################################################
+   #############################################################
    echo "-------------------------------------------------------"
-   echo "--> ... and now we build the whole beast"
+   echo "--> Building the whole beast ..."
    make || return 1
    #############################################################
+
+   ### fixes for xindy
+   find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgname/usr|" -e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" -e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" -e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \; || return 1
    echo "-------------------------------------------------------"
-   echo "--> ... proceeding with make install"
+   echo "--> Proceeding with make install ..."
    install -d -m755 $pkgdir/usr/share/man/man5
-   make prefix=$pkgdir/usr texmf=$startdir/pkg/usr/share/texmf install || return 1
+   make prefix=$pkgdir/usr texmf=$pkgdir/usr/share/texmf install || return 1
    echo "-------------------------------------------------------"
-   echo "--> ...fixing wrong symlinks to scripts under /usr/bin/"
+   echo "--> Fixing symlinks for scripts ..."
    for f in $pkgdir/usr/bin/* ; do
 	   if [ -L $f ]; then
 		   target=`ls -l "$f" | sed 's/^.\+ -> //'`
 		   if [[ "$target" == ..* ]]; then
-			   newtarget=`echo $target | sed -e 's|../|/usr/share/|'`
+			   newtarget=`echo $target | sed -e 's#../#/usr/share/#'`
 			   rm -f $f
 			   ln -s $newtarget $f
-			   test -f $pkgdir/$newtarget && chmod a+x $startdir/pkg/$newtarget
+			   test -f $pkgdir/$newtarget && chmod a+x $pkgdir/$newtarget
 		   fi
 	   fi
    done
+
+   ## create symlinks for formats 
+   echo "--> Create symlinks for TeX formats ..."
+   $pkgdir/usr/bin/texlinks -f $pkgdir/usr/share/texmf/web2c/fmtutil.cnf $pkgdir/usr/bin/ || return 1
+   #############################################################
    
- #############################################################
- ## CLEAN UP... 
-   echo "Cleaning up"
+   ## CLEAN UP... 
+   echo "--> ...Cleaning up installation"
    # remove tlmgr from PATH
    rm -f $pkgdir/usr/bin/tlmgr
+   # spurious symlink
+   rm -f $pkgdir/usr/bin/man
+   
+   # the mandirs contain Makefiles ...
+   find $pkgdir -name Makefile -delete
 
-   for d in $pkgdir/usr/texmf/scripts/*; do
-	   dname=`basename $d`
-	   test ! -d $pkgdir/usr/share/texmf/scripts/$dname && mv $d $startdir/pkg/usr/share/texmf/scripts/
-   done
+   rm -f $pkgdir/usr/share/texmf/scripts/texlive/*-{win32,w32}*
+   rm -rf $pkgdir/usr/share/texmf/scripts/tlgs
+   rm -rf $pkgdir/usr/share/texmf/asymptote
+
+   # make install targets are somewhat chaotic :)
+   mv -n  $pkgdir/usr/texmf/* $pkgdir/usr/share/texmf/
+   mv -n  $pkgdir/usr/texmf-dist/* $pkgdir/usr/share/texmf/
    rm -rf $pkgdir/usr/{texmf,texmf-dist}
+   rmdir  $pkgdir/usr/share/lcdf-typetools
+
    # most man files went to two different places:
    for i in 1 5; do
 	   # remove pdf versions of manpages:
-	   rm -f $pkgdir/usr/share/texmf/man/man$i/*.pdf
-	   for f in $pkgdir/usr/share/texmf/doc/man/man$i/*; do
-		   bf=`basename $f`
-		   if [[ ! -f $pkgdir/usr/share/man/man$i/$bf ]]; then
-			   mv -f $f $pkgdir/usr/share/man/man$i/
-		   fi
-	   done
+     rm -f $pkgdir/usr/share/texmf/doc/man/man$i/*.pdf
+     # move to 
+     mv -n $pkgdir/usr/share/texmf/doc/man/man$i/*.$i $pkgdir/usr/share/man/man$i/
    done
-   # remove extra documentation:
-   rm -rf $pkgdir/usr/share/texmf/doc/
+   # remove all doc (essentially xindy and duplicated man files)
+   rm -rf $pkgdir/usr/share/texmf/doc
    # those files are also in base, but "make install" duplicated them here:
    rm -rf $pkgdir/usr/share/texmf/bibtex/
-   #TODO leave info files ?
-   rm -rf $pkgdir/usr/share/{info,doc}
-   # remove files that belong to texinfo
-   for f in info infokey install-info makeinfo texi2dvi pdftexi2dvi texi2pdf texindex; do
+   # remove files that belong to asymptote
+   rm -rf $pkgdir/usr/share/texmf/tex/latex/asymptote
+   for f in asy xasy; do
 	   rm -f $pkgdir/usr/share/man/man1/$f.1
    done
-   for f in texinfo info ; do
-	   rm -f $pkgdir/usr/share/man/man5/$f.5
-   done
    # remove files that belong to t1utils
    for f in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
 	   rm -f $pkgdir/usr/share/man/man1/$f.1
@@ -136,14 +143,14 @@
 	   rm -f $pkgdir/usr/share/man/man1/$f.1
    done
    # remove man files that belong to omega/aleph
-   for f in omega lambda odvicopy odvips odvitype ofm2opl opl2ofm otp2ocp outocp ovf2ovp ovp2ovf oxdvi ; do
+   for f in lambda odvicopy odvitype ofm2opl opl2ofm otp2ocp outocp ovf2ovp ovp2ovf ; do
 	   rm -f $pkgdir/usr/share/man/man1/$f.1
    done
    # replace upstream texmf.cnf with ours
    rm -f $pkgdir/usr/share/texmf/web2c/texmf.cnf
    install -m644 $srcdir/texmf.cnf $pkgdir/usr/share/texmf/web2c/texmf.cnf
-   ## remove omega and aleph from fmtutil.cnf
-   sed -i -e '/omega/d' -e '/aleph/d' $pkgdir/usr/share/texmf/web2c/fmtutil.cnf || return 1
+   ## remove aleph from fmtutil.cnf
+   sed -i -e '/aleph/d' $pkgdir/usr/share/texmf/web2c/fmtutil.cnf || return 1
    ###################################################################
    # copy config files to texmf-config tree
    install -d -m755 $pkgdir/usr/share/texmf-config/web2c
@@ -173,11 +180,9 @@
    # clean updmap.cfg
    sed -i '/^\(Map\|MixedMap\)/d' $pkgdir/usr/share/texmf-config/web2c/updmap.cfg
    sed -i '/^#! \(Map\|MixedMap\)/d' $pkgdir/usr/share/texmf-config/web2c/updmap.cfg
-   # fix hard-coded paths in /usr/bin/xindy
-   sed -i "s|'/.\+/pkg/usr|'/usr|" $pkgdir/usr/bin/xindy
+   # fix hard-coded paths in xindy.pl
+   sed -i "s|'/.\+/pkg/usr|'/usr|" $pkgdir/usr/share/texmf/scripts/xindy/xindy.pl
    # move xindy modules to /usr/share/xindy
    rm -rf $pkgdir/usr/share/xindy
    mv $pkgdir/usr/share/texmf/xindy $pkgdir/usr/share/
 }
-
-

Deleted: texlive-gcc44.patch
===================================================================
--- texlive-gcc44.patch	2009-07-23 12:46:43 UTC (rev 47169)
+++ texlive-gcc44.patch	2009-07-23 12:48:18 UTC (rev 47170)
@@ -1,10 +0,0 @@
---- texlive-20080816-source/libs/teckit/source/Compiler.cpp~	2008-04-25 10:56:15.000000000 -0400
-+++ texlive-20080816-source/libs/teckit/source/Compiler.cpp	2009-06-19 19:43:55.000000000 -0400
-@@ -33,6 +33,7 @@
- #include <iomanip>
- #include <algorithm>
- #include <cstring>
-+#include <cstdio>
- 
- #include "zlib.h"
- 

Deleted: texlive-glibc-210.patch
===================================================================
--- texlive-glibc-210.patch	2009-07-23 12:46:43 UTC (rev 47169)
+++ texlive-glibc-210.patch	2009-07-23 12:48:18 UTC (rev 47170)
@@ -1,279 +0,0 @@
-diff -upr texlive-20080816-source.orig/texk/afm2pl/afm2pl.c texlive-20080816-source/texk/afm2pl/afm2pl.c
---- texlive-20080816-source.orig/texk/afm2pl/afm2pl.c	2006-01-18 01:41:51.000000000 +0400
-+++ texlive-20080816-source/texk/afm2pl/afm2pl.c	2009-05-19 23:44:11.624309901 +0500
-@@ -345,7 +345,7 @@ P2C (register int, x, register int, y)
- 
- /* read a line from infile into buffer and obuffer */
- int
--  getline
-+  _getline
- P1H (void)
- {
-   register char *p;
-@@ -781,7 +781,7 @@ P1H (void)
-     afmencoding->vec[i] = ".notdef";
-   afmencoding->name = "Unspecified";
- 
--  while (getline ()) {
-+  while (_getline ()) {
-     switch (interest (paramstring ())) {
-     case FontName:
-       fontname = paramnewstring ();
-@@ -963,7 +963,7 @@ gettoken ()
- 
-   while (1) {
-     while (param == 0 || *param == 0) {
--      if (getline () == 0)
-+      if (_getline () == 0)
-         error ("! premature end in encoding file");
-     }
-     if (param[0] == '%') {
-@@ -1540,7 +1540,7 @@ extraligkerninfo ()
-     encfilename =
-       openin (encfilename, kpse_enc_format, ".enc");
-     for (lig_it = 0; lig_it < 2; lig_it++) {
--      while (getline ()) {
-+      while (_getline ()) {
-         /* search for (ligkern) comment in line */
-         for (p = buffer; *p; p++)
-           if (*p == '%') {
-@@ -1576,7 +1576,7 @@ extraligkerninfo ()
-     for (i = 0; i < ligfilenames->n; i++) {
-       ligfilename = openin (ligfilenames->names[i],
-                             kpse_lig_format, ".lig");
--      while (getline ())
-+      while (_getline ())
-         checkligkern (buffer, 0);       /* 2nd param 0: lig file */
-       fclose (infile);
-     }
-@@ -1607,7 +1607,7 @@ extraligkerninfo ()
-   for (i = 0; i < Ligfilenames->n; i++) {
-     ligfilename = openin (Ligfilenames->names[i],
-                           kpse_lig_format, ".lig");
--    while (getline ())
-+    while (_getline ())
-       checkligkern (buffer, 0);       /* 2nd param 0: lig file */
-     fclose (infile);
-   }
-diff -upr texlive-20080816-source.orig/texk/dvipsk/afm2tfm.c texlive-20080816-source/texk/dvipsk/afm2tfm.c
---- texlive-20080816-source.orig/texk/dvipsk/afm2tfm.c	2008-07-10 04:40:36.000000000 +0500
-+++ texlive-20080816-source/texk/dvipsk/afm2tfm.c	2009-05-19 23:44:11.624309901 +0500
-@@ -260,7 +260,7 @@ transform P2C(register int, x, register 
- }
- 
- int
--getline P1H(void) {
-+_getline P1H(void) {
-    register char *p ;
-    register int c ;
- 
-@@ -615,7 +615,7 @@ readadobe P1H(void) {
-    ai = newchar() ;
-    ai->adobenum = -1 ;
-    ai->adobename = "||" ; /* boundary character name */
--   while (getline()) {
-+   while (_getline()) {
-       switch(interest(paramstring())) {
- case FontName:
-          fontname = paramnewstring() ;
-@@ -1891,7 +1891,7 @@ char *gettoken() {
- 
-    while (1) {
-       while (param == 0 || *param == 0) {
--         if (getline() == 0)
-+         if (_getline() == 0)
-             error("! premature end in encoding file") ;
-          for (p=buffer; *p; p++)
-             if (*p == '%') {
-@@ -1982,7 +1982,7 @@ struct encoding *readencoding P1C(char *
-       p = gettoken() ;
-       if (strcmp(p, "]"))
-          error("! token 258 in encoding must be make-array (])") ;
--      while (getline()) {
-+      while (_getline()) {
-          for (p=buffer; *p; p++)
-             if (*p == '%') {
-                if (ignoreligkern == 0)
-Only in texlive-20080816-source/texk/dvipsk: afm2tfm.c.orig
-diff -upr texlive-20080816-source.orig/texk/web2c/cpascal.h texlive-20080816-source/texk/web2c/cpascal.h
---- texlive-20080816-source.orig/texk/web2c/cpascal.h	2008-05-25 04:56:44.000000000 +0500
-+++ texlive-20080816-source/texk/web2c/cpascal.h	2009-05-19 23:44:11.624309901 +0500
-@@ -14,6 +14,7 @@
- 
- /* We must include this first, to resolve many C issues.  */
- #include "config.h"
-+#define getline _getline
- 
- /* We only use getopt in the applications, not in web2c itself.  */
- #include <kpathsea/getopt.h>
-diff -upr texlive-20080816-source.orig/texk/web2c/mpware/mpto.c texlive-20080816-source/texk/web2c/mpware/mpto.c
---- texlive-20080816-source.orig/texk/web2c/mpware/mpto.c	2008-04-11 21:33:03.000000000 +0500
-+++ texlive-20080816-source/texk/web2c/mpware/mpto.c	2009-05-19 23:44:45.744525169 +0500
-@@ -97,7 +97,7 @@ usage(char *progn)
- }
- 
- char *
--getline(void)
-+_getline(void)
- {				/* returns NULL on EOF or error, otherwise buf */
-     int c;
-     unsigned loc = 0;
-@@ -302,7 +302,7 @@ copytex(void)
-     char *res = NULL;
-     do {
- 	if (*aa == 0)
--	  if ((aa = getline()) == NULL)
-+	  if ((aa = _getline()) == NULL)
- 	    err("btex section does not end");
- 
- 	if (getbta(aa) && *tt == 'e') {
-@@ -483,7 +483,7 @@ Current maintainer: Taco Hoekwater.\n");
- 	postverb = troff_postverb;
-     }
-     printf("%s", predoc);
--    while (getline() != NULL)
-+    while (_getline() != NULL)
- 	do_line();
-     printf("%s", postdoc);
-     exit(0);
---- texlive-20080816-source/texk/dvi2tty/dvistuff.c~	2006-01-17 16:41:51.000000000 -0500
-+++ texlive-20080816-source/texk/dvi2tty/dvistuff.c	2009-06-20 17:13:57.000000000 -0400
-@@ -123,7 +123,7 @@
- void            ruleaux         P3H(long, long, char);
- long            horizontalmove  P1H(long);
- int             skipnops        P1H(void);
--linetype    *   getline         P1H(void);
-+linetype    *   _getline         P1H(void);
- linetype    *   findline        P1H(void);
- unsigned long   num             P1H(int);
- long            snum            P1H(int);
-@@ -149,7 +149,7 @@
- void            ruleaux         (long, long, char);
- long            horizontalmove  (long);
- int             skipnops        (void);
--linetype    *   getline         (void);
-+linetype    *   _getline         (void);
- linetype    *   findline        (void);
- unsigned long   num             (int);
- long            snum            (int);
-@@ -174,7 +174,7 @@
- void            ruleaux         ();
- long            horizontalmove  ();
- int             skipnops        ();
--linetype    *   getline         ();
-+linetype    *   _getline         ();
- linetype    *   findline        ();
- unsigned long   num             ();
- long            snum            ();
-@@ -316,7 +316,7 @@
-     h = 0L;  v = 0L;                        /* initialize coordinates   */
-     x = 0L;  w = 0L;  y = 0L;  z = 0L;      /* initialize amounts       */
-     sptr = 0;                               /* initialize stack         */
--    currentline = getline();                /* initialize list of lines */
-+    currentline = _getline();                /* initialize list of lines */
-     currentline->vv = 0L;
-     firstline   = currentline;
-     lastline    = currentline;
-@@ -671,7 +671,7 @@
- 
- /*----------------------------------------------------------------------------*/
- 
--linetype *getline()             /* returns an initialized line-object */
-+linetype *_getline()             /* returns an initialized line-object */
- {
-     register int  i;
-     register linetype *temp;
-@@ -686,7 +686,7 @@
-     temp->text[i] = '\0';
-     return temp;
- 
--} /* getline */
-+} /* _getline */
- 
- /*----------------------------------------------------------------------------*/
- 
-@@ -697,7 +697,7 @@
- 
-     if (v <= firstline->vv) {                      /* above first line */
-         if (firstline->vv - v > VERTICALEPSILON) {
--            temp = getline();
-+            temp = _getline();
-             temp->next = firstline;
-             firstline->prev = temp;
-             temp->vv = v;
-@@ -708,7 +708,7 @@
- 
-     if (v >= lastline->vv) {                       /* below last line */
-         if (v - lastline->vv > VERTICALEPSILON) {
--            temp = getline();
-+            temp = _getline();
-             temp->prev = lastline;
-             lastline->next = temp;
-             temp->vv = v;
-@@ -732,7 +732,7 @@
-     }
- 
-     /* no line fits suitable, generate a new one */
--    currentline = getline();
-+    currentline = _getline();
-     currentline->next = temp->next;
-     currentline->prev = temp;
-     temp->next->prev = currentline;
---- texlive-20080816-source/texk/ttf2pk/newobj.c~	2006-01-17 16:41:51.000000000 -0500
-+++ texlive-20080816-source/texk/ttf2pk/newobj.c	2009-06-20 17:55:23.000000000 -0400
-@@ -128,13 +128,13 @@
- 
- 
- /*
-- *   getline() is a wrapper function for get_line().  It returns `False' in
-+ *   _getline() is a wrapper function for get_line().  It returns `False' in
-  *   case of error and expects a pointer to a buffer to store the current
-  *   line.   Additionally, the final newline character is stripped.
-  */
- 
- Boolean
--getline(char **bufferp, FILE *f)
-+_getline(char **bufferp, FILE *f)
- {
-   size_t l;
- 
---- texlive-20080816-source/texk/ttf2pk/newobj.h~	2006-01-17 16:41:51.000000000 -0500
-+++ texlive-20080816-source/texk/ttf2pk/newobj.h	2009-06-20 17:53:54.000000000 -0400
-@@ -26,7 +26,7 @@
- void *myrealloc(void *oldp, size_t len);
- 
- char *get_line(FILE *f);
--Boolean getline(char **bufferp, FILE *f);
-+Boolean _getline(char **bufferp, FILE *f);
- char *newstring(char *s);
- 
- ttfinfo *newchar(Font *fnt);
---- texlive-20080816-source/texk/ttf2pk/parse.c~	2006-01-17 16:41:51.000000000 -0500
-+++ texlive-20080816-source/texk/ttf2pk/parse.c	2009-06-20 17:55:52.000000000 -0400
-@@ -63,7 +63,7 @@
-       if (*bufferp)
-         free(*bufferp);
- 
--      if (getline(bufferp, f) == False)
-+      if (_getline(bufferp, f) == False)
-         oops("Premature end in encoding file.");
- 
-       curp = *bufferp;
-@@ -187,7 +187,7 @@
-         "Token 258 in encoding must be make-array (]).");
-     free(p);
- 
--    while (getline(&buffer, enc_file))
-+    while (_getline(&buffer, enc_file))
-     {
-       for (p = buffer; *p; p++)
-         if (*p == '%')
-@@ -246,7 +246,7 @@
-   if (replacement_file == NULL)
-     oops("Cannot open replacement file `%s'.", real_replacement_name);
- 
--  while (getline(&buffer, replacement_file))
-+  while (_getline(&buffer, replacement_file))
-   {
-     for (p = buffer; *p; p++)
-       if (*p == '%')

Deleted: texlive-lua.patch
===================================================================
--- texlive-lua.patch	2009-07-23 12:46:43 UTC (rev 47169)
+++ texlive-lua.patch	2009-07-23 12:48:18 UTC (rev 47170)
@@ -1,18 +0,0 @@
---- texlive-20080816-source/libs/lua51/ldebug.c~	2009-06-19 23:04:43.000000000 -0400
-+++ texlive-20080816-source/libs/lua51/ldebug.c	2009-06-20 15:46:30.000000000 -0400
-@@ -4,6 +4,7 @@
- ** See Copyright Notice in lua.h
- */
- 
-+#include <stdio.h>
- #include <stdarg.h>
- #include <stddef.h>
- #include <string.h>
-@@ -28,7 +28,6 @@
- #include "ltm.h"
- #include "lvm.h"
- 
--#include <stdio.h>
- 
- static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name);
- 




More information about the arch-commits mailing list