summaryrefslogtreecommitdiffstats
path: root/package/libdrm/0003-configure-Makefile.am-use-pkg-config-to-discover-lib.patch
Commit message (Collapse)AuthorAgeFilesLines
* package/libdrm: adjust patch switching to pkg-config for libatomic_opsBernd Kuhls2018-01-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | In commit fa6c7d165971e1f70b9ac94bae9cd1fd9180c072 ("libdrm: fix libatomic_ops linking"), a patch was added to switch to PKG_CHECK_MODULES() to detect libatomic_ops instead of AC_CHECK_HEADER. However, as explained in https://autotools.io/pkgconfig/pkg_check_modules.html: "In contrast with almost all of the original macros, though, the default action-if-not-found will end the execution with an error for not having found the dependency." This makes the configure script bail out when libatomic_ops is not available, which is not what we want in libdrm's configure script. This commit adjusts the PKG_CHECK_MODULES() call to avoid failing. Fixes: http://autobuild.buildroot.net/results/cea/cea777dc997f86c1122c8b818d264215a0e77e5a/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm: fix libatomic_ops linkingPeter Seiderer2018-01-021-0/+160
Add patch 0003-configure-Makefile.am-use-pkg-config-to-discover-lib.patch provided by Thomas Petazzoni handling libatomic_ops linking when needed. Fixes [1]: CCLD etnaviv_cmd_stream_test ../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `AO_store_full_emulation' ../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `AO_fetch_compare_and_swap_emulation' collect2: error: ld returned 1 exit status [1] http://autobuild.buildroot.net/results/92e074c49417261843eef95872ff935a56077c98 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud