[MacPorts] #57854: p5-term-gnuplot: should not compile with -DNO_MEMCPY

MacPorts noreply at macports.org
Sat Jan 5 06:04:06 UTC 2019


#57854: p5-term-gnuplot: should not compile with -DNO_MEMCPY
--------------------+-----------------------------
 Reporter:  mojca   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  p5-term-gnuplot
--------------------+-----------------------------
 {{{
 /usr/bin/clang -c -I./gnuterm  -I. -Iterm -Igd -I.. -fno-common
 -DPERL_DARWIN -mmacosx-version-min=10.8 -pipe -Os -fno-strict-aliasing
 -fstack-protector -I/opt/local/include -DPERL_USE_SAFE_PUTENV -arch x86_64
 -O3   -DVERSION=\"\" -DXS_VERSION=\"\"  "-I/opt/local/lib/perl5/5.28
 /darwin-thread-multi-2level/CORE" -DPM3D -DUSE_ULIG_FILLEDBOXES
 -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG -DHAVE_LIBGD -DHAVE_GD_GIF -DHAVE_GIF
 -DHAVE_GD_JPEG -DHAVE_GD_PNG -DHAVE_NEWGD -DHAVE_PNG -DHAVE_GD_TTF  -DPM3D
 -DUSE_ULIG_FILLEDBOXES -DUSE_ACTIVE_EVENTS -DHAVE_LIBPNG -DHAVE_LIBGD
 -DHAVE_GD_GIF -DHAVE_GIF -DHAVE_GD_JPEG -DHAVE_GD_PNG -DHAVE_NEWGD
 -DHAVE_PNG -DHAVE_GD_TTF -DRETSIGTYPE=void -DGPLT_X11_MODE -DPIPES -DX11
 -DX11_DRIVER_DIR=\".\" -DEXENAME_X11=gnuplot_x11b -DEXENAME_PM=gplpmdrb
 -DCANT_ACCEPT_COMMANDS -DX11_FORCED_PATH -DNO_FLOAT_H -DHAVE_UNISTD_H
 -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDLIB_H -DHAVE_UNISTD_H
 -DHAVE_STRING_H -DHAVE_TERMIOS_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_STAT_H
 -DHAVE_SYS_PARAM_H -DHAVE_TIME_H -DNO_MEMCPY -DNO_MEMSET -DNO_STRCHR
 -DANSI_C -DNOCOPY -DHAVE_STRNCASECMP -DHAVE_DIRENT_H -DHAVE_SLEEP
 getcolor.c
 cp GnuplotTerminals.pod blib/lib/Term/GnuplotTerminals.pod
 cp Gnuplot.pm blib/lib/Term/Gnuplot.pm
 In file included from bitmap.c:66:
 In file included from ./alloc.h:44:
 ./stdfn.h:67:8: error: conflicting types for 'memcpy'
 char * memcpy __PROTO((char *, char *, size_t));
        ^
 /usr/include/string.h:82:7: note: previous declaration is here
 void    *memcpy(void *, const void *, size_t);
          ^
 In file included from util.c:44:
 In file included from ./util.h:41:
 ./stdfn.h:67:8: error: conflicting types for 'memcpy'
 char * memcpy __PROTO((char *, char *, size_t));
        ^
 /usr/include/string.h:82:7: note: previous declaration is here
 void    *memcpy(void *, const void *, size_t);
          ^
 }}}

 See the [https://build.macports.org/builders/ports-10.8_x86_64_legacy-
 builder/builds/84015 logs from the buildbot] and #57848.

-- 
Ticket URL: <https://trac.macports.org/ticket/57854>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list