[Pkg-ocaml-maint-commits] r3345 - in /trunk/packages/polygen/trunk/debian: changelog patches/06-bashism.diff

enrico at users.alioth.debian.org enrico at users.alioth.debian.org
Thu Nov 16 15:26:29 CET 2006


Author: enrico
Date: Thu Nov 16 15:26:29 2006
New Revision: 3345

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3345
Log:
Added a patch to fix a bashism

Added:
    trunk/packages/polygen/trunk/debian/patches/06-bashism.diff
Modified:
    trunk/packages/polygen/trunk/debian/changelog

Modified: trunk/packages/polygen/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/polygen/trunk/debian/changelog?rev=3345&op=diff
==============================================================================
--- trunk/packages/polygen/trunk/debian/changelog (original)
+++ trunk/packages/polygen/trunk/debian/changelog Thu Nov 16 15:26:29 2006
@@ -1,3 +1,9 @@
+polygen (1.0.6.ds2-2) UNRELEASED; urgency=low
+
+  * Fixed a bashism in the makefile.  Closes: #396902.
+
+ -- Enrico Zini <enrico at debian.org>  Thu, 16 Nov 2006 15:24:31 +0100
+
 polygen (1.0.6.ds2-1) unstable; urgency=low
 
   * Try to find grammars according to locales

Added: trunk/packages/polygen/trunk/debian/patches/06-bashism.diff
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/polygen/trunk/debian/patches/06-bashism.diff?rev=3345&op=file
==============================================================================
--- trunk/packages/polygen/trunk/debian/patches/06-bashism.diff (added)
+++ trunk/packages/polygen/trunk/debian/patches/06-bashism.diff Thu Nov 16 15:26:29 2006
@@ -1,0 +1,17 @@
+--- polygen-1.0.6.ds2/src/makefile	2005-11-21 21:33:38.000000000 +0100
++++ polygen-1.0.6.ds2/src/makefile	2006-11-16 15:22:25.959112500 +0100
+@@ -47,11 +47,9 @@
+ parser.mli parser.ml lexer.ml: lexer.mll parser.mly
+ 	$(MLLEX) lexer.mll
+ 	$(MLYACC) parser.mly
+-    # workaround for ocamlyacc "open" lack
+-	@mv parser.mli _parser.mli
+-	@echo -e "open Absyn\n" >parser.mli
+-	@cat <_parser.mli >>parser.mli
+-	@rm -f _parser.mli
++	# workaround for ocamlyacc "open" lack
++	(echo "open Absyn" ; echo ; cat parser.mli) > _parser.mli
++	@mv _parser.mli parser.mli
+ 
+ ver.ml: ver.ml.template
+ 	sed -e "s/%VERSION%/$(VERSION)/" -e "s/%DATE%/$(DATE)/" ver.ml.template >ver.ml




More information about the Pkg-ocaml-maint-commits mailing list