summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libxfixes
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/libxfixes')
-rw-r--r--abs/core-testing/libxfixes/PKGBUILD22
-rw-r--r--abs/core-testing/libxfixes/xfixes_coverity576.patch16
2 files changed, 38 insertions, 0 deletions
diff --git a/abs/core-testing/libxfixes/PKGBUILD b/abs/core-testing/libxfixes/PKGBUILD
new file mode 100644
index 0000000..e088300
--- /dev/null
+++ b/abs/core-testing/libxfixes/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+#Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libxfixes
+pkgver=4.0.3
+pkgrel=1
+pkgdesc="X11 miscellaneous 'fixes' extension library"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+depends=('libx11' 'fixesproto')
+makedepends=('pkgconfig')
+options=('!libtool')
+source=(${url}/releases/individual/lib/libXfixes-${pkgver}.tar.bz2)
+md5sums=('1990d19725a3c7f32290037f02d3737f')
+
+build() {
+ cd ${startdir}/src/libXfixes-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --build=${CHOST} --host=${CHOST}
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+}
diff --git a/abs/core-testing/libxfixes/xfixes_coverity576.patch b/abs/core-testing/libxfixes/xfixes_coverity576.patch
new file mode 100644
index 0000000..f759ecc
--- /dev/null
+++ b/abs/core-testing/libxfixes/xfixes_coverity576.patch
@@ -0,0 +1,16 @@
+===================================================================
+RCS file: /srv/anoncvs.freedesktop.org/cvs/xorg/lib/Xfixes/src/Xfixes.c,v
+rcsdiff: /srv/anoncvs.freedesktop.org/cvs/xorg/lib/Xfixes/src/Xfixes.c,v: warning: Unknown phrases like `commitid ...;' are present.
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -r1.3 -r1.4
+--- src/Xfixes.c 2005/05/17 17:02:24 1.3
++++ src/Xfixes.c 2006/04/03 00:58:13 1.4
+@@ -86,6 +86,7 @@
+ {
+ UnlockDisplay (dpy);
+ SyncHandle ();
++ Xfree(info);
+ return 0;
+ }
+ info->major_version = rep.majorVersion;