derekf pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=963fedcea7ee43f20089deb17b93790ede139178

commit 963fedcea7ee43f20089deb17b93790ede139178
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Aug 4 12:13:40 2017 -0500

    ecore_drm2: Fix linker problems
    
    Accidentally used functions in the library directly instead of through
    the sym_* dlsym looked-up variants.
    
    Why this only caused problems in some installations may still be worth
    investigating - we may be pulling in libdrm at link time from some
    other library?
---
 src/lib/ecore_drm2/ecore_drm2_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c 
b/src/lib/ecore_drm2/ecore_drm2_device.c
index 446230edb9..3545d1a299 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -77,7 +77,7 @@ _drm2_device_modeset_capable(int fd)
    int ret = EINA_TRUE;
    drmModeRes *res;
 
-   res = drmModeGetResources(fd);
+   res = sym_drmModeGetResources(fd);
    if (!res)
      return EINA_FALSE;
 
@@ -86,7 +86,7 @@ _drm2_device_modeset_capable(int fd)
        res->count_encoders <= 0)
      ret = EINA_FALSE;
 
-   drmModeFreeResources(res);
+   sym_drmModeFreeResources(res);
 
    return ret;
 }

-- 


Reply via email to