diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-02-22 19:03:17 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-02-22 19:03:17 +0000 |
commit | a4a7daf069cba3ae4b90d832aa9df7624b4626a3 (patch) | |
tree | 3aad51132f546ad79059b32784badc3f6a42c8ff /devel/ruby-qtruby-kde4/files | |
parent | multimedia/kodi: Disabled LIBBLURAY by default because every other port has i... (diff) |
Give the KDE SC4 applications ports a -kde4 suffix
In order to make room for the up-to-date version of the KDE Desktop and its
applications move the KDE Application ports based on Qt4.
PR: 225992
Exp-run by: antoine
Reviewed by: rakuco, adridg
Differential Revision: https://reviews.freebsd.org/D14413
Notes
Notes:
svn path=/head/; revision=462619
Diffstat (limited to 'devel/ruby-qtruby-kde4/files')
-rw-r--r-- | devel/ruby-qtruby-kde4/files/patch-src_qtruby.cpp | 13 | ||||
-rw-r--r-- | devel/ruby-qtruby-kde4/files/pkg-message.in | 10 | ||||
-rw-r--r-- | devel/ruby-qtruby-kde4/files/ruby-kdebindings-env.sh.in | 6 |
3 files changed, 29 insertions, 0 deletions
diff --git a/devel/ruby-qtruby-kde4/files/patch-src_qtruby.cpp b/devel/ruby-qtruby-kde4/files/patch-src_qtruby.cpp new file mode 100644 index 000000000000..7a8fbc24c112 --- /dev/null +++ b/devel/ruby-qtruby-kde4/files/patch-src_qtruby.cpp @@ -0,0 +1,13 @@ +Fix bogus pointer comparison. + +--- src/qtruby.cpp.orig 2017-01-18 20:21:44 UTC ++++ src/qtruby.cpp +@@ -2094,7 +2094,7 @@ isObject(VALUE /*self*/, VALUE obj) + { + void * ptr = 0; + ptr = value_to_ptr(obj); +- return (ptr > 0 ? Qtrue : Qfalse); ++ return (ptr ? Qtrue : Qfalse); + } + + static VALUE diff --git a/devel/ruby-qtruby-kde4/files/pkg-message.in b/devel/ruby-qtruby-kde4/files/pkg-message.in new file mode 100644 index 000000000000..859cd8da176a --- /dev/null +++ b/devel/ruby-qtruby-kde4/files/pkg-message.in @@ -0,0 +1,10 @@ +=========================================================== + +To use Ruby bindings outside KDE session set RUBYLIB +environment variable: + +RUBYLIB=%%RUBY_SITELIBDIR%%:%%RUBY_SITEARCHLIBDIR%% + +See "man 1 ruby" for details. + +=========================================================== diff --git a/devel/ruby-qtruby-kde4/files/ruby-kdebindings-env.sh.in b/devel/ruby-qtruby-kde4/files/ruby-kdebindings-env.sh.in new file mode 100644 index 000000000000..041908374ce9 --- /dev/null +++ b/devel/ruby-qtruby-kde4/files/ruby-kdebindings-env.sh.in @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ %%PREFIX%% != %%LOCALBASE%% ]; then +RUBYLIB=${RUBYLIB}:%%RUBY_SITELIBDIR%%:%%RUBY_SITEARCHLIBDIR%% +export RUBYLIB +fi |