~ubuntu-branches/ubuntu/precise/gle-graphics/precise

« back to all changes in this revision

Viewing changes to debian/patches/libgs9

  • Committer: Package Import Robot
  • Author(s): Christian T. Steigies
  • Date: 2011-11-07 22:42:59 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20111107224259-w61pm71qw0al6gp9
Tags: 4.2.3b-2
* configure with-scripts=no
* remove glebtool only when it exists
* do not compress LICENSE.txt as it is read by qgle
* let qgle search for /usr/lib/libgs.so.9 before any other libgs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/src/gui/qgslibloader.cpp
 
2
+++ b/src/gui/qgslibloader.cpp
 
3
@@ -246,6 +246,8 @@
 
4
        /* Try to load the library */
 
5
        if (location == "") {
 
6
                #ifdef Q_WS_X11
 
7
+               // Debian puts libraries in /usr/lib independant of architecture
 
8
+               tryLocation("/usr/lib/libgs.so.9");
 
9
                #ifdef __x86_64__
 
10
                // try 64 bit libraries on 64 bit system
 
11
                tryLocation("/usr/lib64/libgs.so");