tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libreoffice on -current



Hey folks,

I am trying to build libreoffice from pkgsrc -current on NetBSD -current.

Looks like it confuses freetype headers between the system version and
its own freetype copy or something...

[build C  ] UnpackedTarball/pdfium/third_party/freetype/src/src/cff/cff.c
/usr/pkgobj/misc/libreoffice/work/libreoffice-6.3.3.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftinit.c:54: warning: macro "FT_COMPONENT" is not used [-Wunused-macros]
 #define FT_COMPONENT  init
 
In file included from /usr/pkgobj/misc/libreoffice/work/libreoffice-6.3.3.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbase.c:32:
/usr/pkgobj/misc/libreoffice/work/libreoffice-6.3.3.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftobjs.c:4062:3: error: conflicting types for 'FT_Get_Name_Index'
   FT_Get_Name_Index( FT_Face     face,
   ^~~~~~~~~~~~~~~~~
In file included from /usr/pkgobj/misc/libreoffice/work/libreoffice-6.3.3.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/include/freetype/internal/ftdebug.h:30,
                 from /usr/pkgobj/misc/libreoffice/work/libreoffice-6.3.3.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftadvanc.c:20,
                 from /usr/pkgobj/misc/libreoffice/work/libreoffice-6.3.3.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbase.c:22:
/usr/pkgobj/misc/libreoffice/work/.x11-buildlink/include/freetype2/freetype/freetype.h:3935:3: note: previous declaration of 'FT_Get_Name_Index' was here
   FT_Get_Name_Index( FT_Face     face,
   ^~~~~~~~~~~~~~~~~




Martin


Home | Main Index | Thread Index | Old Index