summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cowgill <jcowgill@debian.org>2017-07-09 01:12:38 +0100
committerJames Cowgill <jcowgill@debian.org>2017-07-09 01:17:10 +0100
commit38d8a8123ac7f900cfc884f3f208331b7487de41 (patch)
tree25116dd35a260b2c07cf7ff7d412026faf51c029
parent509359fd533fcfff0cd7ddc528bf1437f450bc6f (diff)
Fix libsfml-window.so libraries when building on hurd-i386
The hurd patch wasn't updated to link Xrandr when the XCB conversion was reverted upstream in SFML 2.4.1. This causes ld.so errors in reverse dependencies on hurd.
-rw-r--r--debian/patches/02_hurd.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/02_hurd.patch b/debian/patches/02_hurd.patch
index ebb5d2a..dc4db4d 100644
--- a/debian/patches/02_hurd.patch
+++ b/debian/patches/02_hurd.patch
@@ -67,7 +67,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
if(SFML_OS_WINDOWS)
list(APPEND WINDOW_EXT_LIBS winmm gdi32)
+elseif(SFML_OS_HURD)
-+ list(APPEND WINDOW_EXT_LIBS ${X11_X11_LIB} ${LIBXCB_LIBRARIES})
++ list(APPEND WINDOW_EXT_LIBS ${X11_X11_LIB} ${X11_Xrandr_LIB})
elseif(SFML_OS_LINUX)
list(APPEND WINDOW_EXT_LIBS ${X11_X11_LIB} ${X11_Xrandr_LIB} ${UDEV_LIBRARIES})
elseif(SFML_OS_FREEBSD)