File: pd64.patch

package info (click to toggle)
pd-vstplugin 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,008 kB
  • sloc: cpp: 22,794; lisp: 2,860; makefile: 37; sh: 26
file content (24 lines) | stat: -rw-r--r-- 761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Add build-options for building Pd64-externals
Author: IOhannes m zmölnig <umlaeute@debian.org>
Origin: Debian
Bug: https://git.iem.at/pd/vstplugin/-/issues/266
Last-Update: 2025-10-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pd-vstplugin.orig/pd/CMakeLists.txt
+++ pd-vstplugin/pd/CMakeLists.txt
@@ -1,4 +1,5 @@
 message(STATUS "---\n*** vstplugin~ ***")
+set(PD_FLOATSIZE 32 CACHE STRING "the floatsize of Pd (32 or 64)")
 
 # Pd directories:
 if (NOT PD_DIR)
@@ -91,6 +92,8 @@
     target_compile_definitions(pd PUBLIC PDINSTANCE)
 endif()
 
+target_compile_definitions(pd PUBLIC PD_FLOATSIZE=${PD_FLOATSIZE})
+
 # plugin extension
 set(PD_EXTENSION "" CACHE STRING "Pd plugin extension")
 if (NOT PD_EXTENSION)