[bigloo] Update to 4.1a. Add libunistring-devel BR. Set LOCALE when configuring for UTF-8 filename support.

Jerry James jjames at fedoraproject.org
Thu Feb 20 16:05:01 UTC 2014


commit 63d50fd4d25931007f4e9fe394ed749175cff53a
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Thu Feb 20 09:05:31 2014 -0700

    Update to 4.1a.
    Add libunistring-devel BR.
    Set LOCALE when configuring for UTF-8 filename support.

 .gitignore          |    2 +-
 bigloo-stat64.patch |   14 +++++++-------
 bigloo.spec         |   10 +++++++++-
 sources             |    2 +-
 4 files changed, 18 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 288ff4a..0828097 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/bigloo4.0b.tar.gz
+/bigloo4.1a.tar.gz
diff --git a/bigloo-stat64.patch b/bigloo-stat64.patch
index bf7b0e2..d7f84e5 100644
--- a/bigloo-stat64.patch
+++ b/bigloo-stat64.patch
@@ -1,6 +1,6 @@
---- ./runtime/Clib/cports.c.orig	2013-08-01 00:50:44.000000000 -0600
-+++ ./runtime/Clib/cports.c	2013-08-02 13:12:53.750303243 -0600
-@@ -2186,8 +2186,8 @@ bgl_file_to_string( char *path ) {
+--- ./runtime/Clib/cports.c.orig	2014-02-18 11:37:02.000000000 -0700
++++ ./runtime/Clib/cports.c	2014-02-20 08:04:35.438035870 -0700
+@@ -2195,8 +2195,8 @@ bgl_file_to_string( char *path ) {
  			   strerror( errno ),
  			   string_to_bstring( path ) );
        } else {
@@ -11,7 +11,7 @@
  
  	 close( fd );
  	 
-@@ -2454,7 +2454,7 @@ bgl_sendchars( obj_t ip, obj_t op, long
+@@ -2463,7 +2463,7 @@ bgl_sendchars( obj_t ip, obj_t op, long
        }
  #if( BGL_HAVE_SENDFILE )
     } else {
@@ -20,9 +20,9 @@
  
        if( sz != 0 ) {
  #if( BGL_GC_HAVE_BLOCKING )
-@@ -2559,7 +2559,7 @@ bgl_sendfile( obj_t name, obj_t op, long
- 			   strerror( errno ),
- 			   name );
+@@ -2564,7 +2564,7 @@ bgl_sendfile( obj_t name, obj_t op, long
+ 	 C_SYSTEM_FAILURE(
+ 	    BGL_IO_PORT_ERROR, "send-file", strerror( errno ), name );
        }
 -      sz = sin.st_size;
 +      sz = (long) sin.st_size;
diff --git a/bigloo.spec b/bigloo.spec
index 32f5316..a0df455 100644
--- a/bigloo.spec
+++ b/bigloo.spec
@@ -18,7 +18,7 @@
 %global pkgname Bigloo
 
 Name:           bigloo
-Version:        4.0b
+Version:        4.1a
 Release:        1%{?patch_ver:.%{patch_ver}}%{?prerel:.%{prerel}}%{?dist}
 Summary:        A compiler for the Scheme programming language
 
@@ -49,6 +49,7 @@ BuildRequires:  gmp-devel
 BuildRequires:  gstreamer-devel
 BuildRequires:  gstreamer-plugins-base-devel
 BuildRequires:  libphidget-devel
+BuildRequires:  libunistring-devel
 BuildRequires:  openssl-devel
 BuildRequires:  pcre-devel
 BuildRequires:  sqlite-devel
@@ -172,6 +173,8 @@ sed -i 's/LDOPTS=\"/&-Wl,--as-needed -lgc /' Makefile.misc
 %build
 %define inplace $PWD/inplace
 
+# Enable UTF-8 filename support
+export LOCALE="en_US.utf8"
 export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -Wno-unused"
 export LDFLAGS="$RPM_LD_FLAGS -Wl,--as-needed"
 sed -i -e "s/^jcflags=-O$/jcflags=-deprecation/" configure
@@ -332,6 +335,11 @@ make test
 
 
 %changelog
+* Thu Feb 20 2014 Jerry James <loganjerry at gmail.com> - 4.1a-1
+- Update to 4.1a
+- Add libunistring-devel BR
+- Set LOCALE when configuring for UTF-8 filename support
+
 * Fri Aug  2 2013 Jerry James <loganjerry at gmail.com> - 4.0b-1
 - Update to 4.0b
 - Add -stat64 patch and build with -D_FILE_OFFSET_BITS=64
diff --git a/sources b/sources
index e772e77..3476294 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5e66d9516a877f2b892d191bbe809379  bigloo4.0b.tar.gz
+d9dc8d25c65688937982d1c72bcbf31a  bigloo4.1a.tar.gz


More information about the scm-commits mailing list