[104300] trunk/dports/textproc/juman6/files/patch-sed.diff

hum at macports.org hum at macports.org
Sat Mar 23 05:25:59 PDT 2013


Revision: 104300
          https://trac.macports.org/changeset/104300
Author:   hum at macports.org
Date:     2013-03-23 05:25:59 -0700 (Sat, 23 Mar 2013)
Log Message:
-----------
juman6: fix character encoding for sed; #38487.

Modified Paths:
--------------
    trunk/dports/textproc/juman6/files/patch-sed.diff

Modified: trunk/dports/textproc/juman6/files/patch-sed.diff
===================================================================
--- trunk/dports/textproc/juman6/files/patch-sed.diff	2013-03-23 12:22:38 UTC (rev 104299)
+++ trunk/dports/textproc/juman6/files/patch-sed.diff	2013-03-23 12:25:59 UTC (rev 104300)
@@ -36,3 +36,23 @@
   	mv $@.tmp $@
   # Tell versions [3.59,3.63) of GNU make to not export all variables.
   # Otherwise a system limit (for SysV at least) may be exceeded.
+--- dic/Makefile.am.orig	2005-08-24 22:13:06.000000000 +0900
++++ dic/Makefile.am	2013-03-23 20:53:56.000000000 +0900
+@@ -20,7 +20,7 @@
+ 	rm -f jumandic.* *.int JUMAN.connect
+ 
+ JUMAN.connect: JUMAN.connect.c
+-	@CPP@ -P $< | sed "s/\(\#pragma\)/\;\1/" > $@
++	@CPP@ -P $< | env LC_CTYPE="C" sed "s/\(\#pragma\)/\;\1/" > $@
+ 
+ jumandic.tab: $(GRM_FILES) JUMAN.connect
+ 	$(MAKEMAT)
+--- Makefile.am.orig	2009-09-26 17:04:41.000000000 +0900
++++ Makefile.am	2013-03-23 20:57:50.000000000 +0900
+@@ -8,5 +8,5 @@
+ 
+ jumanrc: jumanrc.in
+ 	rm -f $@ $@.tmp
+-	sed 's, at pkgdatadir\@,$(pkgdatadir),g' $< > $@.tmp
++	env LC_CTYPE="C" sed 's, at pkgdatadir\@,$(pkgdatadir),g' $< > $@.tmp
+ 	mv $@.tmp $@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130323/91d8cd19/attachment.html>


More information about the macports-changes mailing list