~ubuntu-branches/ubuntu/saucy/instead/saucy

« back to all changes in this revision

Viewing changes to debian/patches/linking-fix

  • Committer: Package Import Robot
  • Author(s): Daniel T Chen
  • Date: 2013-04-22 12:32:17 UTC
  • Revision ID: package-import@ubuntu.com-20130422123217-ottuqrxvm2bnkf62
Tags: 1.6.0-1ubuntu1
Added missing lib to link, fixing FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
Reviewed-By: <p.kosyh@gmail.com>
6
6
Last-Update: <2012-01-15>
7
7
 
8
 
--- instead-1.6.0.orig/configure.sh
9
 
+++ instead-1.6.0/configure.sh
10
 
@@ -158,7 +158,11 @@ fi
 
8
Index: instead-1.6.0/configure.sh
 
9
===================================================================
 
10
--- instead-1.6.0.orig/configure.sh     2011-12-20 06:21:59.000000000 -0500
 
11
+++ instead-1.6.0/configure.sh  2013-04-22 12:36:39.193382847 -0400
 
12
@@ -158,7 +158,11 @@
11
13
 if [[ ! -z "$gtk_cflags" ]]; then
12
14
        echo "EXTRA_CFLAGS+=-D_USE_GTK -D_USE_BROWSE" >> config.make
13
15
        echo "EXTRA_CFLAGS+=\$(shell $gtk_cflags)" >> config.make
15
17
+       if [ -z "$gtk_libs" ]; then
16
18
+               echo "EXTRA_LDFLAGS+=\$(shell $gtk_libs)" >> config.make
17
19
+       else
18
 
+               echo "EXTRA_LDFLAGS+=-pthread -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0" >> config.make
 
20
+               echo "EXTRA_LDFLAGS+=-pthread -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lm" >> config.make
19
21
+       fi
20
22
 fi
21
23
 if [[ -z "$zlib_cflags" ]]; then