svn commit: r378364 - head/x11/libxkbfile/files
Koop Mast
kwm at FreeBSD.org
Tue Feb 3 18:54:28 UTC 2015
Author: kwm
Date: Tue Feb 3 18:54:27 2015
New Revision: 378364
URL: https://svnweb.freebsd.org/changeset/ports/378364
QAT: https://qat.redports.org/buildarchive/r378364/
Log:
Add patch from upstream to fix the build with clang 3.6.
PR: 197184
Submitted by: amdmi3@
Obtained from: libxkbfile upstream
Added:
head/x11/libxkbfile/files/
head/x11/libxkbfile/files/patch-src_cout.c (contents, props changed)
Added: head/x11/libxkbfile/files/patch-src_cout.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/libxkbfile/files/patch-src_cout.c Tue Feb 3 18:54:27 2015 (r378364)
@@ -0,0 +1,21 @@
+From 9fa04388dcbb5bf205319569f540a62c03754688 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=B6rg=20Sonnenberger?= <joerg at NetBSD.org>
+Date: Wed, 26 Nov 2014 14:33:38 +0100
+Subject: Remove unnecessary check.
+
+The vmods member of XkbNamesPtr is an array and thus never NULL.
+
+Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
+Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
+
+--- src/cout.c.orig 2012-03-08 05:37:23.000000000 +0100
++++ src/cout.c 2015-02-03 19:45:53.373211000 +0100
+@@ -45,7 +45,7 @@ WriteCHdrVMods(FILE *file,Display *dpy,X
+ {
+ register int i,nOut;
+
+- if ((!xkb)||(!xkb->names)||(!xkb->names->vmods))
++ if ((!xkb)||(!xkb->names))
+ return False;
+ for (i=nOut=0;i<XkbNumVirtualMods;i++) {
+ if (xkb->names->vmods[i]!=None) {
More information about the svn-ports-all
mailing list