diff --git a/htmldoc-link-x11.patch b/htmldoc-link-x11.patch new file mode 100644 index 0000000..9967f2e --- /dev/null +++ b/htmldoc-link-x11.patch @@ -0,0 +1,12 @@ +Index: htmldoc-1.8.27/configure.in +=================================================================== +--- htmldoc-1.8.27.orig/configure.in ++++ htmldoc-1.8.27/configure.in +@@ -294,6 +294,7 @@ if test "x$with_gui" != xno; then + POST="$FLTKCONFIG --post" + + AC_CHECK_LIB(Xpm,XpmCreatePixmapFromData) ++ AC_CHECK_LIB(X11,XCreateBitmapFromData) + else + AC_MSG_WARN(FLTK not available so no GUI will be built.) + fi diff --git a/htmldoc.changes b/htmldoc.changes index 90e6b1a..5fed6de 100644 --- a/htmldoc.changes +++ b/htmldoc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 19 22:57:21 UTC 2013 - dimstar@opensuse.org + +- Add htmldoc-link-x11.patch: link the GUI app against libX11. + ------------------------------------------------------------------- Tue Sep 4 14:51:24 UTC 2012 - pgajdos@suse.com diff --git a/htmldoc.spec b/htmldoc.spec index 9b52962..115ea87 100644 --- a/htmldoc.spec +++ b/htmldoc.spec @@ -1,7 +1,7 @@ # # spec file for package htmldoc # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,6 +37,7 @@ Patch1: htmldoc_CVE-2009-3050_535943.diff Patch2: htmldoc-fortify.diff # link to libpng15.patch sent to mike@easysw.com Patch3: htmldoc-libpng15.diff +Patch4: htmldoc-link-x11.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define DOCDIR %{_datadir}/doc/packages/%{name} @@ -51,6 +52,7 @@ printed. %patch1 -p1 %patch2 %patch3 +%patch4 -p1 %build export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing"