Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2012 03:28:39 GMT
From:      Gabor PALI <pgj@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/168325: [devel/pure-gen] Update to 0.15
Message-ID:  <201205250328.q4P3SdE3022066@red.freebsd.org>
Resent-Message-ID: <201205250330.q4P3U7kh044898@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168325
>Category:       ports
>Synopsis:       [devel/pure-gen] Update to 0.15
>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:   Fri May 25 03:30:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Gabor PALI
>Release:        N/A
>Organization:
The FreeBSD Project
>Environment:
N/A
>Description:
Update of pure-gen to 0.15 as it seems to work better with GHC 7.4.1.  (Note that language-c is still at version 0.3.2, though.)  GHC 7.4.1 will be added to the ports tree soon, so this PR is partially to avoid the potentially resulting breakage.

A diff is included.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/devel/pure-gen/Makefile b/devel/pure-gen/Makefile
index 53853e6..7e4a3c9 100644
--- a/devel/pure-gen/Makefile
+++ b/devel/pure-gen/Makefile
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	pure-gen
-PORTVERSION=	0.12
-PORTREVISION=	1
+PORTVERSION=	0.15
 CATEGORIES=	devel
 
 MAINTAINER=	lichray@gmail.com
diff --git a/devel/pure-gen/distinfo b/devel/pure-gen/distinfo
index 016f269..5ff9cc4 100644
--- a/devel/pure-gen/distinfo
+++ b/devel/pure-gen/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pure/pure-gen-0.12.tar.gz) = b5d5530e12c016d828e4388ffc5c1dfd22c2748ab0e4472979d37fda531f96f8
-SIZE (pure/pure-gen-0.12.tar.gz) = 57463
+SHA256 (pure/pure-gen-0.15.tar.gz) = e51921028f09710564b973d4ecd279f8654a8943c5aed8ddde0355bbb8a67bc6
+SIZE (pure/pure-gen-0.15.tar.gz) = 57590
diff --git a/devel/pure-gen/files/patch-dump-ast.hs b/devel/pure-gen/files/patch-dump-ast.hs
new file mode 100644
index 0000000..9770d72
--- /dev/null
+++ b/devel/pure-gen/files/patch-dump-ast.hs
@@ -0,0 +1,18 @@
+--- ./dump-ast.hs.orig	2011-09-09 11:13:26.000000000 +0200
++++ ./dump-ast.hs	2012-05-15 20:30:49.000000000 +0200
+@@ -147,13 +147,10 @@
+   dump (CFDefExt cFunDef)  = parens $ "CFDefExt "++ dump cFunDef
+   -- The version of CAsmExt in the repository has an additional second
+   -- argument. Uncomment this if needed.
+-  dump (CAsmExt cStrLit _) = parens $ "CAsmExt " ++ dump cStrLit
++  dump (CAsmExt cStrLit) = parens $ "CAsmExt " ++ dump cStrLit
+   --dump (CAsmExt cStrLit) = parens $ "CAsmExt " ++ dump cStrLit
+ 
+-cDeclFile (CDecl _ _ nodeInfo) =
+-  case fileOfNode nodeInfo of
+-    Nothing -> ""
+-    Just filePath -> "\"" ++ filePath ++ "\""
++cDeclFile (CDecl _ _ nodeInfo) = "\"" ++ fileOfNode nodeInfo ++ "\""
+ 
+ -- | C function definition (C99 6.9.1, K&R A10.1)
+ --



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205250328.q4P3SdE3022066>