[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#426710: Build with -fPIC and add libkpathsea4 Depends to libkpathsea-dev



Package: texlive-bin
Version: 2007-9
Severity: important
Tags: patch

Please build texlive-bin with -fPIC and add a libkpathsea4 Depends to
libkpathsea-dev. This will fix the FTBFS of evince on 64 bit systems.

Ubuntu build failure: http://librarian.launchpad.net/7866732/buildlog_ubuntu-gutsy-amd64.evince_0.9.0-1ubuntu2_FAILEDTOBUILD.txt.gz
(This will happen in Debian too, once the new evince moves from
experimental to unstable).

Mandriva bug about that: http://qa.mandriva.com/show_bug.cgi?id=26479

diff -u texlive-bin-2007/debian/control texlive-bin-2007/debian/control
--- texlive-bin-2007/debian/control
+++ texlive-bin-2007/debian/control
@@ -195,7 +195,7 @@
 Package: libkpathsea-dev
 Section: libdevel
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, libkpathsea4 (= ${Source-Version})
 Description: TeX Live: path search library for TeX (development part)
  This package contains the static library and header files for the
  Kpathsea[rch] library.
diff -u texlive-bin-2007/debian/rules texlive-bin-2007/debian/rules
--- texlive-bin-2007/debian/rules
+++ texlive-bin-2007/debian/rules
@@ -3,7 +3,8 @@
 # debian/rules file for texlive-bin
 # $Id: rules.in 2893 2007-05-24 18:07:42Z frank $
 PACKAGES=texlive-base-bin texlive-extra-utils texlive-font-utils texlive-metapost texlive-omega texlive-xetex texlive-music texlive-lang-indic libkpathsea4 libkpathsea-dev
-
+CXXFLAGS += -fPIC
+export CXXFLAGS
 SHELL=/bin/bash
 
 # needed for quilt:

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: