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:dev:standard
22 gperf:primary:standard
23 cppunit:single:standard
25 librevenge:dev:standard
26 BUILDRUN_DEPENDS= librevenge:primary:standard
27 lcms2:primary:standard
29 USES= perl:build pkgconfig libtool zlib mbsdfix
31 FPC_EQUIVALENT= graphics/libfreehand
34 CONFIGURE_ARGS= --disable-werror
37 INSTALL_TARGET= install-strip
41 [FILE:117:descriptions/desc.single]
42 Libfreehand is library providing ability to interpret and import
43 Adobe/Macromedia drawings into various applications
47 0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac 516132 libfreehand-0.1.2.tar.xz
50 [FILE:246:manifests/plist.single]
55 include/libfreehand-%%VER%%/libfreehand/
59 libfreehand-%%VER%%.so
60 libfreehand-%%VER%%.so.%%SOMAJOR%%
61 libfreehand-%%VER%%.so.%%SOVERSION%%
62 lib/pkgconfig/libfreehand-%%VER%%.pc
65 [FILE:1762:patches/patch-src_lib_libfreehand__utils.cpp]
66 Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
68 libfreehand_utils.cpp:165:30: error: expected ';' after do/while statement
69 U16_NEXT(s, j, length, c)
72 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
73 U8_APPEND_UNSAFE(&outbuf[0], i, c);
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:168:23: error: use of undeclared identifier 'outbuf'
80 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
81 libfreehand_utils.cpp:169:5: error: use of undeclared identifier 'outbuf'; did you mean 'setbuf'?
85 /usr/include/stdio.h:283:7: note: 'setbuf' declared here
86 void setbuf(FILE * __restrict, char * __restrict);
88 libfreehand_utils.cpp:169:5: error: subscript of pointer to function type 'void (FILE *, char *)' (aka 'void (__sFILE *, char *)')
91 libfreehand_utils.cpp:171:25: error: use of undeclared identifier 'outbuf'
92 text.append((char *)outbuf);
95 --- src/lib/libfreehand_utils.cpp.orig 2017-09-16 10:28:50 UTC
96 +++ src/lib/libfreehand_utils.cpp
97 @@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString
101 - U16_NEXT(s, j, length, c)
102 + U16_NEXT(s, j, length, c);
103 unsigned char outbuf[U8_MAX_LENGTH+1];
105 U8_APPEND_UNSAFE(&outbuf[0], i, c);