libepoxy looks for libGL.so.1. This matches the pkgsrc version, but

native X has libGL.so.2. Split the difference and look for libGL.so.
This commit is contained in:
prlw1 2015-06-14 21:50:07 +00:00
parent 4e0260cd89
commit a0637ce3ad
3 changed files with 19 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.4 2015/06/13 19:13:10 tnn Exp $
# $NetBSD: Makefile,v 1.5 2015/06/14 21:50:07 prlw1 Exp $
DISTNAME= libepoxy-1.2
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=anholt/}
GITHUB_TAG= v${PKGVERSION_NOREV}

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.2 2015/06/13 19:13:10 tnn Exp $
$NetBSD: distinfo,v 1.3 2015/06/14 21:50:07 prlw1 Exp $
SHA1 (libepoxy-1.2.tar.gz) = e700520711b9e4fa07c286aa36e431d8ad4133f5
RMD160 (libepoxy-1.2.tar.gz) = fc5c11eacb437b437c4d6b185a79dc1d6a4467df
Size (libepoxy-1.2.tar.gz) = 267110 bytes
SHA1 (patch-configure.ac) = 6651693923d0384806a400e54c9dcec8553f06c4
SHA1 (patch-src_dispatch__common.c) = 09132e4da31ff799563e2f7aae0b1af42a87701f
SHA1 (patch-src_dispatch__common.h) = a95512892d4f0172366b19246602f00db6c03dc6

View file

@ -0,0 +1,15 @@
$NetBSD: patch-src_dispatch__common.c,v 1.1 2015/06/14 21:50:07 prlw1 Exp $
Native X has /usr/X11R7/lib/libGL.so.2.
--- src/dispatch_common.c.orig 2014-05-14 00:22:08.000000000 +0000
+++ src/dispatch_common.c
@@ -105,7 +105,7 @@
#ifdef __APPLE__
#define GLX_LIB "/opt/X11/lib/libGL.1.dylib"
#else
-#define GLX_LIB "libGL.so.1"
+#define GLX_LIB "libGL.so"
#endif
struct api {