Files
haikuports/media-libs/libpgf/patches/libpgf-7.21.7.patchset
2023-04-14 20:49:14 +02:00

52 lines
1.5 KiB
Plaintext

From 519087814b4ec03cc2e8ed3e2d1f4abb8b3e37c2 Mon Sep 17 00:00:00 2001
From: Leorize <alaviss@users.noreply.github.com>
Date: Mon, 8 Jan 2018 14:16:07 +0700
Subject: PGFplatform: add Haiku support
diff --git a/include/PGFplatform.h b/include/PGFplatform.h
index bda823b..9db0cc5 100644
--- a/include/PGFplatform.h
+++ b/include/PGFplatform.h
@@ -336,7 +336,7 @@ inline OSError SetFPos(HANDLE hFile, int posMode, INT64 posOff) {
//-------------------------------------------------------------------------------
// *BSD
//-------------------------------------------------------------------------------
-#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__HAIKU__)
#ifndef __POSIX__
#define __POSIX__
#endif
@@ -349,7 +349,7 @@ inline OSError SetFPos(HANDLE hFile, int posMode, INT64 posOff) {
#define lseek64 lseek
#endif
-#endif // __NetBSD__ or __OpenBSD__ or __FreeBSD__
+#endif // __NetBSD__ or __OpenBSD__ or __FreeBSD__ or __HAIKU__
//-------------------------------------------------------------------------------
--
2.37.3
From ecece04c504393e91dc02d6ce6d8e7610a138838 Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Fri, 14 Apr 2023 20:39:24 +0200
Subject: Fix version
diff --git a/configure.ac b/configure.ac
index b60f053..bed03b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([libpgf], [7.15.32])
+AC_INIT([libpgf], [7.21.7])
AC_CONFIG_SRCDIR([src/PGFimage.cpp])
--
2.37.3