Require rubygems, so that this will work when ruby-ncurses starts

using the gem version.

OK landry@
This commit is contained in:
jeremy 2012-10-09 10:20:05 +00:00
parent e96bb59820
commit a19a62aa58
4 changed files with 26 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.9 2012/09/26 20:45:48 sthen Exp $
# $OpenBSD: Makefile,v 1.10 2012/10/09 10:20:05 jeremy Exp $
COMMENT = text-based presentation program
DISTNAME = tpp-1.3.1
REVISION = 4
REVISION = 5
CATEGORIES = misc productivity

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-tpp_rb,v 1.1 2012/10/09 10:20:05 jeremy Exp $
--- tpp.rb.orig Mon Oct 8 23:56:58 2012
+++ tpp.rb Mon Oct 8 23:57:13 2012
@@ -7,6 +7,7 @@ version_number = "1.3.1"
# ncurses-ruby module fails.
def load_ncurses
begin
+ require "rubygems"
require "ncurses"
include Ncurses
rescue LoadError

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.11 2012/09/23 17:12:42 jeremy Exp $
# $OpenBSD: Makefile,v 1.12 2012/10/09 10:20:46 jeremy Exp $
COMMENT= console RSS aggregator
DISTNAME= raggle-0.4.4
REVISION = 5
REVISION = 6
CATEGORIES= www news

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-raggle,v 1.1 2012/10/09 10:20:46 jeremy Exp $
--- raggle.orig Mon Oct 8 23:39:32 2012
+++ raggle Mon Oct 8 23:39:45 2012
@@ -81,6 +81,7 @@ require 'pstore'
require 'thread'
require 'time'
require 'uri'
+require 'rubygems'
#########################
# load external modules #