mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
d23e76a5d0
This switches to using the upstream distfile, instead of what appears to be a Linux port of a quite old version (Monkey's Audio was previously Windows-only). The upstream distfile compiles without hanges. The shared library has changed from libmac to libMAC. The license has changed from a custom, non-open source license to a standard BSD-3-Clause license. All previous patches no longer necessary or apply. Add a couple new patches to the include files to make it easier to use the library.
17 lines
303 B
Plaintext
17 lines
303 B
Plaintext
Index: Shared/NoWindows.h
|
|
--- Shared/NoWindows.h.orig
|
|
+++ Shared/NoWindows.h
|
|
@@ -38,8 +38,12 @@ typedef struct _GUID {
|
|
#undef ZeroMemory
|
|
#define ZeroMemory(POINTER, BYTES) memset(POINTER, 0, BYTES);
|
|
|
|
+#ifndef TRUE
|
|
#define TRUE 1
|
|
+#endif
|
|
+#ifndef FALSE
|
|
#define FALSE 0
|
|
+#endif
|
|
|
|
#define CALLBACK
|
|
|