ports/x11-drivers/xf86-input-hyperpen/files/patch-git_06_2c03719
Baptiste Daroussin 3af560a8a8 Import few patches from upstream to allow building with newer xorg
Note that those drivers are barely maintained and might disappear in the futur

PR:		216273
Submitted by:	matthew@reztek.cz
2017-01-23 22:32:10 +00:00

21 lines
763 B
Text

From 2c037196bcc50cb299bc768124404b38cb67c087 Mon Sep 17 00:00:00 2001
From: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Sun, 20 May 2012 10:59:09 +0200
Subject: src/Makefile.am: set AM_CFLAGS correctly.
diff --git a/src/Makefile.am b/src/Makefile.am
index dbb7ae0..e7fae3f 100644
--- src/Makefile.am
+++ src/Makefile.am
@@ -24,6 +24,7 @@
# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
# _ladir passes a dummy rpath to libtool so the thing will actually link
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
+AM_CFLAGS = $(XORG_CFLAGS)
@DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
@DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
@DRIVER_NAME@_drv_ladir = @inputdir@
--
cgit v0.10.2