pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48659: Update opensource-cobol and enable utf8



>Number:         48659
>Category:       pkg
>Synopsis:       Update opensource-cobol and enable utf8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 15 00:10:00 +0000 2014
>Originator:     Yasushi Oshima
>Release:        pkgsrc-2003Q4 and current
>Organization:
>Environment:
NetBSD/amd64 6.1.3
>Description:
opensource-cobol 1.3.2J has released at 2014-3-8.
This version (and previous version, too) requires '--enable-utf8' configure 
parameter for UTF8 support.

This works well on my some machines (NetBSD/amd64, i386, evbarm, and x68k)
>How-To-Repeat:
For check utf8 support, run tests/i18n-ut8.


>Fix:
diff -ruN opensource-cobol.orig/Makefile opensource-cobol/Makefile
--- opensource-cobol.orig/Makefile      2014-03-08 11:43:17.000000000 +0900
+++ opensource-cobol/Makefile   2014-03-07 00:05:27.000000000 +0900
@@ -1,9 +1,9 @@
 # $NetBSD: Makefile,v 1.2 2013/05/26 04:15:40 ryoon Exp $
 
-DISTNAME=      opensource-cobol-1.3J-utf8
+DISTNAME=      opensource-cobol-1.3.2J-utf8
 PKGNAME=       ${DISTNAME:S/-utf8//}
 CATEGORIES=    lang
-MASTER_SITES=  
-http://www.osscons.jp/osscobol/files/?action=cabinet_action_main_download&block_id=412&room_id=21&cabinet_id=11&file_id=154&upload_id=304
+MASTER_SITES=  
-http://www.osscons.jp/osscobol/files/?action=cabinet_action_main_download&block_id=414&room_id=21&cabinet_id=11&file_id=193&upload_id=388
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
 HOMEPAGE=      http://www.osscons.jp/osscobol/
@@ -20,6 +20,8 @@
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
 
+CONFIGURE_ARGS+=       --enable-utf8
+
 TEST_TARGET=           check
 
 #BUILDLINK_TRANSFORM+= l:db:db4
diff -ruN opensource-cobol.orig/distinfo opensource-cobol/distinfo
--- opensource-cobol.orig/distinfo      2014-03-08 11:43:18.000000000 +0900
+++ opensource-cobol/distinfo   2014-03-10 23:39:56.000000000 +0900
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.1 2013/05/26 01:31:53 ryoon Exp $
 
-SHA1 (opensource-cobol-1.3J-utf8.tar.gz) = 
9d79411d55681f52b7d5f6e8a825ff9eb323149e
-RMD160 (opensource-cobol-1.3J-utf8.tar.gz) = 
169acfebbd0040067349a4c1d85235b3c1e99302
-Size (opensource-cobol-1.3J-utf8.tar.gz) = 1119551 bytes
+SHA1 (opensource-cobol-1.3.2J-utf8.tar.gz) = 
d2accfa0b7dc0efce48c06ff1be98c267c1a0ab4
+RMD160 (opensource-cobol-1.3.2J-utf8.tar.gz) = 
cfdc3f3892bcd75ca83215e4346e5a3e37e28763
+Size (opensource-cobol-1.3.2J-utf8.tar.gz) = 1204733 bytes
+SHA1 (patch-bin_Makefile.in) = fa71482bedd5bf6fade229db0c464691109fd6be
diff -ruN opensource-cobol.orig/patches/patch-bin_Makefile.in 
opensource-cobol/patches/patch-bin_Makefile.in
--- opensource-cobol.orig/patches/patch-bin_Makefile.in 1970-01-01 
09:00:00.000000000 +0900
+++ opensource-cobol/patches/patch-bin_Makefile.in      2014-03-10 
23:39:36.000000000 +0900
@@ -0,0 +1,23 @@
+$NetBSD$
+
+--- bin/Makefile.in.orig       2014-03-05 09:53:48.000000000 +0000
++++ bin/Makefile.in
+@@ -79,7 +79,8 @@ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+ am_cobcrun_OBJECTS = cobcrun-cobcrun.$(OBJEXT)
+ cobcrun_OBJECTS = $(am_cobcrun_OBJECTS)
+-cobcrun_DEPENDENCIES = $(top_builddir)/libcob/libcob.la
++cobcrun_DEPENDENCIES = $(top_builddir)/libcob/libcob.la \
++      $(top_builddir)/lib/libsupport.a
+ binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ SCRIPTS = $(bin_SCRIPTS)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+@@ -236,7 +237,7 @@ bin_SCRIPTS = cob-config
+ cobcrun_SOURCES = cobcrun.c
+ AM_LDFLAGS = $(COB_EXPORT_DYN)
+ cobcrun_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)
+-cobcrun_LDADD = $(top_builddir)/libcob/libcob.la
++cobcrun_LDADD = $(top_builddir)/libcob/libcob.la 
$(top_builddir)/lib/libsupport.a
+ all: all-am
+ 
+ .SUFFIXES:



Home | Main Index | Thread Index | Old Index