Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37809291
en ru br
Репозитории ALT
S:4.03.00-alt2
5.1: 1.31.18-alt2.1
4.1: 1.31.18-alt2
4.0: 1.31.18-alt1
3.0: 1.31.18-ipl5mdk
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: yodl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: yodl-alt-build.patch
Скачать


diff --git a/yodl/icmake/program b/yodl/icmake/program
index ed9a768..119146d 100644
--- a/yodl/icmake/program
+++ b/yodl/icmake/program
@@ -26,7 +26,7 @@ void _programYodlverbinsert()
 {
     string strip;
     if (strfind(g_lopt, "-s") != -1)
-        strip = "-s";
+        strip = "";
 
     chdir("verbinsert");
     system("icmbuild");
@@ -74,7 +74,7 @@ void programExit(string target, string strip)   // build one program,
 {                                               // called from main
     #ifndef PROFILING
         if (strip == "strip")
-            g_lopt = "-s";
+            g_lopt = "";
     #endif
 
     program(target);
@@ -85,7 +85,7 @@ void programsExit(string strip)                 // build all programs,
 {                                               // called from main
     #ifndef PROFILING
         if (strip == "strip")
-            g_lopt = "-s";
+            g_lopt = "";
     #endif
 
     program("programs");
diff --git a/yodl/verbinsert/icmconf b/yodl/verbinsert/icmconf
index 464244e..816681d 100644
--- a/yodl/verbinsert/icmconf
+++ b/yodl/verbinsert/icmconf
@@ -1,4 +1,3 @@
-#define CLS
 #define LIBRARY             "modules"
 #define MAIN                "main.cc"
 #define SOURCES             "*.cc"
@@ -16,7 +15,7 @@
 //#define PRECOMP             "-x c++-header"
 #define REFRESH
 #define LDFLAGS             ""
-#define ADD_LIBRARIES       ""
+#define ADD_LIBRARIES       "boost_filesystem"
 #define ADD_LIBRARY_PATHS   ""
 
 #define DEFCOM     "program"
diff --git a/yodl/verbinsert/main.ih b/yodl/verbinsert/main.ih
index f6a2900..2ebeb7c 100644
--- a/yodl/verbinsert/main.ih
+++ b/yodl/verbinsert/main.ih
@@ -3,13 +3,13 @@
 #include <iostream>
 #include <string>
 
-#include <filesystem>
+#include <boost/filesystem.hpp>
 
 #include "line/line.h"
 #include "process/process.h"
 
 using namespace std;
-namespace fs = filesystem;
+namespace fs = boost::filesystem;
 
 extern char const version[];
 extern char const author[];
diff --git a/yodl/verbinsert/options.cc b/yodl/verbinsert/options.cc
index 90e2462..2749e0f 100644
--- a/yodl/verbinsert/options.cc
+++ b/yodl/verbinsert/options.cc
@@ -2,7 +2,7 @@
 
 void options(Process &process, Line &line, int argc, char **argv)
 {
-    string progName = fs::path{argv[0]}.filename();
+    string progName = fs::path{argv[0]}.filename().native();
 
     bool all = false;
     try
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin