head 1.41; access; symbols pkgsrc-2023Q4:1.41.0.6 pkgsrc-2023Q4-base:1.41 pkgsrc-2023Q3:1.41.0.4 pkgsrc-2023Q3-base:1.41 pkgsrc-2023Q2:1.41.0.2 pkgsrc-2023Q2-base:1.41 pkgsrc-2023Q1:1.40.0.4 pkgsrc-2023Q1-base:1.40 pkgsrc-2022Q4:1.40.0.2 pkgsrc-2022Q4-base:1.40 pkgsrc-2022Q3:1.39.0.4 pkgsrc-2022Q3-base:1.39 pkgsrc-2022Q2:1.39.0.2 pkgsrc-2022Q2-base:1.39 pkgsrc-2022Q1:1.38.0.4 pkgsrc-2022Q1-base:1.38 pkgsrc-2021Q4:1.38.0.2 pkgsrc-2021Q4-base:1.38 pkgsrc-2021Q3:1.37.0.2 pkgsrc-2021Q3-base:1.37 pkgsrc-2021Q2:1.36.0.12 pkgsrc-2021Q2-base:1.36 pkgsrc-2021Q1:1.36.0.10 pkgsrc-2021Q1-base:1.36 pkgsrc-2020Q4:1.36.0.8 pkgsrc-2020Q4-base:1.36 pkgsrc-2020Q3:1.36.0.6 pkgsrc-2020Q3-base:1.36 pkgsrc-2020Q2:1.36.0.4 pkgsrc-2020Q2-base:1.36 pkgsrc-2020Q1:1.36.0.2 pkgsrc-2020Q1-base:1.36 pkgsrc-2019Q4:1.35.0.8 pkgsrc-2019Q4-base:1.35 pkgsrc-2019Q3:1.35.0.4 pkgsrc-2019Q3-base:1.35 pkgsrc-2019Q2:1.35.0.2 pkgsrc-2019Q2-base:1.35 pkgsrc-2019Q1:1.34.0.10 pkgsrc-2019Q1-base:1.34 pkgsrc-2018Q4:1.34.0.8 pkgsrc-2018Q4-base:1.34 pkgsrc-2018Q3:1.34.0.6 pkgsrc-2018Q3-base:1.34 pkgsrc-2018Q2:1.34.0.4 pkgsrc-2018Q2-base:1.34 pkgsrc-2018Q1:1.34.0.2 pkgsrc-2018Q1-base:1.34 pkgsrc-2017Q4:1.33.0.10 pkgsrc-2017Q4-base:1.33 pkgsrc-2017Q3:1.33.0.8 pkgsrc-2017Q3-base:1.33 pkgsrc-2017Q2:1.33.0.4 pkgsrc-2017Q2-base:1.33 pkgsrc-2017Q1:1.33.0.2 pkgsrc-2017Q1-base:1.33 pkgsrc-2016Q4:1.32.0.2 pkgsrc-2016Q4-base:1.32 pkgsrc-2016Q3:1.30.0.6 pkgsrc-2016Q3-base:1.30 pkgsrc-2016Q2:1.30.0.4 pkgsrc-2016Q2-base:1.30 pkgsrc-2016Q1:1.30.0.2 pkgsrc-2016Q1-base:1.30 pkgsrc-2015Q4:1.28.0.4 pkgsrc-2015Q4-base:1.28 pkgsrc-2015Q3:1.28.0.2 pkgsrc-2015Q3-base:1.28 pkgsrc-2015Q2:1.27.0.6 pkgsrc-2015Q2-base:1.27 pkgsrc-2015Q1:1.27.0.4 pkgsrc-2015Q1-base:1.27 pkgsrc-2014Q4:1.27.0.2 pkgsrc-2014Q4-base:1.27 pkgsrc-2014Q3:1.26.0.2 pkgsrc-2014Q3-base:1.26 pkgsrc-2014Q2:1.24.0.8 pkgsrc-2014Q2-base:1.24 pkgsrc-2014Q1:1.24.0.6 pkgsrc-2014Q1-base:1.24 pkgsrc-2013Q4:1.24.0.4 pkgsrc-2013Q4-base:1.24 pkgsrc-2013Q3:1.24.0.2 pkgsrc-2013Q3-base:1.24 pkgsrc-2013Q2:1.23.0.2 pkgsrc-2013Q2-base:1.23 pkgsrc-2013Q1:1.22.0.2 pkgsrc-2013Q1-base:1.22 pkgsrc-2012Q4:1.18.0.2 pkgsrc-2012Q4-base:1.18 pkgsrc-2012Q3:1.17.0.2 pkgsrc-2012Q3-base:1.17 pkgsrc-2012Q2:1.16.0.2 pkgsrc-2012Q2-base:1.16 pkgsrc-2012Q1:1.15.0.8 pkgsrc-2012Q1-base:1.15 pkgsrc-2011Q4:1.15.0.6 pkgsrc-2011Q4-base:1.15 pkgsrc-2011Q3:1.15.0.4 pkgsrc-2011Q3-base:1.15 pkgsrc-2011Q2:1.15.0.2 pkgsrc-2011Q2-base:1.15 pkgsrc-2011Q1:1.14.0.6 pkgsrc-2011Q1-base:1.14 pkgsrc-2010Q4:1.14.0.4 pkgsrc-2010Q4-base:1.14 pkgsrc-2010Q3:1.14.0.2 pkgsrc-2010Q3-base:1.14 pkgsrc-2010Q2:1.13.0.2 pkgsrc-2010Q2-base:1.13 pkgsrc-2010Q1:1.11.0.10 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.8 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.6 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.4 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.11.0.2 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.9.0.2 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.8.0.8 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.6 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.4 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.2 pkgsrc-2008Q1:1.7.0.2 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.6.0.4 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.2 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.2.0.4 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.2 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.1.1.1.0.2 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.41 date 2023.05.04.09.43.56; author wiz; state Exp; branches; next 1.40; commitid rYRri9UuwikA2DnE; 1.40 date 2022.11.09.13.14.21; author joerg; state Exp; branches; next 1.39; commitid dN5ujJQiZbvcR11E; 1.39 date 2022.04.10.08.53.16; author nia; state Exp; branches; next 1.38; commitid kuN2kie7HZHrgDzD; 1.38 date 2021.12.01.13.01.14; author nia; state Exp; branches; next 1.37; commitid PbNootGYuD3tOWiD; 1.37 date 2021.09.16.08.39.06; author wiz; state Exp; branches; next 1.36; commitid ilx4eaN4KnjaO99D; 1.36 date 2020.01.18.23.35.52; author rillig; state Exp; branches; next 1.35; commitid shGUwZfkr7sleeTB; 1.35 date 2019.06.19.17.30.51; author wiz; state Exp; branches; next 1.34; commitid cNfTk50aaRsL6PrB; 1.34 date 2018.03.07.11.57.36; author wiz; state Exp; branches; next 1.33; commitid i1zssNVcYN02lwtA; 1.33 date 2017.01.23.07.41.27; author wiz; state Exp; branches; next 1.32; commitid 6LrocdnrEowk24Dz; 1.32 date 2016.10.25.12.30.02; author wiz; state Exp; branches; next 1.31; commitid mYvUdi7U6pyywwrz; 1.31 date 2016.10.04.22.00.01; author wiz; state Exp; branches; next 1.30; commitid lJZZGsSeva63mSoz; 1.30 date 2016.02.26.11.27.15; author jperkin; state Exp; branches; next 1.29; commitid 8IwEtS7lVMipXpWy; 1.29 date 2015.12.27.11.31.35; author wiz; state Exp; branches; next 1.28; commitid KNb91H3rBnttWzOy; 1.28 date 2015.09.09.17.55.39; author wiz; state Exp; branches; next 1.27; commitid c2kLC7z40GbtzBAy; 1.27 date 2014.10.09.14.07.14; author wiz; state Exp; branches; next 1.26; commitid fBDATFVmQ3454xTx; 1.26 date 2014.07.19.06.12.44; author wiz; state Exp; branches; next 1.25; commitid aF2Q6Zia43ya5XIx; 1.25 date 2014.07.12.14.38.18; author wiz; state Exp; branches; next 1.24; commitid NeK9BgORyNjD66Ix; 1.24 date 2013.07.03.06.27.03; author wiz; state Exp; branches; next 1.23; commitid 5MzuM9CDNog4pZVw; 1.23 date 2013.04.05.09.11.57; author wiz; state Exp; branches 1.23.2.1; next 1.22; 1.22 date 2013.03.14.17.37.51; author drochner; state Exp; branches; next 1.21; 1.21 date 2013.03.12.11.39.49; author wiz; state Exp; branches; next 1.20; 1.20 date 2013.03.07.06.36.28; author wiz; state Exp; branches; next 1.19; 1.19 date 2013.01.21.13.59.14; author wiz; state Exp; branches; next 1.18; 1.18 date 2012.10.29.05.06.35; author asau; state Exp; branches; next 1.17; 1.17 date 2012.07.13.15.14.42; author wiz; state Exp; branches; next 1.16; 1.16 date 2012.05.31.21.29.40; author mlelstv; state Exp; branches; next 1.15; 1.15 date 2011.06.12.00.21.53; author dholland; state Exp; branches; next 1.14; 1.14 date 2010.09.10.18.52.06; author joerg; state Exp; branches; next 1.13; 1.13 date 2010.04.11.10.39.30; author dholland; state Exp; branches; next 1.12; 1.12 date 2010.04.09.08.46.32; author tnn; state Exp; branches; next 1.11; 1.11 date 2009.02.27.21.36.10; author wiz; state Exp; branches; next 1.10; 1.10 date 2009.01.07.21.58.09; author wiz; state Exp; branches; next 1.9; 1.9 date 2008.11.17.11.30.31; author wiz; state Exp; branches; next 1.8; 1.8 date 2008.05.24.21.45.15; author tnn; state Exp; branches; next 1.7; 1.7 date 2008.01.29.03.45.36; author bjs; state Exp; branches; next 1.6; 1.6 date 2007.09.21.19.28.47; author bjs; state Exp; branches; next 1.5; 1.5 date 2007.08.05.21.49.26; author joerg; state Exp; branches; next 1.4; 1.4 date 2007.07.27.23.42.56; author joerg; state Exp; branches; next 1.3; 1.3 date 2007.07.12.17.11.57; author joerg; state Exp; branches; next 1.2; 1.2 date 2007.01.23.14.30.17; author joerg; state Exp; branches; next 1.1; 1.1 date 2006.11.03.18.24.38; author joerg; state Exp; branches 1.1.1.1; next ; 1.23.2.1 date 2013.07.15.19.41.34; author tron; state Exp; branches; next ; commitid CNOvJnGBLfafqBXw; 1.1.1.1 date 2006.11.03.18.24.38; author joerg; state Exp; branches; next ; desc @@ 1.41 log @libXi: update to 1.8.1. Alan Coopersmith (6): Build xz tarballs instead of bzip2 Fix spelling/wording issues gitlab CI: enable commit & merge request checks gitlab CI: enable gitlab's builtin static analysis XInput_find_display: Don't dereference NULL dpyinfo configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL Peter Hutterer (2): Initialize a few stack vars to zero libXi 1.8.1 @ text @# $NetBSD: Makefile,v 1.40 2022/11/09 13:14:21 joerg Exp $ DISTNAME= libXi-1.8.1 CATEGORIES= x11 devel MASTER_SITES= ${MASTER_SITE_XORG:=lib/} EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://xorg.freedesktop.org/ COMMENT= X Input extension library LICENSE= mit USE_LIBTOOL= yes GNU_CONFIGURE= yes USE_TOOLS+= pkg-config CONFIGURE_ENV+= LIB_MAN_SUFFIX=3 ac_cv_path_ASCIIDOC= ac_cv_path_XMLTO= PKGCONFIG_OVERRIDE+= xi.pc.in CONFIGURE_ARGS.NetBSD+= --disable-malloc0returnsnull X11_LIB_NAME?= libXi .include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk" BUILDLINK_API_DEPENDS.libX11+= libX11>=1.6 BUILDLINK_API_DEPENDS.libXext+= libXext>=1.1 .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXfixes/buildlink3.mk" BUILDLINK_API_DEPENDS.xorgproto+= xorgproto>=2021.5nb1 .include "../../x11/xorgproto/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.40 log @Reset MAINTAINER @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2022/04/10 08:53:16 nia Exp $ d3 1 a3 1 DISTNAME= libXi-1.8 d6 1 a6 1 EXTRACT_SUFX= .tar.bz2 @ 1.39 log @x11: adapt to new avoid-duplicate.mk usage @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2021/12/01 13:01:14 nia Exp $ d8 1 a8 1 MAINTAINER= joerg@@NetBSD.org @ 1.38 log @x11: Add avoid-duplicate.mk to Xorg library packages @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2021/09/16 08:39:06 wiz Exp $ d22 1 a22 1 X11_BUILTIN_NAME?= libXi @ 1.37 log @libXi: update to 1.8. This release of libXi marks the support of XI 2.4 touchpad gesture events official. This feature is the only difference between libXi 1.8 and the latest release in the 1.7.x series (1.7.10). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2020/01/18 23:35:52 rillig Exp $ d22 2 @ 1.36 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2019/06/19 17:30:51 wiz Exp $ d3 1 a3 1 DISTNAME= libXi-1.7.10 a19 5 SUBST_CLASSES+= sosubdir SUBST_STAGE.sosubdir= pre-configure SUBST_FILES.sosubdir= man/*.man SUBST_SED.sosubdir= -e 's|\.so X|.so manlibmansuffix/X|' d27 1 @ 1.35 log @libXi: update to 1.7.10. Alan Coopersmith (2): Update README for gitlab migration Update configure.ac bug URL for gitlab migration Alexander Bersenev (1): Fix the FIXME in XIValuatorClass case of copy_classes function in XExtInt.c Emil Velikov (1): autogen.sh: use quoted string variables Jeff Smith (1): _XIPassiveGrabDevice needs to set time value Matt Turner (2): Replace open-coded FP3232_TO_DOUBLE libXi 1.7.10 Mihail Konev (1): autogen: add default patch prefix Peter Hutterer (2): autogen.sh: use exec instead of waiting for configure to finish man: add a bunch of missing spaces Raphaël Droz (1): Update XIChangeHierarchy.txt @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2018/03/07 11:57:36 wiz Exp $ d9 1 a9 1 HOMEPAGE= http://xorg.freedesktop.org/ @ 1.34 log @xorgproto: use xorgproto instead of separate *proto packages Remove now obsolete packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2017/01/23 07:41:27 wiz Exp $ d3 1 a3 2 DISTNAME= libXi-1.7.9 PKGREVISION= 1 @ 1.33 log @Updated libXi to 1.7.9. A few minor bugfixes, nothing exciting. Emilio Pozuelo Monfort (3): Plug a memory leak Check that allocating a buffer succeeded Fix possible free of uninitialized pointer Peter Hutterer (1): libXi 1.7.9 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2016/10/25 12:30:02 wiz Exp $ d4 1 a27 1 BUILDLINK_API_DEPENDS.inputproto+= inputproto>=2.3 a29 3 BUILDLINK_API_DEPENDS.xextproto+= xextproto>=7.0.3 BUILDLINK_API_DEPENDS.xproto+= xproto>=7.0.13 .include "../../x11/inputproto/buildlink3.mk" d33 1 a33 3 .include "../../x11/xextproto/buildlink3.mk" .include "../../x11/xproto/buildlink3.mk" @ 1.32 log @Updated libXi to 1.7.8. This release fixes a crash introduced in the 1.7.7 release. If a device has no classes, a wrong error was returned, eventually causing some applications to crash. This is fixed now. Niels Ole Salscheider (1): SizeClassInfo can return 0 even without an error Peter Hutterer (2): XListInputDevices: don't touch ndevices in case of error libXi 1.7.8 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2016/10/04 22:00:01 wiz Exp $ d3 1 a3 1 DISTNAME= libXi-1.7.8 @ 1.31 log @Updated libXi to 1.7.7. Matthieu Herrb (1): libXi 1.7.7 Tobias Stoeckmann (1): Properly validate server responses. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2016/02/26 11:27:15 jperkin Exp $ d3 1 a3 1 DISTNAME= libXi-1.7.7 @ 1.30 log @Use OPSYSVARS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2015/12/27 11:31:35 wiz Exp $ d3 1 a3 1 DISTNAME= libXi-1.7.6 @ 1.29 log @Update libXi to 1.7.6. One significant change here: libXi was using raw serial numbers in event cookies, the one read off the wire. All other events don't use that number but a Xlib-internal serial number which is similar but not always the same. This could cause events to look out of order. With this release, libXi is now using the same serial number for event cookies as it uses for all other events. Javier Pello (1): Fix const compiler warnings Peter Hutterer (2): Don't use raw serial numbers in XIEvents libXi 1.7.6 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2015/09/09 17:55:39 wiz Exp $ d25 1 a25 5 .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" CONFIGURE_ARGS+= --disable-malloc0returnsnull .endif @ 1.28 log @Update to 1.7.5: A couple of important bugfixes that have accumulated over the last year. Cosimo Cecchi (1): Fix version check in _XIAllowEvents Julien Cristau (1): Advance the request buffer by the right amount in XIChangeHierarchy Michal Srb (7): Fix double unlock when _XiCheckExtInit return -1. XIChangeHierarchy: Add missing unlock. Do not return NoSuchExtension casted to pointer as an error. XIGetClientPointer: Return False on error. Fix logic in _XIAllowEvents and prevent double unlock. Refactor XGetExtensionVersion. XIGrabDevice: Unlock display in error path. Peter Hutterer (1): libXi 1.7.5 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2014/10/09 14:07:14 wiz Exp $ d3 1 a3 1 DISTNAME= libXi-1.7.5 @ 1.27 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2014/07/19 06:12:44 wiz Exp $ d3 1 a3 1 DISTNAME= libXi-1.7.4 @ 1.26 log @Update to 1.7.4: More locking bugs fixed, so here's a minor release to make packaging easier. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2014/07/12 14:38:18 wiz Exp $ a12 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.25 log @Update to 1.7.3: Two important patches fixing deadlocks when using XIPassiveGrab requests. You're recommended to updated. Note that we now require libX11 1.6, that's a new dependency over 1.7.2 but it's over a year old by now anyway. Jasper St. Pierre (2): XIPassiveGrab: Fix display locking inside _XIPassiveGrabDevice for error paths XIPassiveGrab: Fix completely broken locking in XIGrabTouchBegin Keith Packard (1): man: Update XIQueryVersion docs to match new version compatibility semantics Michael Joost (1): Remove fallback for _XEatDataWords, require libX11 1.6 for it Peter Hutterer (1): libXi 1.7.3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2013/07/03 06:27:03 wiz Exp $ d3 1 a3 1 DISTNAME= libXi-1.7.3 @ 1.24 log @Update to 1.7.2. Changes in 1.7.2: Only one minor change since the RC. Again, this release contains the fixes for CVE-2013-1998, CVE-2013-1984 and CVE-2013-1995 so you're encouraged to update. Peter Hutterer (1): libXi 1.7.2 Thomas Klausner (1): Remove check that can never be true. Changses in 1.7.1.901: First and likely only RC for libXi 1.7.2. This one has a bunch of changes for CVE-2013-1998, CVE-2013-1984 and CVE-2013-1995. These relate to various integer overflows and other corruption that happens if we trust the server a bit too much on the data we're being sent. On top of those fixes, the sequence number in XI2 events is now set propertly too (#64687). Please test, if you find any issues let me know. Alan Coopersmith (14): Expand comment on the memory vs. reply ordering in XIGetSelectedEvents() Use _XEatDataWords to avoid overflow of rep.length bit shifting Stack buffer overflow in XGetDeviceButtonMapping() [CVE-2013-1998 1/3] memory corruption in _XIPassiveGrabDevice() [CVE-2013-1998 2/3] unvalidated lengths in XQueryDeviceState() [CVE-2013-1998 3/3] integer overflow in XGetDeviceControl() [CVE-2013-1984 1/8] integer overflow in XGetFeedbackControl() [CVE-2013-1984 2/8] integer overflow in XGetDeviceDontPropagateList() [CVE-2013-1984 3/8] integer overflow in XGetDeviceMotionEvents() [CVE-2013-1984 4/8] integer overflow in XIGetProperty() [CVE-2013-1984 5/8] integer overflow in XIGetSelectedEvents() [CVE-2013-1984 6/8] Avoid integer overflow in XGetDeviceProperties() [CVE-2013-1984 7/8] Avoid integer overflow in XListInputDevices() [CVE-2013-1984 8/8] sign extension issue in XListInputDevices() [CVE-2013-1995] Peter Hutterer (7): Copy the sequence number into the target event too (#64687) Don't overwrite the cookies serial number Fix potential corruption in mask_len handling Change size += to size = in XGetDeviceControl If the XGetDeviceDontPropagateList reply has an invalid length, return 0 Include limits.h to prevent build error: missing INT_MAX libXi 1.7.1.901 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2013/04/05 09:11:57 wiz Exp $ d3 1 a3 1 DISTNAME= libXi-1.7.2 d34 1 a34 1 BUILDLINK_API_DEPENDS.libX11+= libX11>=1.5 @ 1.23 log @Update to 1.7.1: Only a single fix: including the XFixes header to get the typedef for PointerBarrier. Naturally, this adds a pkgconfig build-time dependency on XFixes. Why? The header shipped with 1.7 typedef'd PointerBarrier. If you #include both XI and Xfixes headers, you will end up with a duplicate typedef. This is not an issue on gcc >= 4.6 since the two typedef's are the same. On earlier versions this will trigger an error. gcc 4.6 -pedantic-errors will trigger the same error. Peter Hutterer (2): Require XFixes for PointerBarrier, remove duplicate typedef libXi 1.7.1 @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.22 2013/03/14 17:37:51 drochner Exp $ # d3 1 a3 1 DISTNAME= libXi-1.7.1 @ 1.23.2.1 log @Pullup ticket #4177 - requested by taca x11/libXi: security update Revisions pulled up: - x11/libXi/Makefile 1.24 - x11/libXi/distinfo 1.20 --- Module Name: pkgsrc Committed By: wiz Date: Wed Jul 3 06:27:03 UTC 2013 Modified Files: pkgsrc/x11/libXi: Makefile distinfo Log Message: Update to 1.7.2. Changes in 1.7.2: Only one minor change since the RC. Again, this release contains the fixes for CVE-2013-1998, CVE-2013-1984 and CVE-2013-1995 so you're encouraged to update. Peter Hutterer (1): libXi 1.7.2 Thomas Klausner (1): Remove check that can never be true. Changses in 1.7.1.901: First and likely only RC for libXi 1.7.2. This one has a bunch of changes for CVE-2013-1998, CVE-2013-1984 and CVE-2013-1995. These relate to various integer overflows and other corruption that happens if we trust the server a bit too much on the data we're being sent. On top of those fixes, the sequence number in XI2 events is now set propertly too (#64687). Please test, if you find any issues let me know. Alan Coopersmith (14): Expand comment on the memory vs. reply ordering in XIGetSelectedEvents() Use _XEatDataWords to avoid overflow of rep.length bit shifting Stack buffer overflow in XGetDeviceButtonMapping() [CVE-2013-1998 1/3] memory corruption in _XIPassiveGrabDevice() [CVE-2013-1998 2/3] unvalidated lengths in XQueryDeviceState() [CVE-2013-1998 3/3] integer overflow in XGetDeviceControl() [CVE-2013-1984 1/8] integer overflow in XGetFeedbackControl() [CVE-2013-1984 2/8] integer overflow in XGetDeviceDontPropagateList() [CVE-2013-1984 3/8] integer overflow in XGetDeviceMotionEvents() [CVE-2013-1984 4/8] integer overflow in XIGetProperty() [CVE-2013-1984 5/8] integer overflow in XIGetSelectedEvents() [CVE-2013-1984 6/8] Avoid integer overflow in XGetDeviceProperties() [CVE-2013-1984 7/8] Avoid integer overflow in XListInputDevices() [CVE-2013-1984 8/8] sign extension issue in XListInputDevices() [CVE-2013-1995] Peter Hutterer (7): Copy the sequence number into the target event too (#64687) Don't overwrite the cookies serial number Fix potential corruption in mask_len handling Change size += to size = in XGetDeviceControl If the XGetDeviceDontPropagateList reply has an invalid length, return 0 Include limits.h to prevent build error: missing INT_MAX libXi 1.7.1.901 @ text @d1 2 a2 1 # $NetBSD$ d4 1 a4 1 DISTNAME= libXi-1.7.2 @ 1.22 log @adjust inputproto dependency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2013/03/12 11:39:49 wiz Exp $ d4 1 a4 2 DISTNAME= libXi-1.7 PKGREVISION= 1 d42 1 @ 1.21 log @redefinition of PointerBarrier. gcc 4.6 won't complain about that, but earlier versions do: http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ce3765bf44e49ef0568a1ad4a0b7f807591d6412 gcc 4.6 with -pedantic-errors shows: /opt/xorg/include/X11/extensions/XInput2.h:172:13: error: redefinition of typedef ‘PointerBarrier’ [-pedantic] In file included from test.c:1:0: /opt/xorg/include/X11/extensions/Xfixes.h:255:13: note: previous declaration of ‘PointerBarrier’ was here PointerBarriers is defined in XFixes.h and here. So hook onto the only thing we can in Xfixes.h and use that to figure out if we need to typedef ourselves. XFIXES_MAJOR is defined in xfixeswire.h, so we can't hook onto it directly. Adding this ifdef here means we have include order dependency of XFixes.h before XInput2.h unless we add a similar ifdef to the fixes headers. Signed-off-by: Peter Hutterer --- Nasty, but can't think of a better way atm. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2013/03/07 06:36:28 wiz Exp $ d35 1 a35 1 BUILDLINK_API_DEPENDS.inputproto+= inputproto>=2.2 @ 1.20 log @Update to 1.7: The feature added in this revision is pointer barrier events and releases. Pointer barriers themselves are an XFixes 5 feature, XI 2.3 adds two disctinct features to barriers: * the ability for clients to get notified if pointer movement is restricted by a barrier * the ability for clients to allow a pointer to move through a barrier after it was constrained by the barrier For a more verbose explanation of these features please refer to: http://who-t.blogspot.com.au/2012/12/whats-new-in-xi-23-pointer-barrier.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2013/01/21 13:59:14 wiz Exp $ d5 1 @ 1.19 log @Update to 1.6.2: Two man page fixes and a fix to enable generic event copying for raw touch events (using in e.g. XPeekEvent()) Benjamin Tissoires (1): Add missing XI_RawTouch* in XInputCopyCookie Peter Hutterer (3): man: fix formatting issues in XGetDeviceControl(3) man: add generation of missing man pages for XIGrabTouchBegin libXi 1.6.2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2012/10/29 05:06:35 asau Exp $ d4 1 a4 1 DISTNAME= libXi-1.6.2 @ 1.18 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2012/07/13 15:14:42 wiz Exp $ d4 1 a4 1 DISTNAME= libXi-1.6.1 @ 1.17 log @Update to 1.6.1. meta-pkgs/modular-xorg still builds. 1.6.1: Major bugs fixed: - wrong button and mask copy (doesn't just affect OS X, despite the commit log) - raw event sourceid is now set Chase Douglas (1): Destroy extension record after last display is removed Peter Hutterer (5): Fix wrong button label and mask copy on OS X Move version comparison into a helper function. Set the RawEvent sourceid (#34240) man: update XIQueryVersion for current server behaviour libXi 1.6.1 1.6.0: The main fix that libXi 1.6 brings is support for XI 2.2 multitouch events and the matching protocol changes. Chase Douglas (1): Fix XIScrollClass increment value on 32-bit machines Cyril Brulebois (1): configure.ac: Fix a typo in comments. Michał Masłowski (1): Fix bus error on MIPS N32 for bug #38331. Peter Hutterer (8): Bump to 1.5.99.1 Implement support for XI 2.2 libXi 1.5.99.2 man: fix typo Mappiing → Mapping Force class alignment to a multiple of sizeof(XID). Handle new XIAllowEvent request size libXi 1.5.99.3 libXi 1.6.0 1.5.0: libXi 1.5.0 is an interim version of libXi that includes the smooth scrolling support that XI 2.1 brings. Note that no servers released by X.Org currently supports smooth scrolling, this feature is still limited to the 1.12 development versions. In addition to the smooth scrolling support, this release brings a number of cleanups, bugfixes (most of which were on 1.4.5) and a set of man page improvements. Alan Coopersmith (3): Move Xinput server API documentation from libXi to xserver Fix the FIXME output in man page .TH macros generated by asciidoc Make shadow man pages generated by asciidoc work with Solaris man Gaetan Nadon (13): Documentation: add Docbook external references support make: remove unneeded AM_V_GEN silent rule directive. make: use AM_V_at rather than AM_V_GEN to prefix the mv command Install target dbs alongside generated documents Install xml versions of specs even if HAVE_XMLTO is false docbook.am: global maintenance update - entities, images and olinking docbook.am: embed css styles inside the HTML HEAD element docs: remove which is not used by default docs: use the &fullrelvers; entity to set X11 release information inputlib: fix copyright statements inputlib: prefix 1.0 with the word Version inputlib: restore original title "X Input Device Extension Library" specs: refactor and complete copyright legal text Jeremy Huddleston (1): Use AM_CPPFLAGS to use in tree headers before installed headers Matt Dew (2): Add id attributes to funcsynopsis to allow other docs to olink to them. 1 - fix the capitalization of the ID attriutes to match either the Matthieu Herrb (1): Fix XISelectEvents on 64 bits, strict alignement architectures. Peter Hutterer (34): Allocate enough memory for raw events + extra data. XIChangeHierarchy: Return Success early if no actual changes are requested. Remove a few unused assignments. man: fix typo, layout in XGetExtensionVersion.man Silence compiler warning in XListDProp.c Silence compiler warning due to differnent event conversion procs man: fix missing comma in XIGrabEnter man page Use Data, not Data32 in XIPassiveGrabDevice man: Fix wrong event names in XIGrabButton. man: Fix typo in XIChangeProperty Bump to 1.4.99 man: Fix formatting in XGetFeedbackControl Add XI2 library-internal array offsets to XIint.h Don't use the protocol defines for 2.0 versioning. Handle unknown device classes. man: fix typo in XIQueryDevice man page man: update property and grab man pages for new constants Handle unknown device classes. man: fix typo in XIQueryDevice man page man: update property and grab man pages for new constants Require inputproto 2.0.99.1 or later Support XI 2.1 internally Support XI 2.1 XIScrollClass Use a separate nclasses variable in XIQueryDevice Remove superfluous assignment of lib->classes in XIQueryDevices. Bump to 1.4.99.1 man: fix #include for XIGrabButton man: XIGrabButton returns error codes, not status codes man: passive grabs return the number of failed modifier combinations Fix duplicate sizeof in copy_classes Stop unnecessary calls to size_classes Include config.h from source files man: minor formatting fix in XIGrabButton libXi 1.5.0 1.4.5: libXi 1.4.4 caused requests to fail if the library was built against 2.1 or 2.2 protocol headers. Instead of requiring 2.0 for XI2 requests, the library required the protocol version (2.1 or 2.2 depending on the proto) and failed if the server did not support that version. This again caused virtually all XI2 requests to fail if you didn't happen to run an X server from git. The patch below hardcodes 2.0 for those requests that require 2.0, regardless of the protocol version. You are strongly enocuraged to update. This issue is not visible when built against inputproto 2.0.x Peter Hutterer (2): Don't use the protocol defines for 2.0 versioning. libXi 1.4.5 1.4.4: libXi 1.4.4 comes with two memory fixes that can cause crashes in clients. Commit "Handle unknown device classes" can only be triggered when libXi 1.4.x runs against the git X server. If the XIQueryDevice() reply contained classes unknown to libXi, we didn't allocate memory for these classes and ended up overwriting valid ones. Commit "Fix duplicate sizeof in copy_classes" fixes a typo, instead of malloc(X * sizeof(Y)) the code called malloc(sizeof(X * sizeof(Y))). This could lead to memory corruption. Peter Hutterer (8): man: Fix formatting in XGetFeedbackControl man: fix typo in XIQueryDevice man page Handle unknown device classes. man: fix #include for XIGrabButton man: XIGrabButton returns error codes, not status codes man: passive grabs return the number of failed modifier combinations Fix duplicate sizeof in copy_classes libXi 1.4.4 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2012/05/31 21:29:40 mlelstv Exp $ a14 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.16 log @reference shared manpages in correct subdirectory. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2011/06/12 00:21:53 dholland Exp $ d4 1 a4 2 DISTNAME= libXi-1.4.3 PKGREVISION= 1 d35 2 a36 2 BUILDLINK_API_DEPENDS.inputproto+= inputproto>=2.0 BUILDLINK_API_DEPENDS.libX11+= libX11>=1.3 @ 1.15 log @Update to libXi-1.4.3: bug and doc fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2010/09/10 18:52:06 joerg Exp $ d5 1 d25 5 @ 1.14 log @Update to libXi-1.3.2: Viarous bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2010/04/11 10:39:30 dholland Exp $ d4 1 a4 1 DISTNAME= libXi-1.3.2 d30 5 a34 1 BUILDLINK_API_DEPENDS.inputproto+= inputproto>=1.5 @ 1.13 log @Force it to not see asciidoc and xmlto, or it starts rebuilding its man pages and (for reasons that are not entirely clear) chokes and dies. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2010/04/09 08:46:32 tnn Exp $ d4 1 a4 1 DISTNAME= libXi-1.3 d12 1 @ 1.12 log @Update to libXi-1.3. Most notable change is that this brings XI2 support, matching changes noted in the inputproto-2.0 update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2009/02/27 21:36:10 wiz Exp $ d20 1 a20 1 CONFIGURE_ENV+= LIB_MAN_SUFFIX=3 @ 1.11 log @Update to 1.2.1: libXi 1.2.1. Fixes a potential memory overflow in XGetDeviceControl. Alan Coopersmith (1): Add README with pointers to mailing list, bugzilla & git repos Paulo Cesar Pereira de Andrade (1): Return NULL on error, and match LockDisplay with UnlockDisplay. Peter Hutterer (3): XGetDeviceControl: Add a missing break leading to wrong length calculation. XGetDeviceControl: size the libXi structs, not the wire structs (#20293) libXi 1.2.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2009/01/07 21:58:09 wiz Exp $ d4 1 a4 1 DISTNAME= libXi-1.2.1 @ 1.10 log @Update to 1.2.0: Following the inputproto 1.5 release adding input device properties, here's the matching client-side libraries. Peter Hutterer (4): Bump to 1.1.99.2. Add XI_JOYSTICK to list of defined types. Add support for XI 1.5 device properties. libXi 1.2.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2008/11/17 11:30:31 wiz Exp $ d4 1 a4 1 DISTNAME= libXi-1.2.0 @ 1.9 log @Update to 1.1.4: (pkgsrc already contained the Coverity and GetDeviceControl patches) Alan Coopersmith (1): Coverity #743/744: Returned without freeing storage bufp/savp Matthieu Herrb (1): nuke RCS Ids Peter Hutterer (2): GetDeviceControl: calculate the length field correctly. libXi 1.1.4 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2008/05/24 21:45:15 tnn Exp $ d4 1 a4 1 DISTNAME= libXi-1.1.4 d29 1 @ 1.8 log @Switch master site to MASTER_SITE_XORG. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2008/01/29 03:45:36 bjs Exp $ d4 1 a4 2 DISTNAME= libXi-1.1.3 PKGREVISION= 1 @ 1.7 log @ Add two bug fixes from GIT (see patch headings for more info). Bump rev. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2007/09/21 19:28:47 bjs Exp $ d7 1 a7 1 MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/ @ 1.6 log @ Update to version 1.1.3. The most important feature of this release is a set of locking fixes, which unbreak this library for threaded apps. The lock issues were exposed by libxcb. -- XChangeDeviceControl: Fix completely broken locking -- XSetDeviceFocus: Add missing extension check -- XGetSelectedExtensionEvents: Still more locking bugs -- Bug #9659: Bad markup on XListInputDevices.3x @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2007/08/05 21:49:26 joerg Exp $ d5 1 @ 1.5 log @Update to libXi-1.1.2: Unstatic a function again. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2007/07/27 23:42:56 joerg Exp $ d4 1 a4 1 DISTNAME= libXi-1.1.2 @ 1.4 log @Tell configure that malloc(0) != NULL on NetBSD unless running out of memory. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2007/07/12 17:11:57 joerg Exp $ d4 1 a4 1 DISTNAME= libXi-1.1.1 @ 1.3 log @Update libXi to 1.1.1: Fix _XiCheckExtInit to always drop the Display lock. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2007/01/23 14:30:17 joerg Exp $ d23 6 @ 1.2 log @Update to libXi-1.1.0: 1.0.0 -> 1.0.1: non-functional 1.0.1 -> 1.0.2: don't call XInput_find_display with the Display lock held, saves time as well 1.0.2 -> 1.1.0: use interface for device presense notification. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2006/11/03 18:24:38 joerg Exp $ d4 1 a4 1 DISTNAME= libXi-1.1.0 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 DISTNAME= libXi-1.0.0 @ 1.1.1.1 log @Import libXi-1.0.0 from pkgsrc: This package contains the Xi extension. This is the X Input extension library. This is part of the X Libraries and Protocol Headers Project at freedesktop.org. @ text @@