Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2014 18:00:01 GMT
From:      Mamoru Iwaki <iwaki@eng.niigata-u.ac.jp>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/187730: lang/gcl compilation fails ()
Message-ID:  <201403221800.s2MI010e094281@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/187730; it has been noted by GNATS.

From: Mamoru Iwaki <iwaki@eng.niigata-u.ac.jp>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187730: lang/gcl compilation fails ()
Date: Sun, 23 Mar 2014 02:36:49 +0900

 This is a multi-part message in MIME format.
 --------------090801050707020608040202
 Content-Type: text/plain; charset=ISO-2022-JP
 Content-Transfer-Encoding: 7bit
 
 I found a PR, ports/187174, which described a problem caused by newer
 readline library in lang/python* ports.  That seemed relevant to our
 issue, and I made a new patch.  The attached patch works for me anyway,
 and seems preferable than previous one.
 
 Cheers
 --
 Mamoru IWAKI
 
 
 --- o/gcl_readline.d.orig	2013-11-11 23:55:48.000000000 +0900
 +++ o/gcl_readline.d	2014-03-19 17:58:06.000000000 +0900
 @@ -468,9 +468,9 @@
    static int n;
    char *pn="GCL",*cp=getenv("TERM");
    rl_readline_name=pn;
  #ifdef RL_COMPLETION
 -  rl_attempted_completion_function = (CPPFunction *)rl_completion;
 +  rl_attempted_completion_function = rl_completion;
  #endif		
    if (isatty(0) && (!cp || strcmp(cp,"dumb")))
      readline_on=1;
    if (!n) {
 
 --------------090801050707020608040202
 Content-Type: text/plain; charset=Shift_JIS;
  name="patch-o_gcl_readline.d"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="patch-o_gcl_readline.d"
 
 LS0tIG8vZ2NsX3JlYWRsaW5lLmQub3JpZwkyMDEzLTExLTExIDIzOjU1OjQ4LjAwMDAwMDAw
 MCArMDkwMAorKysgby9nY2xfcmVhZGxpbmUuZAkyMDE0LTAzLTE5IDE3OjU4OjA2LjAwMDAw
 MDAwMCArMDkwMApAQCAtNDY4LDkgKzQ2OCw5IEBACiAgIHN0YXRpYyBpbnQgbjsKICAgY2hh
 ciAqcG49IkdDTCIsKmNwPWdldGVudigiVEVSTSIpOwogICBybF9yZWFkbGluZV9uYW1lPXBu
 OwogI2lmZGVmIFJMX0NPTVBMRVRJT04KLSAgcmxfYXR0ZW1wdGVkX2NvbXBsZXRpb25fZnVu
 Y3Rpb24gPSAoQ1BQRnVuY3Rpb24gKilybF9jb21wbGV0aW9uOworICBybF9hdHRlbXB0ZWRf
 Y29tcGxldGlvbl9mdW5jdGlvbiA9IHJsX2NvbXBsZXRpb247CiAjZW5kaWYJCQogICBpZiAo
 aXNhdHR5KDApICYmICghY3AgfHwgc3RyY21wKGNwLCJkdW1iIikpKQogICAgIHJlYWRsaW5l
 X29uPTE7CiAgIGlmICghbikgewo=
 --------------090801050707020608040202--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403221800.s2MI010e094281>