projects/aports·blob master · refs

35 lines · 1.3 KiB

1Fixes utf8cpp files paths
2
3--- a/configure.ac.orig 2025-01-07 22:10:12.991524862 +0100
4+++ b/configure.ac 2025-01-07 22:10:21.504672933 +0100
5@@ -17,7 +17,7 @@ AC_PROG_CXX
6 # Checks for header files.
7 AC_CHECK_HEADER([cmath], [], [AC_MSG_ERROR([Your STL doesn't come with cmath, upgrade your libstdc++.])])
8 AC_CHECK_HEADER([muParser.h], [], [AC_MSG_ERROR([Please install libmuparser >= 2.0.0 from http://muparser.beltoforion.de/])])
9-AC_CHECK_HEADER([utf8.h], [], [AC_MSG_ERROR([Please install UTF8-CPP library from http://utfcpp.sourceforge.net/])])
10+AC_CHECK_HEADER([utf8cpp/utf8.h], [], [AC_MSG_ERROR([Please install UTF8-CPP library from http://utfcpp.sourceforge.net/])])
11
12 # Checks for typedefs, structures, and compiler characteristics.
13
14--- a/src/server.cpp.orig 2025-01-07 22:10:29.541164708 +0100
15+++ b/src/server.cpp 2025-01-07 22:10:35.551033920 +0100
16@@ -30,7 +30,7 @@
17 #include <stdlib.h>
18 #include <string.h>
19 #include <limits.h>
20-#include <utf8.h>
21+#include <utf8cpp/utf8.h>
22
23 #include <string>
24
25--- a/src/game.cpp.orig 2025-01-07 22:10:50.170715763 +0100
26+++ b/src/game.cpp 2025-01-07 22:10:54.343958275 +0100
27@@ -31,7 +31,7 @@
28 #include <iostream>
29 #include <fstream>
30
31-#include <utf8.h>
32+#include <utf8cpp/utf8.h>
33
34 #include "auction.h"
35 #include "card.h"