]> git.pld-linux.org Git - packages/euler.git/commitdiff
- search for docs in %%datadir/doc/euler-%%version
authorgrzegol <grzegol@pld-linux.org>
Sun, 29 Jun 2003 17:12:02 +0000 (17:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    euler-doc_path.patch -> 1.1

euler-doc_path.patch [new file with mode: 0644]

diff --git a/euler-doc_path.patch b/euler-doc_path.patch
new file mode 100644 (file)
index 0000000..4a30d2e
--- /dev/null
@@ -0,0 +1,20 @@
+diff -urN aaa/euler-1.60/source/main.c euler-1.60/source/main.c
+--- aaa/euler-1.60/source/main.c       2002-06-02 15:44:46.000000000 +0200
++++ euler-1.60/source/main.c   2003-06-29 18:21:01.000000000 +0200
+@@ -38,6 +38,7 @@
+ #include "metagtk.h"
+ #include "metaps.h"
+ #include "colbut.h"
++#include "version.h"
+ /*-----------------------------------------------------------------------
+  *    Global variables
+@@ -1114,7 +1115,7 @@
+                       break;
+               case E_DOC: {
+                               char *browser;
+-                              browser = g_strconcat(prefs.browser," ",INSTALL_DIR,"/share/doc/euler/index.html &",NULL);
++                              browser = g_strconcat(prefs.browser," ",INSTALL_DIR,"/share/doc/euler-",VERSION,"/index.html &",NULL);
+                               system(browser);
+                               g_free(browser);
+                       }
This page took 0.160529 seconds and 4 git commands to generate.