Skip to content

Commit

Permalink
update for git versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Feb 21, 2024
1 parent f334e89 commit f18a4c8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions packages.d/harfang/bx.diff
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ index 88def0e..c851502 100644
@@ -9,6 +9,14 @@
#include "filepath.h"
#include "readerwriter.h"

+#if defined(_LARGEFILE64_SOURCE)
+ /* for glibc system that support LFS */
+#else
+ /* others */
+# define fseeko64 fseeko
+# define ftello64 ftello
+# define fseeko64 fseek
+# define ftello64 ftell
+#endif
+
namespace bx
Expand Down
8 changes: 4 additions & 4 deletions packages.d/harfang/cmft.diff
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ index df2efc6..bbec58a 100644
-# error Unsupported platform!
+# warning Unsupported platform!
#endif

#if (0 \
diff --git a/src/cmft/image.cpp b/src/cmft/image.cpp
index 1f1160d..7633f0d 100644
Expand All @@ -23,8 +23,8 @@ index 1f1160d..7633f0d 100644
+ /* for glibc system that support LFS */
+ #else
+ /* others */
+ # define fseeko64 fseeko
+ # define ftello64 ftello
+ # define fseeko64 fseek
+ # define ftello64 ftell
#endif // CMFT_

int64_t rwSeekFile(Rw* _rw, int64_t _offset = 0, Whence::Enum _whence = Whence::Current)
4 changes: 2 additions & 2 deletions packages.d/harfang/harfang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ echo "



mkdir -p src
pushd $(pwd)/src
mkdir -p external
pushd $(pwd)/external
if [ -d harfang ]
then
pushd $(pwd)/harfang
Expand Down

0 comments on commit f18a4c8

Please sign in to comment.