diff options
author | knu <knu@FreeBSD.org> | 2002-04-01 00:47:01 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-04-01 00:47:01 +0800 |
commit | 2cd4cda20c64d4c5616d3f8dea404b1c98df863a (patch) | |
tree | 0a48f7cda8650e5595872a4d4039ba0d71279dd3 /japanese/ruby-eb | |
parent | b739114eb4c7a013dbc5be24289c5cee86d97dc0 (diff) | |
download | freebsd-ports-gnome-2cd4cda20c64d4c5616d3f8dea404b1c98df863a.tar.gz freebsd-ports-gnome-2cd4cda20c64d4c5616d3f8dea404b1c98df863a.tar.zst freebsd-ports-gnome-2cd4cda20c64d4c5616d3f8dea404b1c98df863a.zip |
Catch up with japanese/eb's update to 3.2.1. Bump PORTREVISION.
Diffstat (limited to 'japanese/ruby-eb')
-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)); |