summaryrefslogtreecommitdiff
path: root/graphics/qb3
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/qb3')
-rw-r--r--graphics/qb3/Makefile1
-rw-r--r--graphics/qb3/files/patch-i38613
2 files changed, 14 insertions, 0 deletions
diff --git a/graphics/qb3/Makefile b/graphics/qb3/Makefile
index 45b1ec96b8a9..35728a128ba8 100644
--- a/graphics/qb3/Makefile
+++ b/graphics/qb3/Makefile
@@ -1,6 +1,7 @@
PORTNAME= qb3
PORTVERSION= 1.3.2
DISTVERSIONPREFIX= V
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org
diff --git a/graphics/qb3/files/patch-i386 b/graphics/qb3/files/patch-i386
new file mode 100644
index 000000000000..1036ecf583db
--- /dev/null
+++ b/graphics/qb3/files/patch-i386
@@ -0,0 +1,13 @@
+Reference: https://github.com/lucianpls/QB3/pull/27
+
+--- QB3lib/QB3encode.cpp.orig 2025-04-28 20:58:34 UTC
++++ QB3lib/QB3encode.cpp
+@@ -84,7 +84,7 @@ void qb3_set_encoder_stride(encsp p, size_t stride) {
+ // Valid values are 2 and above
+ // sign = true when the input data is signed
+ // away = true to round away from zero
+-bool qb3_set_encoder_quanta(encsp p, size_t q, bool away) {
++bool qb3_set_encoder_quanta(encsp p, uint64_t q, bool away) {
+ if (q < 1)
+ return false;
+ p->quanta = q;