[Kde-bindings] [Bug 251005] New: [PATCH] kdebindings fails to build with Ruby 1.9.2

Bernhard Rosenkraenzer bero at arklinux.org
Sun Sep 12 19:20:33 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=251005

           Summary: [PATCH] kdebindings fails to build with Ruby 1.9.2
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: bero at arklinux.org


Created an attachment (id=51566)
 --> (http://bugs.kde.org/attachment.cgi?id=51566)
fix

Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

kdebindings 4.5.1 fails to build with Ruby 1.9.2 because STR2CSTR has been
removed (it has been deprecated since ruby 1.8).

The attached patch makes it build (and even work, at least for the examples
included with the ruby bindings).

In addition to the patch, I had to hack -I/usr/include/ruby-1.9.1 into the
compiler flags

Reproducible: Always

Steps to Reproduce:
1. Install ruby 1.9.2
2. Build kdebindings 4.5.1

Actual Results:  
fails to build because STR2CSTR is undefined

Expected Results:  
builds and works

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list