FreeBSD-specific patches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qBittorrent |
Fix Released
|
Medium
|
Christophe Dumez |
Bug Description
The following are patches applied to qbittorrent 2.6.x in the FreeBSD ports tree. It would be nice if these could be added to the source at some level so that FreeBSD users who want to compile qbittorrent "out of the box" without using the ports would be able to do so easily.
--- src/filesystemw
+++ src/filesystemw
@@ -12,7 +12,7 @@
#include <QSet>
#include <iostream>
#include <errno.h>
-#ifdef Q_WS_MAC
+#if defined(Q_WS_MAC) || defined(
#include <sys/param.h>
#include <sys/mount.h>
#include <string.h>
--- src/misc.cpp.orig 2011-01-06 04:12:07.000000000 -0800
+++ src/misc.cpp 2011-01-09 23:11:01.000000000 -0800
@@ -60,7 +60,7 @@
#endif
#ifndef Q_WS_WIN
-#ifdef Q_WS_MAC
+#if defined Q_WS_MAC || defined(
#include <sys/param.h>
#include <sys/mount.h>
#else
In unixconf.pri:
sed 's|$$PREFIX/
(Where MANPREFIX=$PREFIX)
And finally:
echo "LIBS+= -lexecinfo" >> src/src.pro
If you have any questions, just let me know.
Thanks,
Doug
Changed in qbittorrent: | |
assignee: | nobody → Christophe Dumez (hydr0g3n) |
importance: | Undecided → Medium |
milestone: | none → 2.6.3 |
status: | New → In Progress |
Changed in qbittorrent: | |
status: | Fix Committed → Fix Released |
This should be fixed in SVN for next release. Could you please confirm that it works without any changes?
I will attach the patch so that you can see what I changed.