diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-02 18:00:43 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-02 18:00:43 +0000 |
commit | ccc81c6b57dccda4a0adecd9e76242b9f9c7b63b (patch) | |
tree | 13b288e482c4714efca70621ce5fc1cd90ba2f48 /x11-wm/blackbox/files | |
parent | Add to ruby herd. (diff) | |
download | historical-ccc81c6b57dccda4a0adecd9e76242b9f9c7b63b.tar.gz historical-ccc81c6b57dccda4a0adecd9e76242b9f9c7b63b.tar.bz2 historical-ccc81c6b57dccda4a0adecd9e76242b9f9c7b63b.zip |
Enabling shared libs, fixing as-needed issues wrt bug 248549. Thanks Diego for the report.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'x11-wm/blackbox/files')
-rw-r--r-- | x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch b/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch new file mode 100644 index 000000000000..a6b1e22e62b5 --- /dev/null +++ b/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch @@ -0,0 +1,49 @@ +Fixing build with as-needed. Enabling shared libs. + +http://bugs.gentoo.org/show_bug.cgi?id=248549 + +--- src/Makefile.am ++++ src/Makefile.am +@@ -22,7 +22,7 @@ + + DEFAULT_MENU = $(pkgdatadir)/menu + DEFAULT_STYLE = $(pkgdatadir)/styles/Gray +-CPPFLAGS = @CPPFLAGS@ @SHAPE@ @XFT@ @DEBUG@ @NLS@ \ ++AM_CPPFLAGS = @SHAPE@ @XFT@ @DEBUG@ @NLS@ \ + -DLOCALEPATH=\"$(pkgdatadir)/nls\" \ + -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ + -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ +--- lib/Makefile.am ++++ lib/Makefile.am +@@ -62,7 +62,8 @@ + Util.hh \ + XDG.hh + +-libbt_la_LIBADD = @ICONV@ @LOCALE@ ++libbt_la_LIBADD = @ICONV@ @LOCALE@ @xft_LIBS@ ++libbt_la_CFLAGS = @xft_CFLAGS@ + + pkgconfigdir = $(libdir)/pkgconfig + nodist_pkgconfig_DATA = libbt.pc +--- util/Makefile.am ++++ util/Makefile.am +@@ -21,7 +21,7 @@ + # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + # DEALINGS IN THE SOFTWARE. + +-CPPFLAGS = @CPPFLAGS@ @DEBUG@ @NLS@ \ ++AM_CPPFLAGS = @DEBUG@ @NLS@ \ + -I$(top_srcdir)/lib + + bin_SCRIPTS = bsetbg +--- configure.ac ++++ configure.ac +@@ -29,7 +29,7 @@ + AC_PROG_INSTALL + + dnl libbt shouldn't be shared by default (yet) +-AC_DISABLE_SHARED ++dnl AC_DISABLE_SHARED + AC_PROG_LIBTOOL + AC_SUBST(LIBTOOL_DEPS) + |