File: enable-build-with-lazarus-1.8.patch

package info (click to toggle)
winff 1.5.5-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,256 kB
  • sloc: pascal: 3,421; xml: 1,386; sh: 334; makefile: 22
file content (17 lines) | stat: -rw-r--r-- 702 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Lazarus 1.8 deprecated the RemoveDirUTF8 and UTF8ToConsole
 functions in FileUtil unit. Instead, use those from LazUTF8 and LazFileUtils.
Author: Paul Gevers <elbrus@debian.org>

Index: winff/unit1.pas
===================================================================
--- winff.orig/unit1.pas
+++ winff/unit1.pas
@@ -29,7 +29,7 @@ uses
   laz_xmlcfg, dom, xmlread, xmlwrite, StdCtrls, Buttons, ActnList, Menus, unit2, unit3,
   unit4, unit5, gettext, translations, process
   {$IFDEF TRANSLATESTRING}, DefaultTranslator{$ENDIF}, ExtCtrls, ComCtrls, Spin, UTF8Process,
-  PoTranslator, types, FileUtil, regexpr;
+  PoTranslator, types, FileUtil, regexpr, LazUTF8, LazFileUtils;
 
 type