[arch-commits] Commit in transfig/trunk (ChangeLog PKGBUILD remove-stderr-msg.patch)

Eric Bélanger eric at archlinux.org
Sat Mar 21 19:01:27 UTC 2009


    Date: Saturday, March 21, 2009 @ 15:01:27
  Author: eric
Revision: 30755

upgpkg: transfig 3.2.5-2
    Removed uneeded stderr message (close FS#13825)

Added:
  transfig/trunk/remove-stderr-msg.patch
Modified:
  transfig/trunk/ChangeLog
  transfig/trunk/PKGBUILD

-------------------------+
 ChangeLog               |    5 +++++
 PKGBUILD                |   11 +++++++----
 remove-stderr-msg.patch |   20 ++++++++++++++++++++
 3 files changed, 32 insertions(+), 4 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2009-03-21 18:47:15 UTC (rev 30754)
+++ ChangeLog	2009-03-21 19:01:27 UTC (rev 30755)
@@ -1,3 +1,8 @@
+2009-03-21  Eric Belanger  <eric at archlinux.org>
+
+	* transfig 3.2.5-2
+	* Removed uneeded stderr message (close FS#13825)
+
 2008-12-14  Eric Belanger  <eric at archlinux.org>
 
 	* transfig 3.2.5-1

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-21 18:47:15 UTC (rev 30754)
+++ PKGBUILD	2009-03-21 19:01:27 UTC (rev 30755)
@@ -4,19 +4,22 @@
 
 pkgname=transfig
 pkgver=3.2.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Format conversion utility that can be used with xfig"
 arch=('i686' 'x86_64')
 url="http://www.xfig.org"
 license=('custom')
 depends=('libpng' 'libxpm')
 makedepends=('imake')
-source=(http://downloads.sourceforge.net/mcj/${pkgname}.${pkgver}.tar.gz LICENSE)
-md5sums=('3b2cffdd25529ae5877e305f29aae6d1' 'a0b2ea903821c46dbc77afefc06d1aa4')
-sha1sums=('2657c104d0099dcb4565a8762a9543310e55e767' 'b8b712871615308b8b6add92f86d218437d652f2')
+source=(http://downloads.sourceforge.net/mcj/${pkgname}.${pkgver}.tar.gz LICENSE remove-stderr-msg.patch)
+md5sums=('3b2cffdd25529ae5877e305f29aae6d1' 'a0b2ea903821c46dbc77afefc06d1aa4'\
+         '38f8c8701191c2b54fc9f3a3baee8ee2')
+sha1sums=('2657c104d0099dcb4565a8762a9543310e55e767' 'b8b712871615308b8b6add92f86d218437d652f2'\
+          '1c35e72455fe899a7a232d3c2a5ff98f33973be6')
 
 build() {
   cd ${srcdir}/${pkgname}.${pkgver}
+  patch -p1 < ../remove-stderr-msg.patch || return 1
   sed -i 's/XCOMM USELATEX2E = -DLATEX2E/USELATEX2E = -DLATEX2E/' transfig/Imakefile || return 1
   sed -i 's/XCOMM USEINLINE = -DUSE_INLINE/USEINLINE = -DUSE_INLINE/' fig2dev/Imakefile || return 1
 

Added: remove-stderr-msg.patch
===================================================================
--- remove-stderr-msg.patch	                        (rev 0)
+++ remove-stderr-msg.patch	2009-03-21 19:01:27 UTC (rev 30755)
@@ -0,0 +1,20 @@
+--- old/fig2dev/dev/genpstex.c	2005-12-19 02:57:40.000000000 +0100
++++ new/fig2dev/dev/genpstex.c	2009-03-16 16:18:06.000000000 +0100
+@@ -85,7 +85,7 @@
+ F_compound	*objects;
+ {
+ 	/* Put PostScript Image if any*/
+-fprintf(stderr,"here pstex_file[0] = %d\n",pstex_file[0]);
++/*fprintf(stderr,"here pstex_file[0] = %d\n",pstex_file[0]);*/
+         if (pstex_file[0] != '\0') {
+ 		fprintf(tfp, "\\begin{picture}(0,0)%%\n");
+ /* newer includegraphics directive suggested by Stephen Harker 1/13/99 */
+@@ -98,7 +98,7 @@
+ #else
+ 		fprintf(tfp, "\\special{psfile=%s}%%\n",pstex_file);
+ #endif
+-fprintf(stderr,"end picture\n");
++/*fprintf(stderr,"end picture\n");*/
+ 		fprintf(tfp, "\\end{picture}%%\n");
+ 	}
+         genlatex_start(objects);




More information about the arch-commits mailing list