diff --git a/0001-Remove-uneeded-xorg-server-dependency.patch b/0001-Remove-uneeded-xorg-server-dependency.patch new file mode 100644 index 0000000..8ea807e --- /dev/null +++ b/0001-Remove-uneeded-xorg-server-dependency.patch @@ -0,0 +1,24 @@ +From bc13ec00c19a3761fa11fb042601ae721458d366 Mon Sep 17 00:00:00 2001 +From: Nicolas Chauvet +Date: Fri, 20 May 2016 17:20:55 +0200 +Subject: [PATCH] Remove uneeded xorg-server dependency + +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 27da191..a0b2638 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -100,7 +100,6 @@ AX_PTHREAD() + + PKG_CHECK_MODULES([X11], [x11]) + PKG_CHECK_MODULES([XEXT], [xext]) +-PKG_CHECK_MODULES([XORG], [xorg-server >= 1.11.0]) + PKG_CHECK_MODULES([GLPROTO], [glproto]) + + dnl Checks for typedefs, structures, and compiler characteristics. +-- +2.4.11 + diff --git a/libglvnd.spec b/libglvnd.spec index 425c3b2..09796f8 100644 --- a/libglvnd.spec +++ b/libglvnd.spec @@ -11,6 +11,8 @@ Summary: The GL Vendor-Neutral Dispatch library License: MIT and BSD and LGPLv2+ URL: https://github.com/NVIDIA/libglvnd Source0: https://github.com/NVIDIA/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +#https://github.com/NVIDIA/libglvnd/pull/90 +Patch0: 0001-Remove-uneeded-xorg-server-dependency.patch #This library only target few architectures use case ExclusiveArch: x86_64 i686 armv7hl @@ -18,6 +20,7 @@ ExclusiveArch: x86_64 i686 armv7hl BuildRequires: libtool BuildRequires: libxml2-python +BuildRequires: pkgconfig(glproto) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xv) @@ -53,6 +56,7 @@ developing applications that use %{name}. %prep %setup -q -n %{name}-%{?commit0}%{?!commit0:%{version}} +%patch0 -p1 autoreconf -vif diff --git a/sources b/sources index be1595d..3f17b44 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -80e13034ce86b5a7578bcd27e06f9c64 libglvnd-509de0d.tar.gz +80e13034ce86b5a7578bcd27e06f9c64 libglvnd-a82982d.tar.gz