[MacPorts] #71931: geany needs a fix from legacysupport for scandir
MacPorts
noreply at macports.org
Sat Jan 25 01:30:37 UTC 2025
#71931: geany needs a fix from legacysupport for scandir
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: geany
--------------------------+--------------------
{{{
depbase=`echo main/portable-scandir.lo | sed
's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --silent --tag=CC --mode=compile
/opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I.. -I./main -I./parsers
-I./dsl -DEXTERNAL_PARSER_LIST_FILE=\"../src/tagmanager/tm_parsers.h\"
-DG_LOG_DOMAIN=\"CTags\" -I/opt/local/include
-I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0
-I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0
-I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0
-I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo
-I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
-I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi
-I/opt/local/include/harfbuzz -I/opt/local/include/atk-1.0
-I/opt/local/include/cairo -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32
-DGDK_DISABLE_DEPRECATION_WARNINGS -fvisibility=hidden
-DGEANY_EXPORT_SYMBOL="__attribute__((visibility(\"default\")))"
-DGEANY_API_SYMBOL=GEANY_EXPORT_SYMBOL -pipe -Os -arch ppc -MT main
/portable-scandir.lo -MD -MP -MF $depbase.Tpo -c -o main/portable-
scandir.lo main/portable-scandir.c &&\
mv -f $depbase.Tpo $depbase.Plo
main/portable-scandir.c:136:1: error: conflicting types for 'scandir';
have 'int(const char *, struct dirent ***, int (*)(const struct dirent *),
int (*)(const struct dirent **, const struct dirent **))'
136 | scandir(const char *directory_name,
| ^~~~~~~
In file included from main/portable-dirent_p.h:5,
from main/routines_p.h:17,
from main/portable-scandir.c:112:
/usr/include/dirent.h:128:5: note: previous declaration of 'scandir' with
type 'int(const char *, struct dirent ***, int (*)(struct dirent *), int
(*)(const void *, const void *))'
128 | int scandir(const char *, struct dirent ***,
| ^~~~~~~
make[2]: *** [main/portable-scandir.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0/ctags'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geany/geany/work/geany-2.0'
make: *** [all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71931>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list