1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Library for import of FreeHand drawings
8 HOMEPAGE= https://wiki.documentfoundation.org/DLP/Libraries/libfreehand
12 SITES[main]= https://dev-www.libreoffice.org/src/libfreehand/
13 DISTFILE[1]= libfreehand-0.1.2.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= boost-libraries:rest:python_default
22 gperf:primary:standard
23 cppunit:single:standard
24 BUILDRUN_DEPENDS= librevenge:single:standard
25 lcms2:primary:standard
27 USES= perl:build pkgconfig libtool zlib
29 FPC_EQUIVALENT= graphics/libfreehand
32 CONFIGURE_ARGS= --disable-werror
35 INSTALL_TARGET= install-strip
39 [FILE:117:descriptions/desc.single]
40 Libfreehand is library providing ability to interpret and import
41 Adobe/Macromedia drawings into various applications
45 0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac 516132 libfreehand-0.1.2.tar.xz
48 [FILE:246:manifests/plist.single]
53 include/libfreehand-%%VER%%/libfreehand/
57 libfreehand-%%VER%%.so
58 libfreehand-%%VER%%.so.%%SOMAJOR%%
59 libfreehand-%%VER%%.so.%%SOVERSION%%
60 lib/pkgconfig/libfreehand-%%VER%%.pc
63 [FILE:1762:patches/patch-src_lib_libfreehand__utils.cpp]
64 Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
66 libfreehand_utils.cpp:165:30: error: expected ';' after do/while statement
67 U16_NEXT(s, j, length, c)
70 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
71 U8_APPEND_UNSAFE(&outbuf[0], i, c);
73 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
74 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
75 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
76 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
77 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
78 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
79 libfreehand_utils.cpp:169:5: error: use of undeclared identifier 'outbuf'; did you mean 'setbuf'?
83 /usr/include/stdio.h:283:7: note: 'setbuf' declared here
84 void setbuf(FILE * __restrict, char * __restrict);
86 libfreehand_utils.cpp:169:5: error: subscript of pointer to function type 'void (FILE *, char *)' (aka 'void (__sFILE *, char *)')
89 libfreehand_utils.cpp:171:25: error: use of undeclared identifier 'outbuf'
90 text.append((char *)outbuf);
93 --- src/lib/libfreehand_utils.cpp.orig 2017-09-16 10:28:50 UTC
94 +++ src/lib/libfreehand_utils.cpp
95 @@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString
99 - U16_NEXT(s, j, length, c)
100 + U16_NEXT(s, j, length, c);
101 unsigned char outbuf[U8_MAX_LENGTH+1];
103 U8_APPEND_UNSAFE(&outbuf[0], i, c);