svn commit: r432025 - in branches/2017Q1/devel/ruby-qtruby: . files
Tobias C. Berner
tcberner at FreeBSD.org
Sat Jan 21 12:16:02 UTC 2017
Author: tcberner
Date: Sat Jan 21 12:16:01 2017
New Revision: 432025
URL: https://svnweb.freebsd.org/changeset/ports/432025
Log:
MFH: r431952
Fix ruby-qtruby with newer clang
Clang 4.0 trips on the bogus pointer comparison.
As the produced code may change, bump PORTREVISION.
PR: 216218
Reported by: jbeich
Approved by: rakuco (mentor)
PR: 216218
Approved by: ports-secteam (junovitch), rakuco (mentor)
Added:
branches/2017Q1/devel/ruby-qtruby/files/patch-src_qtruby.cpp
- copied unchanged from r431952, head/devel/ruby-qtruby/files/patch-src_qtruby.cpp
Modified:
branches/2017Q1/devel/ruby-qtruby/Makefile
Directory Properties:
branches/2017Q1/ (props changed)
Modified: branches/2017Q1/devel/ruby-qtruby/Makefile
==============================================================================
--- branches/2017Q1/devel/ruby-qtruby/Makefile Sat Jan 21 12:03:28 2017 (r432024)
+++ branches/2017Q1/devel/ruby-qtruby/Makefile Sat Jan 21 12:16:01 2017 (r432025)
@@ -2,7 +2,7 @@
PORTNAME= qtruby
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel kde kde-kde4 ruby
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
Copied: branches/2017Q1/devel/ruby-qtruby/files/patch-src_qtruby.cpp (from r431952, head/devel/ruby-qtruby/files/patch-src_qtruby.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2017Q1/devel/ruby-qtruby/files/patch-src_qtruby.cpp Sat Jan 21 12:16:01 2017 (r432025, copy of r431952, head/devel/ruby-qtruby/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
More information about the svn-ports-all
mailing list