libcaca/libcaca-X11_test.patch
Илья Индиго 3244c558e5 Accepting request 980827 from home:dirkmueller:Factory
- update 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 
- drop bsc1184751-add-space-for-NUL-byte.patch,
  Bug1120502-add_cast_to_prevent_overflow.patch,
  Bug1143286_libcaca_configure_ac_chg_for_lto.patch,
  libcaca-bsc1182731-prevent-overflow.patch,
  libcaca-variable-type.patch: obsolete

OBS-URL: https://build.opensuse.org/request/show/980827
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcaca?expand=0&rev=64
2022-06-05 01:04:35 +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}"