<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/db937f0142d9633ec6eef381d96524a80870a55b">https://github.com/macports/macports-ports/commit/db937f0142d9633ec6eef381d96524a80870a55b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new db937f0142d xsane: fix implicit declarations for building on Big Sur
</span>db937f0142d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit db937f0142d9633ec6eef381d96524a80870a55b
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Wed Dec 23 23:48:10 2020 +0900

<span style='display:block; white-space:pre;color:#404040;'>    xsane: fix implicit declarations for building on Big Sur
</span>---
 graphics/xsane/Portfile                   |  6 ++++--
 graphics/xsane/files/patch-configure.diff | 18 ++++++++++++++++++
 graphics/xsane/files/patch-getopt.c.diff  | 11 +++++++++++
 3 files changed, 33 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/xsane/Portfile b/graphics/xsane/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index baee286b237..5fede950104 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/xsane/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/xsane/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,9 +46,11 @@ depends_lib     path:lib/pkgconfig/gimp-2.0.pc:gimp2 \
</span> 
 patchfiles      patch-sane-options-handling-fix.diff \
                 patch-gtk_adjustment_new.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                patch-src__xsane-save.c-libpng15-compat.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                patch-src__xsane-save.c-libpng15-compat.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                patch-configure.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                patch-getopt.c.diff
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# gimp2 is not universal (#29165)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# gimp2 is not universal (https://trac.macports.org/ticket/29165)
</span> 
 if {![variant_isset disable_gimp]} {
     universal_variant no
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/xsane/files/patch-configure.diff b/graphics/xsane/files/patch-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3f6904c4384
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/xsane/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2013-05-23 06:50:40.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure      2020-12-23 23:30:41.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5876,6 +5876,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h.  */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <libintl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ main ()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6629,6 +6629,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h.  */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sane/sane.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/xsane/files/patch-getopt.c.diff b/graphics/xsane/files/patch-getopt.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3cc0613d623
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/xsane/files/patch-getopt.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/getopt.c.orig      2020-12-23 23:39:20.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/getopt.c   2020-12-23 23:38:31.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -38,6 +38,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Comment out all this code if we are using the GNU C Library, and are not
</span></pre><pre style='margin:0'>

</pre>