FreeBSD Bugzilla – Attachment 239720 Details for
Bug 269166
japanese/ruby-uconv: Fix build with Ruby 3.1 and 12.3-RELEASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
japanese_ruby-uconv.patch (text/plain), 1.72 KB, created by
Yasuhiro Kimura
on 2023-01-26 11:12:41 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2023-01-26 11:12:41 UTC
Size:
1.72 KB
patch
obsolete
>From 724c01e57942e626a4611704cbe2302777be6223 Mon Sep 17 00:00:00 2001 >From: Yasuhiro Kimura <yasu@utahime.org> >Date: Thu, 26 Jan 2023 20:04:34 +0900 >Subject: [PATCH] japanese/ruby-uconv: Fix build with Ruby 3.1 and 12.3-RELEASE > >While I'm here, >* Add license information. >* Pet portclippy. >* Tidy up Makefile with portfmt. >--- > japanese/ruby-uconv/Makefile | 12 ++++++++---- > japanese/ruby-uconv/files/patch-extconf.rb | 10 ++++++++++ > 2 files changed, 18 insertions(+), 4 deletions(-) > create mode 100644 japanese/ruby-uconv/files/patch-extconf.rb > >diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile >index 71ec25d3ffec..f19116e3900a 100644 >--- a/japanese/ruby-uconv/Makefile >+++ b/japanese/ruby-uconv/Makefile >@@ -8,12 +8,16 @@ MAINTAINER= ruby@FreeBSD.org > COMMENT= Unicode conversion library with Japanese codesets support for Ruby > WWW= http://www.yoshidam.net/Ruby.html #uconv > >-USES= ruby:extconf >+LICENSE= RUBY >+LICENSE_FILE= ${WRKSRC}/README > >-WRKSRC= ${WRKDIR}/${PORTNAME} >+USES= ruby:extconf >+ >+MAKE_ARGS= INSTALL_DATA="${INSTALL_DATA}" \ >+ INSTALL_PROG="${INSTALL_PROGRAM}" > INSTALL_TARGET= site-install >-MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \ >- INSTALL_DATA="${INSTALL_DATA}" >+ >+WRKSRC= ${WRKDIR}/${PORTNAME} > > OPTIONS_DEFINE= DOCS > >diff --git a/japanese/ruby-uconv/files/patch-extconf.rb b/japanese/ruby-uconv/files/patch-extconf.rb >new file mode 100644 >index 000000000000..ea48d76e7ca6 >--- /dev/null >+++ b/japanese/ruby-uconv/files/patch-extconf.rb >@@ -0,0 +1,10 @@ >+--- extconf.rb.orig 2003-03-12 05:20:47 UTC >++++ extconf.rb >+@@ -1,6 +1,6 @@ >+ require 'mkmf' >+ >+-$CFLAGS = "" >++$CFLAGS = "-fdeclspec" >+ #$CFLAGS="-DUSE_EUC -DUSE_SJIS" >+ ##$CFLAGS="-DUSE_SJIS -DUSE_WIN32API" >+ >-- >2.39.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269166
: 239720