mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 19:56:53 -04:00
- Switch to options helpers - Fix build with GBVAM and/or without SDL (add mising files and conditions to plist) - Fix manpage installation (patch mandir instead of moving file later, no need to empty directory in the plist) - Fix build with LIRC (remove double patching) - Fix build with LINK (use correct version of SFML) Approved by: portmgr blanket
14 lines
383 B
C++
14 lines
383 B
C++
--- src/gba/GBALink.cpp.orig 2016-08-13 15:20:47 UTC
|
|
+++ src/gba/GBALink.cpp
|
|
@@ -2,9 +2,10 @@
|
|
// with major changes by tjm
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
+#include <sys/param.h>
|
|
|
|
// malloc.h does not seem to exist on Mac OS 10.7
|
|
-#ifdef __APPLE__
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
#include <stdlib.h>
|
|
#else
|
|
#include <malloc.h>
|