[Konversation-devel] [Bug 187267] New: KDE4 port does not build on OpenSolaris

tropikhajma tropikhajma at gmail.com
Mon Mar 16 00:17:14 CET 2009


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

           Summary: KDE4 port does not build on OpenSolaris
           Product: konversation
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konversation-devel at kde.org
        ReportedBy: tropikhajma at gmail.com


Version:           svn 939885 (using KDE 4.1.4)
Compiler:          Sun Studio 12 
OS:                Solaris
Installed from:    Compiled From Sources

To build the KDE4 port (svn r939885) on opensolaris I had to apply the below
patches.
Note the transfersend one should probably look like
http://pulseaudio.org/attachment/ticket/253/pulseaudio-01-ioctl.diff in order
to be universal.

$ cat konversation-insertchardialog.cpp.diff 
--- src/viewer/insertchardialog.cpp.orig    2009-03-15 00:29:38.348736109 +0100
+++ src/viewer/insertchardialog.cpp    2009-03-15 00:29:56.625783092 +0100
@@ -28,7 +28,7 @@
         setCaption(  i18n("Insert Character") );
         setButtonGuiItem(KDialog::Ok, KGuiItem(i18n("&Insert"), "dialog-ok",
i18n("Insert a character")));

-        m_charTable = new KCharSelect(this,0,
KCharSelect::CharacterTable|KCharSelect::FontCombo|KCharSelect::BlockCombos);
+        m_charTable = new KCharSelect(this,
KCharSelect::CharacterTable|KCharSelect::FontCombo|KCharSelect::BlockCombos);
         m_charTable->setCurrentFont( QFont( font ) );
         setMainWidget(m_charTable);
         connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) );

$ cat konversation-transfersend.cpp.diff 
--- src/dcc/transfersend.cpp.orig    2009-03-15 00:38:13.813617800 +0100
+++ src/dcc/transfersend.cpp    2009-03-15 00:39:12.244762219 +0100
@@ -164,6 +165,7 @@
             int sock = socket(AF_INET, SOCK_DGRAM, 0);
             strncpy( ifr.ifr_name, address, IF_NAMESIZE );
             ifr.ifr_addr.sa_family = AF_INET;
+        int ioctl(int fd, int request, ...);
             if ( ioctl( sock, SIOCGIFADDR, &ifr ) >= 0 )
                 m_ownIp =  inet_ntoa( ( (struct sockaddr_in *)&ifr.ifr_addr
)->sin_addr );
             kDebug() << "Falling back to IPv4 address " << m_ownIp;

-- 
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 Konversation-devel mailing list