87 Commits

Author SHA1 Message Date
pvk
061aa3287f fix build with clang6
ok jasper@ sthen@
2018-04-16 08:07:35 +00:00
espie
3825bf22dc fix build on arm64... for qt4, all arms are 32 bits, sigh. 2017-05-03 07:18:50 +00:00
espie
cb5239f3b6 typo 2017-04-27 18:02:16 +00:00
espie
9759e13281 forgot that one. The right definitions are in sys/time.h for us... 2017-04-27 17:52:12 +00:00
espie
7a51470e8f Well, all includes are in place, but redefining bool in C++ does not work,
especially with clang.
2017-04-27 17:32:19 +00:00
espie
cc8d43af19 pointers don't <= 2017-04-25 20:08:50 +00:00
espie
2874f12e7e fix pointer comparison 2017-04-25 19:33:06 +00:00
espie
dfe758b75c give it a fighting chance with clang 2017-04-25 17:47:41 +00:00
espie
28b38473d5 unhardcode gcc/g++ 2017-03-03 14:02:15 +00:00
dcoppa
69ec48c907 $ file /usr/local/lib/qt4/bin/{findtr,syncqt}
/usr/local/lib/qt4/bin/findtr: a /usr/bin/perl -w script text executable
/usr/local/lib/qt4/bin/syncqt: a /usr/bin/perl -w script text executable

These are both perl scripts, so use INSTALL_SCRIPT instead of
INSTALL_PROGRAM.

While here: qt-project.org -> qt.io in some comments.
2016-11-07 09:46:29 +00:00
zhuk
1da7a6a5ad Don't write GNU make-style lines in makefiles, for variables not used
in OpenBSD at all. Unbreaks some not-yet-ported software.
2016-03-08 13:32:24 +00:00
zhuk
579b91f112 It's always better to commit from the right tree. POLLOUT, not POLLHUP. 2016-02-10 13:26:46 +00:00
zhuk
ee66b8cdb3 Fix stack smashing happening when Qt4-based program opens more than
FD_SETSIZE (1024 by default) file descriptors. This is often the case
for KDE4 apps when using libinotify as directory monitoring backend.

Positive feedback from deraadt@, final okay sthen@
2016-02-10 13:12:23 +00:00
zhuk
3e0f94a8dc Fix wrong fix (made by yours truly as well) for TLS protocol choosing.
It was the same story again: TLSv1_*_method() are TLSv1.0, not TLSv1.x.

Should fix problems landry@ and sthen@ (and likely others) were seeing.

Joint work with and final okay sthen@
2016-01-06 17:17:32 +00:00
dcoppa
8a8649cef5 Fix libQtNetwork warnings following SSLv3 removal
OK sthen@, zhuk@
2015-09-17 12:24:41 +00:00
dcoppa
cb2f2345d4 Bugfixing update to qt-4.8.7.
And use the new "qt.io" for HOMEPAGE / MASTER_SITES.

No fallout in a bulk build (ajacoutot@)

OK espie@ (maintainer)
2015-06-03 07:28:01 +00:00
kettenis
a317cf2c85 On amd64 we need to make sure function calls in inline assembly code go
through the PLT, so do on OpenBSD what Linux and FreeBSD are already doing.

Fixes build with binutils 2.17 and fixes a potential runtime issue with
binutils 2.15.

ok espie@
2015-05-13 14:03:07 +00:00
zhuk
207a81481b Disable SSLv3 by default in Qt4.
okay espie@ (MAINTAINER), went through a couple of KDE4 builds.

This should been committed a while ago. Even more, I was thinking that this
patch *was* committed at Oct 22... It's probably better late than never.
2014-11-13 18:33:24 +00:00
dcoppa
4ff10fcb72 Ooops! Unbreak. 2014-07-12 11:33:32 +00:00
dcoppa
0669ee3cc2 Update qt4 to version 4.8.6.
OK espie@, jasper@, bcallah@ some time ago
2014-07-12 11:10:14 +00:00
naddy
a31af4faa8 Fix a GNU-ism in a sed expression that gets copied into generated Makefiles. 2014-05-26 19:24:28 +00:00
dcoppa
b035ee0b27 Fix for CVE-2013-4549: QXmlSimpleReader in Qt before 5.2 allows
context-dependent attackers to cause a denial of service (memory
consumption) via an XML Entity Expansion (XEE) attack

From upstream via Arch Linux

OK espie@ (maintainer)
2014-03-12 13:18:37 +00:00
naddy
14ddc1fd12 don't include <sys/timeb.h>; ok espie@ 2013-12-05 16:54:19 +00:00
dcoppa
014edbca03 Revert "QTBUG-15319: fix shortcuts with secondary Xkb layout."
The change which attempted to fix QTBUG-15319 broke keyboard shortcuts
for non latin keyboard layouts.

This patch reverts QTBUG-15319 (f45cdeda8) since it caused a
regression.

From upstream via Arch Linux.

OK espie@ (maintainer)
2013-11-15 10:52:24 +00:00
sthen
7e3095cdd6 Partially revert fix for CVE-2013-0254 which does not work with our
privilege-separated X and caused broken displays for applications using
qt frames, diff from dcoppa, okay espie.

(An alternative fix would be to disable shm support, i.e.
"CONFIGURE_ARGS += -no-mitshm", I'd prefer this but it would need further
testing).
2013-10-24 08:39:14 +00:00
dcoppa
0f85a8da17 Maintenance update to qt-4.8.5 (plus three bugfixes from upstream
via Arch Linux).
Feedback from zhuk@, espie@, and Amit Kulkarni.
ABI/API compatibility analysis done with abi-compliance-checker.

ok espie@ (MAINTAINER)
2013-10-04 13:15:39 +00:00
brad
83f4b5395c Better comment explaining the purpose of the workaround.
ok espie@
2013-03-16 08:44:55 +00:00
landry
af6d444f4b Fix moc/BOOST_JOIN breakage after boost 1.53 update, from Amit Kulkarni.
https://bugreports.qt-project.org/browse/QTBUG-22829
Unbreaks games/pokerth and cad/openscad.

ok espie@ (maintainer)
2013-03-15 17:01:31 +00:00
zhuk
ef5f85b58c Add /etc/ssl to the list of directories containing "system" CA certs,
allowing Qt4 (and thus KDE4) programs to use /etc/ssl/cert.pem.

okay @espie
2013-03-08 18:12:38 +00:00
bcallah
c6f73143af Allow qt4 to build on mips64* - note that build is quite literal here.
The resulting qt4 does not work.

ok espie@ landry@ jasper@
2013-01-14 22:09:43 +00:00
landry
c4c6cd0dc5 Fix QtWebkit on amd64. With the default 512Mb datasize ulimit, any app
using it crashes right away at startup, since it tries to preallocate
1Gb of memory.

From webkit's patch-Source_JavaScriptCore_jit_ExecutableAllocatorFixedVMPool_cpp
tested with mnemosyne & arora.
2012-11-05 16:29:50 +00:00
sthen
3df6228b5a When dlopen()ing shared libraries for optional dependencies, Qt4 wants to
load a specific version of the library to avoid ABI breakages, however it uses
upstream shared lib versions which don't match those in our ports. This has
already been patched where it tries to open gtk+2/cups by removing the version
check. See ports@ thread "UPDATE: kdiff3-0.9.97" where this was discussed with
fgsch, dcoppa, espie and myself, upshot is this isn't totally clean but isn't
really worse than what we had before and it fixes use of icu4c from Qt4.
This diff from fgsch, testing/ok by me, ok espie.
2012-10-11 01:18:09 +00:00
ajacoutot
d53ee2856c Handle cups >= 1.6 2012-08-04 15:07:24 +00:00
espie
b60dcae74a update to 4.8.2
- since we no longer have GCC3_ARCHES, simplify, no way it's gonna compile
on a GCC2_ARCH anyways (size matters)
- so, we have only SHARED_ONLY arches, remove those frags as well.
- fold back qt4-sqlite since sqlite is part of core now.
2012-06-14 09:38:35 +00:00
ajacoutot
77b9840f10 Add missing _POSIX_THREAD_PRIORITY_SCHEDULING check.
from Brad
ok espie@
2012-05-20 10:39:00 +00:00
kili
d6bd5a76f9 Don't silently pull in a dependency on pulseaudio.
I had a diff adding proper LIB_DEPENDS-* and WANTLIB- entries,
but espie@ prefers to just disable pulseaudio support for now,
because he's working on a qt4 update.

ok espie@
2011-12-26 15:51:55 +00:00
espie
a88b1906c3 grr... forgot to add that one and cvs diff doesn't say a thing, of course.
as noticed by nigel and vadim...
2011-11-07 08:23:39 +00:00
espie
37d18d6a19 tweak to create correct .la files for the qt libraries, and install them.
after a few iterations to fix various builds such as bacula.
work from Vadim Zhukov
2011-11-06 12:44:04 +00:00
espie
466e503040 minor update to 4.7.4 (mostly bugfixes)
while there, clean up WANTLIBs
2011-09-07 09:54:07 +00:00
ajacoutot
a2d7a47da4 Fix build after gnutls update.
ok jasper@ landry@
2011-04-15 16:13:23 +00:00
dcoppa
a69794a5c1 Bug-fix update to qt-4.7.2.
Tested in a bulk build by landry@
OK espie@
2011-04-03 13:35:30 +00:00
espie
8e7eacb6ce qt 4.7.0 2010-10-28 14:55:47 +00:00
espie
5748aeeec9 minor update to 4.6.3
while there, clean up wantlibs.
- fix bug with new phonon (pick up ours and not it)
- fix a bug in qdbuscpp2xml (timeout)
- more patches for gcc3: sse code ICES, new demo doesn't compile.

spectrum not installed, seems to be macosX or something ? I can't get
a thing out of it.

Tested on gcc4 and gcc3...
2010-06-21 16:40:52 +00:00
landry
2a31596035 Fix Qt4 build on sparc64 with two patches from pkgsrc in qtwebkit part.
ok espie@
2010-06-15 21:27:57 +00:00
dcoppa
46bd828c63 Unbreak QGtkStyle
OK espie@
2010-05-26 11:34:13 +00:00
espie
4f74d9c0c8 don't deref "not found" result. (bump main pkgname)
this fixes qdoc3 segfaulting at end of qtcreator build
2010-05-25 11:00:56 +00:00
espie
0b3aa0cfeb misc fixes
- for gcc4, insist on -fno-wrapv, since it breaks things.
- use atomic builtins as they are available (on i386 at least)
- remove a few reasons why gmake is required (but not all)
- pass MAKE_JOBS to configure step.
2010-05-23 10:36:49 +00:00
espie
ae657388b2 fuck 2010-04-30 09:09:14 +00:00
espie
de49b385cb fix for amd64, get the javascript idiotic library to compile the right
whatthefuck code.
common work with landry@
2010-04-23 16:22:25 +00:00
espie
e6c4eeee3b update to 4.6.2. things work apart from eventsview... 2010-04-19 09:36:30 +00:00