diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-03-31 16:47:01 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-03-31 16:47:01 +0000 |
commit | ef1e71ffeef06656e6b286e310ace6dccdd73159 (patch) | |
tree | 9eadbfcdcce88085ed8e7afff99f06dbd2b3682b /japanese | |
parent | Take over maintainership. (diff) |
Catch up with japanese/eb's update to 3.2.1. Bump PORTREVISION.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/ruby-eb/Makefile | 4 | ||||
-rw-r--r-- | japanese/ruby-eb/files/patch-eb.c | 19 |
2 files changed, 21 insertions, 2 deletions
diff --git a/japanese/ruby-eb/Makefile b/japanese/ruby-eb/Makefile index 1b23e0ea1948..0bee7d535d75 100644 --- a/japanese/ruby-eb/Makefile +++ b/japanese/ruby-eb/Makefile @@ -7,7 +7,7 @@ PORTNAME= eb PORTVERSION= 1.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese ruby MASTER_SITES= http://www.threeweb.ad.jp/~nyasu/software/ DISTNAME= ruby-${PORTNAME}${PORTVERSION} @@ -15,7 +15,7 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -LIB_DEPENDS= eb.3:${PORTSDIR}/japanese/eb +LIB_DEPENDS= eb.6:${PORTSDIR}/japanese/eb USE_RUBY= yes USE_RUBY_EXTCONF= yes diff --git a/japanese/ruby-eb/files/patch-eb.c b/japanese/ruby-eb/files/patch-eb.c new file mode 100644 index 000000000000..b1a16a987266 --- /dev/null +++ b/japanese/ruby-eb/files/patch-eb.c @@ -0,0 +1,19 @@ +--- eb.c.orig Sat Jun 23 02:44:43 2001 ++++ eb.c Sat Mar 30 18:53:13 2002 +@@ -1018,10 +1018,16 @@ + rb_define_const(mEB, "HOOK_BEGIN_COLOR_JPEG", INT2FIX(EB_HOOK_BEGIN_COLOR_JPEG)); + rb_define_const(mEB, "HOOK_END_COLOR_GRAPHIC", INT2FIX(EB_HOOK_END_COLOR_GRAPHIC)); + ++#if EB_VERSION_MINOR < 2 + rb_define_const(mEB, "HOOK_STOP_CODE", INT2FIX(EB_HOOK_STOP_CODE)); + + rb_define_const(mEB, "HOOK_BEGIN_IN_COLOR_BMP", INT2FIX(EB_HOOK_BEGIN_IN_COLOR_BMP)); + rb_define_const(mEB, "HOOK_BEGIN_IN_COLOR_JPEG", INT2FIX(EB_HOOK_BEGIN_IN_COLOR_JPEG)); ++#else ++ rb_define_const(mEB, "HOOK_BEGIN_GRAPHIC_REFERENCE", INT2FIX(EB_HOOK_BEGIN_GRAPHIC_REFERENCE)); ++ rb_define_const(mEB, "HOOK_END_GRAPHIC_REFERENCE", INT2FIX(EB_HOOK_END_GRAPHIC_REFERENCE)); ++ rb_define_const(mEB, "HOOK_GRAPHIC_REFERENCE", INT2FIX(EB_HOOK_GRAPHIC_REFERENCE)); ++#endif + rb_define_const(mEB, "HOOK_END_IN_COLOR_GRAPHIC", INT2FIX(EB_HOOK_END_IN_COLOR_GRAPHIC)); + + rb_define_const(mEB, "HOOK_BEGIN_WAVE", INT2FIX(EB_HOOK_BEGIN_WAVE)); |