ports/142139: [patch]: update of devel/lhs2TeX from the 1.14 version to the 1.15 version
Jacula Modyun
jacula at gmail.com
Tue Dec 29 17:20:02 UTC 2009
>Number: 142139
>Category: ports
>Synopsis: [patch]: update of devel/lhs2TeX from the 1.14 version to the 1.15 version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 29 17:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Jacula Modyun
>Release: FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD splork.wirewater.yow 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Oct 18 11:22:07 UTC 2008 root at splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386
>Description:
devel/lhs2TeX from the 1.14 version to the 1.15 version
>How-To-Repeat:
>Fix:
--- patch-lhs2TeX begins here ---
diff -uNr lhs2TeX.orig/Makefile lhs2TeX/Makefile
--- lhs2TeX.orig/Makefile 2009-11-08 19:46:46.000000000 +0000
+++ lhs2TeX/Makefile 2009-12-29 14:14:37.000000000 +0000
@@ -7,10 +7,10 @@
#
PORTNAME= lhs2tex
-PORTVERSION= 1.14
-PORTREVISION= 3
+PORTVERSION= 1.15
CATEGORIES= devel haskell
-MASTER_SITES= http://people.cs.uu.nl/andres/${PORTNAME}/
+MASTER_SITES= http://people.cs.uu.nl/andres/${PORTNAME}/ \
+ http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
MAINTAINER= haskell at FreeBSD.org
COMMENT= A preprocessor to generate LaTeX code from literate Haskell sources
diff -uNr lhs2TeX.orig/distinfo lhs2TeX/distinfo
--- lhs2TeX.orig/distinfo 2009-03-02 16:56:42.000000000 +0000
+++ lhs2TeX/distinfo 2009-12-29 14:07:11.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (lhs2tex-1.14.tar.gz) = 80f9cf57e9f8bbad0058eaad93be6f39
-SHA256 (lhs2tex-1.14.tar.gz) = 1667acce394a0d4852f8ad07fa85397e43873fd98a219db794e4773883288687
-SIZE (lhs2tex-1.14.tar.gz) = 581254
+MD5 (lhs2tex-1.15.tar.gz) = 13c886a829e71e895fa172c617f31bd0
+SHA256 (lhs2tex-1.15.tar.gz) = 77f25c1f22823587ceca6eead133a403540319a0ae3bf03a369b3e8c86baf124
+SIZE (lhs2tex-1.15.tar.gz) = 580361
diff -uNr lhs2TeX.orig/files/patch-FileNameUtils.lhs lhs2TeX/files/patch-FileNameUtils.lhs
--- lhs2TeX.orig/files/patch-FileNameUtils.lhs 2009-11-08 19:46:46.000000000 +0000
+++ lhs2TeX/files/patch-FileNameUtils.lhs 1970-01-01 00:00:00.000000000 +0000
@@ -1,40 +0,0 @@
---- ./FileNameUtils.lhs.orig 2008-10-24 10:50:41.000000000 +0200
-+++ ./FileNameUtils.lhs 2009-11-08 01:19:19.000000000 +0100
-@@ -13,7 +13,7 @@
- > import System.Environment
- > import Data.List
- > import Control.Monad (filterM)
--> import Control.Exception ( try, catch )
-+> import Control.Exception ( try, catch, IOException )
- > import System.FilePath
- > import System.Info
-
-@@ -86,7 +86,7 @@
- > d''' <- mapM descendFrom d''
- > return (s : concat d''')
- > )
--> (const $ return [s])
-+> ((const $ return [s])::(IOError -> IO [String]))
-
- > expandEnvironment :: String -> IO [String]
- > expandEnvironment s = case break (=='{') s of
-@@ -95,7 +95,7 @@
- > (e,"") -> return [s]
- > (e,'}':r') -> findEnvironment e s' r'
- > where findEnvironment :: String -> String -> String -> IO [String]
--> findEnvironment e a o = do er <- try (getEnv e)
-+> findEnvironment e a o = do er <- (try (getEnv e))::(IO (Either IOException String))
- > return $ either (const [])
- > (map (\x -> a ++ x ++ o) . splitOn isSearchPathSeparator)
- > er
-@@ -116,8 +116,8 @@
- > = cs
- > | otherwise = addTrailingPathSeparator cs
- > t f = catch (readFile f >>= \x -> return (x,f))
--> (\_ -> ioError $ userError $ "File `" ++ fn ++ "' not found.\n")
-+> ((\_ -> ioError $ userError $ "File `" ++ fn ++ "' not found.\n")::(IOError -> IO (String,FilePath)))
- > s [] = ioError
- > $ userError $ "File `" ++ fn ++ "' not found in search path:\n" ++ showpath
--> s (x:xs) = catch x (\_ -> s xs)
-+> s (x:xs) = catch x ((\_ -> s xs)::(IOError -> IO (String,FilePath)))
- > showpath = concatMap (\x -> " " ++ x ++ "\n") p
diff -uNr lhs2TeX.orig/files/patch-configure lhs2TeX/files/patch-configure
--- lhs2TeX.orig/files/patch-configure 2008-05-12 17:17:54.000000000 +0000
+++ lhs2TeX/files/patch-configure 2009-12-29 14:07:11.000000000 +0000
@@ -1,32 +1,32 @@
---- configure.orig 2008-02-19 01:11:52.000000000 -0500
-+++ configure 2008-02-19 01:42:57.000000000 -0500
-@@ -2637,54 +2637,6 @@
+--- configure.orig 2009-12-20 18:27:42.000000000 +0000
++++ configure 2009-12-20 18:29:25.000000000 +0000
+@@ -2745,54 +2745,6 @@
POLYTABLE_INSTALL=yes
fi
-if test "z$POLYTABLE_INSTALL" = "zyes"; then
-
--{ echo "$as_me:$LINENO: checking for the polytable package" >&5
--echo $ECHO_N "checking for the polytable package... $ECHO_C" >&6; }
+-{ $as_echo "$as_me:$LINENO: checking for the polytable package" >&5
+-$as_echo_n "checking for the polytable package... " >&6; }
-if test -x "$KPSEWHICH"; then
- POLYTABLE="`$KPSEWHICH polytable.sty`"
-fi
-if test -f "$POLYTABLE"; then
-- { echo "$as_me:$LINENO: result: $POLYTABLE" >&5
--echo "${ECHO_T}$POLYTABLE" >&6; }
-- { echo "$as_me:$LINENO: checking for version of polytable" >&5
--echo $ECHO_N "checking for version of polytable... $ECHO_C" >&6; }
+- { $as_echo "$as_me:$LINENO: result: $POLYTABLE" >&5
+-$as_echo "$POLYTABLE" >&6; }
+- { $as_echo "$as_me:$LINENO: checking for version of polytable" >&5
+-$as_echo_n "checking for version of polytable... " >&6; }
- POLYTABLE_VERSION=`$GREP " v.* .polytable. package" $POLYTABLE | $SED -e "s/^.*v\(.*\) .polytable. package.*$/\1/"`
-- { echo "$as_me:$LINENO: result: $POLYTABLE_VERSION" >&5
--echo "${ECHO_T}$POLYTABLE_VERSION" >&6; }
+- { $as_echo "$as_me:$LINENO: result: $POLYTABLE_VERSION" >&5
+-$as_echo "$POLYTABLE_VERSION" >&6; }
-else
-- { echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6; }
+- { $as_echo "$as_me:$LINENO: result: no" >&5
+-$as_echo "no" >&6; }
-fi
-
- # does polytable need to be installed?
-- { echo "$as_me:$LINENO: checking whether polytable needs to be installed" >&5
--echo $ECHO_N "checking whether polytable needs to be installed... $ECHO_C" >&6; }
+- { $as_echo "$as_me:$LINENO: checking whether polytable needs to be installed" >&5
+-$as_echo_n "checking whether polytable needs to be installed... " >&6; }
- POLYTABLE_INSTALL=no
- if test -n $POLYTABLE; then
- if ( IFS=".";
@@ -48,14 +48,14 @@
- else
- POLYTABLE_INSTALL=yes
- fi
-- { echo "$as_me:$LINENO: result: $POLYTABLE_INSTALL" >&5
--echo "${ECHO_T}$POLYTABLE_INSTALL" >&6; }
+- { $as_echo "$as_me:$LINENO: result: $POLYTABLE_INSTALL" >&5
+-$as_echo "$POLYTABLE_INSTALL" >&6; }
-fi
-
# Extract the first word of "mktexlsr", so it can be a program name with args.
set dummy mktexlsr; ac_word=$2
- { echo "$as_me:$LINENO: checking for $ac_word" >&5
-@@ -2727,7 +2679,7 @@
+ { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+@@ -2835,7 +2787,7 @@
# docdir and expansion
--- patch-lhs2TeX ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list