~ubuntu-branches/ubuntu/saucy/gauche-c-wrapper/saucy

« back to all changes in this revision

Viewing changes to debian/patches/01_use_installed_libffi.patch

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2011-10-09 14:53:27 UTC
  • Revision ID: james.westby@ubuntu.com-20111009145327-2pvl0w452ahjmgif
Tags: 0.6.1-4.1
* Non-maintainer upload.
* Fix "FTBFS: gcc: error: /usr/lib/libffi_pic.a: No such file or
  directory": apply patch from Ubuntu / Matthias Klose, changing
  01_use_installed_libffi.patch:
  - Search libffi_pic.a in the multiarch location.
    Closes: #634394. LP: #831289.
* Explicitly build-depend on dpkg-dev (>= 1.16.0) to get dpkg-architecture's
  DEB_HOST_MULTIARCH variable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
+CPPFLAGS       = -DGAUCHE_API_0_8_8 @CPPFLAGS@
14
14
 LDFLAGS        = @LDFLAGS@
15
15
-LIBS           = libffi/.libs/libffi.a @LIBS@
16
 
+LIBS           = /usr/lib/libffi_pic.a @LIBS@
 
16
+LIBS           = /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/libffi_pic.a @LIBS@
17
17
 
18
18
 YACC           = @YACC@
19
19