[Pkg-owncloud-maintainers] FTBS owncloud-client - Q_OS_FREEBSD not set

Sandro Knauß bugs at sandroknauss.de
Wed Oct 23 00:11:33 UTC 2013


Hi,

we just compiled owncloud-client(oCC) successfully for kFreeBSD. But because 
oCC had a bug we discoverd, that kFreeBSD doesn't set the preprocessor 
variable Q_OS_FREEBSD:

QString Utility::platform()
{
#if defined(Q_OS_LINUX)
    return QLatin1String("Linux");
[...]
#elif defined(Q_OS_FREEBSD)
    return QLatin1String("FreeBSD");
#elif defined(Q_OS_NETBSD)
    return QLatin1String("NetBSD");
#elif defined(Q_OS_OPENBSD)
    return QLatin1String("OpenBSD");
#else
    return "Unknown OS"
#endif
}

On the kfreebsd machine it breaks with:

/home/taffit/owncloud-client-1.4.2+dfsg/src/mirall/utility.cpp: In function 
'QString Mirall::Utility::platform()':
/home/taffit/owncloud-client-1.4.2+dfsg/src/mirall/utility.cpp:156:1: error: 
expected ';' before '}' token
 }
 ^

I fixed the syntax error, but actually kFreeBSD should fall into the FreeBSD 
path :) Or am I wrong?

regards,

sandro

* debian git repo for owncloud-client:
  - http://anonscm.debian.org/gitweb/?p=pkg-owncloud/owncloud-client.git

--
Am Montag, 21. Oktober 2013, 17:24:20 schrieb Ed Maste:
> On 16 October 2013 18:57, Sandro Knauß <bugs at sandroknauss.de> wrote:
> > Hi,
> > 
> > today I got the information, that FreeBSD has a working port for
> > owncloud- client:
> > http://svnweb.freebsd.org/ports/head/deskutils/mirall/
> 
> This uses the FreeBSD libinotify port, a ktrace-based implementation
> of the inotify API.
> 
> _______________________________________________
> Pkg-owncloud-maintainers mailing list
> Pkg-owncloud-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-owncloud-maintainers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-owncloud-maintainers/attachments/20131023/5b93bf1b/attachment.sig>


More information about the Pkg-owncloud-maintainers mailing list