mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Closes: https://trac.macports.org/ticket/61680 Also add size to checksums, use MacPorts flags, add universal variant, don't compress manpages manually because MacPorts does so automatically, and use notes instead of post-install ui_msg.
30 lines
527 B
Diff
30 lines
527 B
Diff
Fix implicit declaration of functions.
|
|
--- src/pathexec_run.c.orig
|
|
+++ src/pathexec_run.c
|
|
@@ -1,5 +1,6 @@
|
|
/* Public domain. */
|
|
|
|
+#include <unistd.h>
|
|
#include "error.h"
|
|
#include "stralloc.h"
|
|
#include "str.h"
|
|
--- src/prot.c.orig
|
|
+++ src/prot.c
|
|
@@ -1,5 +1,6 @@
|
|
/* Public domain. */
|
|
|
|
+#include <unistd.h>
|
|
#include "hasshsgr.h"
|
|
#include "prot.h"
|
|
|
|
--- src/seek_set.c.orig
|
|
+++ src/seek_set.c
|
|
@@ -1,6 +1,7 @@
|
|
/* Public domain. */
|
|
|
|
#include <sys/types.h>
|
|
+#include <unistd.h>
|
|
#include "seek.h"
|
|
|
|
#define SET 0 /* sigh */
|