libcaca/libcaca-X11_test.patch
Илья Индиго cf4a8c5772 Accepting request 1035864 from home:vlefebvre:branches:multimedia:libs
- add patch [libcaca-autoconf-2.69.patch]
  * Don't force autoconf to be at version 2.71

- Upgrade to 0.99.beta20
  * IPv6 support in cacaserver
  * fixed a bug from 2004 that caused PDF documentation generation to fail
  * memory allocation functions are now more robust
  * numerous fixes for memory leaks and invalid memory accesses:
    * CVE-2021-30498
    * CVE-2021-30499
    * CVE-2021-3410
    * CVE-2018-20546
    * CVE-2018-20547
    * CVE-2018-20545
    * CVE-2018-20548
    * CVE-2018-20549
- Dropped upstream fixed patches
  * libcaca-bsc1182731-prevent-overflow.patch
  * libcaca-variable-type.patch
  * Bug1120502-add_cast_to_prevent_overflow.patch

OBS-URL: https://build.opensuse.org/request/show/1035864
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcaca?expand=0&rev=71
2022-11-16 14:17:39 +00:00

14 lines
645 B
Diff

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -225,7 +225,7 @@ if test "${enable_x11}" != "no"; then
AC_CHECK_LIB(X11, XOpenDisplay,
[ac_cv_my_have_x11="yes"
if test -n "${x_includes}"; then X_CFLAGS="-I${x_includes}"; fi
- if test -n "${x_libraries}"; then X_LIBS="-L${x_libraries}"; fi
+ if test -n "${x_libraries}" -a "${x_libraries}" != "/usr"; then X_LIBS="-L${x_libraries}"; fi
AC_DEFINE(USE_X11, 1, Define to 1 to activate the X11 backend driver)
CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
X11_LIBS="${X11_LIBS} -lX11 ${X_LIBS}"