~ubuntu-branches/debian/sid/3depict/sid

« back to all changes in this revision

Viewing changes to packaging/debian/patches/3depict-docdir.patch

  • Committer: Package Import Robot
  • Author(s): D Haley
  • Date: 2011-12-18 19:33:32 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20111218193332-1motgr3vg9xeh41b
Tags: 0.0.9-1
* Update to upstream 0.0.9 
* Close powerpc bug fixed by 0.0.8-1 (Closes: #655682) 
* Close mgl font parsing bug fixed by mathgl upstream (Closes: #623431)
* Fix unclean source package (Closes: #643039)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Documentation directory change for debian
 
2
Index: 3depict-0.0.8/src/3Depict.cpp
 
3
===================================================================
 
4
--- 3depict-0.0.8.orig/src/3Depict.cpp  2011-10-23 16:32:15.000000000 +0100
 
5
+++ 3depict-0.0.8/src/3Depict.cpp       2011-10-23 16:32:24.000000000 +0100
 
6
@@ -2140,11 +2140,13 @@
 
7
 {
 
8
        //First attempt to locate the local copy of the manual.
 
9
        string s;
 
10
-       s=locateDataFile("3Depict-manual.pdf");
 
11
+       s=locateDataFile("manual.pdf");
 
12
 
 
13
        //Also Debian makes us use the lowercase "D", so check there too.
 
14
        if(!s.size())
 
15
-               s=locateDataFile("3depict-manual.pdf");
 
16
+       {
 
17
+               s=std::string("/usr/share/3depict/manual.pdf");
 
18
+       }
 
19
 
 
20
 
 
21
        //If we found it, use the default program associated with that data file