Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 165072
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo/BSD Team <bsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Emanuele A. "Zephyrus" Bagnaschi <zephyrus.271@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ktorrent-2.1rc1_include.patch ktorrent-2.1_rc1 missing include patch patch Emanuele A. "Zephyrus" Bagnaschi 2007-02-02 23:14 0000 405 bytes Details | Diff
ktorrent-2.1_rc1.ebuild Modified ktorrent-2.1_rc1 ebuild text/plain Emanuele A. "Zephyrus" Bagnaschi 2007-02-02 23:15 0000 1.19 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 165072 depends on: Show dependency tree
Bug 165072 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-02 23:12 0000
Ktorrent-2.1_rc1 fails to compile on g/fbsd due to missing include in
plugins/upnp/upnpmcastsocket.cpp 

It seems that the solution for this problem is to add #include
<netinet/in_systm.h> to upnpmcastsocket.cpp
See:
http://ktorrent.org/forum/viewtopic.php?t=1225

I also tested the patch on my Linux system and it seems that it doesn't create
any kind of problem.

Reproducible: Always

Steps to Reproduce:
1. emerge =net-p2p/ktorrent-2.1_rc1
2. 
3.

Actual Results:  
ktorrent emerge failure.

Expected Results:  
ktorrent emerge successfully.

GCC error:

/bin/bash ../../libtool --silent --tag=CXX --mode=compile
i486-gentoo-freebsd6.2-g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include
-I./../../libktorrent  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE   -Wno-long-long
-Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2
-pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-fexceptions  -c -o upnpmcastsocket.lo upnpmcastsocket.cpp
/usr/include/netinet/ip.h:160: error: 'n_long' does not name a type
/usr/include/netinet/ip.h:163: error: 'n_long' does not name a type

------- Comment #1 From Emanuele A. "Zephyrus" Bagnaschi 2007-02-02 23:14:15 0000 -------
Created an attachment (id=108978) [details]
ktorrent-2.1_rc1 missing include patch

Patch to add the missing include to upnpmcastsocket.cpp

------- Comment #2 From Emanuele A. "Zephyrus" Bagnaschi 2007-02-02 23:15:47 0000 -------
Created an attachment (id=108979) [details]
Modified ktorrent-2.1_rc1 ebuild

This is a modified ebuild: it applies the patch which add the missing include

------- Comment #3 From Timothy Redaelli 2007-03-06 21:13:46 0000 -------
Add keyword ~x86-fbsd to ktorrent-2.1
It compiles without any patches

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug