[BACK]Return to patch-src_xf86HyperPen.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xf86-input-hyperpen / patches

File: [cvs.NetBSD.org] / pkgsrc / x11 / xf86-input-hyperpen / patches / patch-src_xf86HyperPen.c (download)

Revision 1.1, Sat Jul 4 06:38:06 2015 UTC (4 years, 7 months ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, HEAD

use c99 and patch out incompletely obsoleted sun specific processing.

$NetBSD: patch-src_xf86HyperPen.c,v 1.1 2015/07/04 06:38:06 richard Exp $

sun specific processing obsoleted in 1.4.0
https://bugs.freedesktop.org/show_bug.cgi?id=91216

--- src/xf86HyperPen.c.orig	2011-07-05 01:34:17.000000000 +0000
+++ src/xf86HyperPen.c
@@ -845,7 +845,7 @@ xf86HypInit(InputDriverPtr      drv,
     pInfo->fd = -1;
     priv->AutoPT = 1;
 
-#if defined(sun) && !defined(i386)
+#if 0 && defined(sun) && !defined(i386)
     if (dev_name) {
         priv->hypDevice = (char *)alloc(strlen(dev_name) + 1);
         strcpy(priv->hypDevice, dev_name);