From nobody@FreeBSD.org  Wed Oct 26 06:11:55 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6A69D106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Oct 2011 06:11:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 41FA18FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Oct 2011 06:11:55 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9Q6Bs5F090638
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Oct 2011 06:11:54 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p9Q6Bswh090637;
	Wed, 26 Oct 2011 06:11:54 GMT
	(envelope-from nobody)
Message-Id: <201110260611.p9Q6Bswh090637@red.freebsd.org>
Date: Wed, 26 Oct 2011 06:11:54 GMT
From: Kuan-Chung Chiu <buganini@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [New Port] converters/ruby-bsdconv
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         162022
>Category:       ports
>Synopsis:       [New Port] converters/ruby-bsdconv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 26 06:20:06 UTC 2011
>Closed-Date:    Fri Oct 28 02:09:50 UTC 2011
>Last-Modified:  Fri Oct 28 02:10:10 UTC 2011
>Originator:     Kuan-Chung Chiu
>Release:        
>Organization:
N/A
>Environment:
>Description:
A port for ruby-bsdconv

BSD licensed charset/encoding converter library with more function than
libiconv. (Currently, only a few codecs are supported)
This port is a ruby wrapper for bsdconv.

WWW: https://github.com/buganini/ruby-bsdconv

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ruby-bsdconv/
#	ruby-bsdconv/Makefile
#	ruby-bsdconv/distinfo
#	ruby-bsdconv/pkg-descr
#	ruby-bsdconv/pkg-plist
#
echo c - ruby-bsdconv/
mkdir -p ruby-bsdconv/ > /dev/null 2>&1
echo x - ruby-bsdconv/Makefile
sed 's/^X//' >ruby-bsdconv/Makefile << '1048e54ef9c19d51a637d31397b708d8'
X# New ports collection makefile for:	ruby-bsdconv
X# Date created:		13 Oct 2011
X# Whom:			buganini@gmail.com
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bsdconv
XPORTVERSION=	1.1
XCATEGORIES=	converters ruby
XMASTER_SITES=	https://github.com/buganini/ruby-${PORTNAME}/tarball/${PORTVERSION}/
XPKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
XDISTNAME=	buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}
X
XMAINTAINER=	buganini@gmail.com
XCOMMENT=	Ruby wrapper for bsdconv
X
XLICENSE=	BSD
X
XLIB_DEPENDS=	bsdconv.6:${PORTSDIR}/converters/bsdconv
X
XUSE_RUBY=	yes
XUSE_RUBY_EXTCONF=	yes
X
XGITVERSION=	05a7d91
XFETCH_ARGS=	-pRr
XWRKSRC=		${WRKDIR}/buganini-ruby-${PORTNAME}-${GITVERSION}
X
X.include <bsd.port.mk>
1048e54ef9c19d51a637d31397b708d8
echo x - ruby-bsdconv/distinfo
sed 's/^X//' >ruby-bsdconv/distinfo << '74aa2bdae744efae8b223bbf342c6309'
XSHA256 (buganini-bsdconv-1.1-0-g05a7d91.tar.gz) = 283026166f488bf22c16d9caa30f889597cd4f306e1d605f2f7a1d9dbc0ff35e
XSIZE (buganini-bsdconv-1.1-0-g05a7d91.tar.gz) = 1733
74aa2bdae744efae8b223bbf342c6309
echo x - ruby-bsdconv/pkg-descr
sed 's/^X//' >ruby-bsdconv/pkg-descr << 'bebb19b6db721fd956695d3b72161b52'
XBSD licensed charset/encoding converter library with more function than
Xlibiconv. (Currently, only a few codecs are supported)
XThis port is a ruby wrapper for bsdconv.
X
XWWW: https://github.com/buganini/ruby-bsdconv
bebb19b6db721fd956695d3b72161b52
echo x - ruby-bsdconv/pkg-plist
sed 's/^X//' >ruby-bsdconv/pkg-plist << '230794639066598eebd55776dc9201d8'
X%%RUBY_SITEARCHLIBDIR%%/bsdconv.so
230794639066598eebd55776dc9201d8
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ruby 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Oct 26 06:20:15 UTC 2011 
Responsible-Changed-Why:  
ruby@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162022 
Responsible-Changed-From-To: ruby->swills 
Responsible-Changed-By: swills 
Responsible-Changed-When: Thu Oct 27 18:15:42 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162022 

From: "Steve Wills" <swills@FreeBSD.org>
To: bug-followup@FreeBSD.org, buganini@gmail.com
Cc:  
Subject: Re: ports/162022: [New Port] converters/ruby-bsdconv
Date: Thu, 27 Oct 2011 16:02:50 -0400

 Hi,
 
 This looks like a great package, but unfortunately it fails to compile
 with Ruby 1.9:
 
 
 ===>  Building for ruby19-bsdconv-1.1
 cc -I. -I/usr/local/include/ruby-1.9//amd64-freebsd8
 -I/usr/local/include/ruby-1.9//ruby/backward
 -I/usr/local/include/ruby-1.9/ -I. -DHAVE_BSDCONV_H -I/usr/local/include  
  -fPIC -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC
 -obsdconv.o -c bsdconv.c
 bsdconv.c: In function 'm_new':
 bsdconv.c:46: error: 'struct RString' has no member named 'ptr'
 bsdconv.c: In function 'm_insert_phase':
 bsdconv.c:53: error: 'struct RString' has no member named 'ptr'
 bsdconv.c: In function 'm_insert_codec':
 bsdconv.c:59: error: 'struct RString' has no member named 'ptr'
 bsdconv.c: In function 'm_replace_phase':
 bsdconv.c:65: error: 'struct RString' has no member named 'ptr'
 bsdconv.c: In function 'm_replace_codec':
 bsdconv.c:71: error: 'struct RString' has no member named 'ptr'
 bsdconv.c: In function 'm_conv':
 bsdconv.c:80: error: 'struct RString' has no member named 'ptr'
 bsdconv.c:81: error: 'struct RString' has no member named 'len'
 bsdconv.c: In function 'm_conv_chunk':
 bsdconv.c:102: error: 'struct RString' has no member named 'ptr'
 bsdconv.c:103: error: 'struct RString' has no member named 'len'
 bsdconv.c: In function 'm_conv_chunk_last':
 bsdconv.c:116: error: 'struct RString' has no member named 'ptr'
 bsdconv.c:117: error: 'struct RString' has no member named 'len'
 bsdconv.c: In function 'm_conv_file':
 bsdconv.c:128: error: 'struct RString' has no member named 'ptr'
 bsdconv.c:129: error: 'struct RString' has no member named 'ptr'
 *** Error code 1
 1 error
 ===> Compilation failed unexpectedly.
 
 I can patch it if you want, but basically you just need to change things
 like this:
 
 RSTRING(arg)->ptr
 
 to something like this
 
 RSTRING_PTR(arg)
 
 and similar for len:
 
 RSTRING(arg)->ptr
 
 to
 
 RSTRING_LEN(arg)
 
 Thanks,
 Steve
 
 
 

From: Buganini <buganini@gmail.com>
To: bug-followup@FreeBSD.org, buganini@gmail.com
Cc:  
Subject: Re: ports/162022: [New Port] converters/ruby-bsdconv
Date: Fri, 28 Oct 2011 07:39:57 +0800

 Thanks, here is new shar:
 http://www.cnmc.tw/~buganini/ruby-bsdconv-1.2.shar.txt
 
 --Buganini
State-Changed-From-To: open->closed 
State-Changed-By: swills 
State-Changed-When: Fri Oct 28 02:09:50 UTC 2011 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162022 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162022: commit references a PR
Date: Fri, 28 Oct 2011 02:06:20 +0000 (UTC)

 swills      2011-10-28 02:06:08 UTC
 
   FreeBSD ports repository
 
   Modified files:
     converters           Makefile 
   Added files:
     converters/ruby-bsdconv Makefile distinfo pkg-descr pkg-plist 
   Log:
   BSD licensed charset/encoding converter library with more function than
   libiconv. (Currently, only a few codecs are supported)
   This port is a ruby wrapper for bsdconv.
   
   WWW: https://github.com/buganini/ruby-bsdconv
   
   PR:             ports/162022
   Submitted by:   buganini@gmail.com
   
   Revision  Changes    Path
   1.196     +1 -0      ports/converters/Makefile
   1.1       +29 -0     ports/converters/ruby-bsdconv/Makefile (new)
   1.1       +2 -0      ports/converters/ruby-bsdconv/distinfo (new)
   1.1       +5 -0      ports/converters/ruby-bsdconv/pkg-descr (new)
   1.1       +1 -0      ports/converters/ruby-bsdconv/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
