=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for ttf2pt1-3.4.4nb11 --- ttf2pt1.o --- --- pt1.o --- --- runt1asm.o --- --- ttf.o --- --- ft.o --- --- bdf.o --- --- bitmap.o --- --- CHANGES --- --- README --- --- FONTS --- --- FONTS.hpux --- --- encodings/README --- --- other/README --- --- app/X11/README --- --- app/netscape/README --- --- app/TeX/README --- --- ttf2pt1.o --- clang -O2 -I/usr/include -I/usr/pkg/include/freetype2 -DUSE_FREETYPE `freetype-config --cflags` -c ttf2pt1.c --- pt1.o --- clang -O2 -I/usr/include -I/usr/pkg/include/freetype2 -DUSE_FREETYPE `freetype-config --cflags` -c pt1.c freetype-config: not found --- FONTS.hpux --- scripts/unhtml FONTS.hpux --- ft.o --- clang -O2 -I/usr/include -I/usr/pkg/include/freetype2 -DUSE_FREETYPE `freetype-config --cflags` -c ft.c --- CHANGES --- scripts/unhtml CHANGES --- other/README --- scripts/unhtml other/README --- ttf.o --- clang -O2 -I/usr/include -I/usr/pkg/include/freetype2 -DUSE_FREETYPE `freetype-config --cflags` -c ttf.c --- app/netscape/README --- scripts/unhtml app/netscape/README --- encodings/README --- scripts/unhtml encodings/README --- runt1asm.o --- clang -O2 -I/usr/include -I/usr/pkg/include/freetype2 -DUSE_FREETYPE `freetype-config --cflags` -DEXTERNAL_T1ASM -c runt1asm.c --- bitmap.o --- clang -O2 -I/usr/include -I/usr/pkg/include/freetype2 -DUSE_FREETYPE `freetype-config --cflags` -c bitmap.c --- app/X11/README --- scripts/unhtml app/X11/README --- ttf.o --- freetype-config: not found --- ttf2pt1.o --- freetype-config: not found --- app/TeX/README --- scripts/unhtml app/TeX/README --- ft.o --- freetype-config: not found --- bdf.o --- clang -O2 -I/usr/include -I/usr/pkg/include/freetype2 -DUSE_FREETYPE `freetype-config --cflags` -c bdf.c --- FONTS --- scripts/unhtml FONTS --- runt1asm.o --- freetype-config: not found --- bitmap.o --- freetype-config: not found --- README --- scripts/unhtml README --- bdf.o --- freetype-config: not found --- runt1asm.o --- runt1asm.c:28:12: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if(( id = dup(fileno(ifp)) )<0) { ^ runt1asm.c:30:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ runt1asm.c:30:3: note: include the header or explicitly provide a declaration for 'exit' runt1asm.c:37:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(0); ^ runt1asm.c:50:11: warning: implicit declaration of function 'execlp' is invalid in C99 [-Wimplicit-function-declaration] error = execlp("t1asm", "t1asm", "-b", NULL); ^ --- bitmap.o --- In file included from bitmap.c:14: ./global.h:90:30: warning: '/*' within block comment [-Wcomment] /* #define DBG_GLYPH "C118" /* */ ^ bitmap.c:457:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] || ( abs(limfront[0]-limend[0]) >= abs(pf->vect[0][0]-pf->vect[3][0]) ^ bitmap.c:457:11: note: use function 'fabs' instead || ( abs(limfront[0]-limend[0]) >= abs(pf->vect[0][0]-pf->vect[3][0]) ^~~ fabs bitmap.c:457:41: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] || ( abs(limfront[0]-limend[0]) >= abs(pf->vect[0][0]-pf->vect[3][0]) ^ bitmap.c:457:41: note: use function 'fabs' instead || ( abs(limfront[0]-limend[0]) >= abs(pf->vect[0][0]-pf->vect[3][0]) ^~~ fabs bitmap.c:458:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] && abs(limfront[1]-limend[1]) >= abs(pf->vect[0][1]-pf->vect[3][1]) )) ^ bitmap.c:458:10: note: use function 'fabs' instead && abs(limfront[1]-limend[1]) >= abs(pf->vect[0][1]-pf->vect[3][1]) )) ^~~ fabs bitmap.c:458:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] && abs(limfront[1]-limend[1]) >= abs(pf->vect[0][1]-pf->vect[3][1]) )) ^ bitmap.c:458:40: note: use function 'fabs' instead && abs(limfront[1]-limend[1]) >= abs(pf->vect[0][1]-pf->vect[3][1]) )) ^~~ fabs bitmap.c:454:15: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( outend && f->sublen <= pf->sublen ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.c:454:15: note: place parentheses around the '&&' expression to silence this warning && ( outend && f->sublen <= pf->sublen ^ ( ) bitmap.c:467:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] || ( abs(limfront[0]-limend[0]) >= abs(lf->vect[0][0]-lf->vect[3][0]) ^ bitmap.c:467:11: note: use function 'fabs' instead || ( abs(limfront[0]-limend[0]) >= abs(lf->vect[0][0]-lf->vect[3][0]) ^~~ fabs bitmap.c:467:41: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] || ( abs(limfront[0]-limend[0]) >= abs(lf->vect[0][0]-lf->vect[3][0]) ^ bitmap.c:467:41: note: use function 'fabs' instead || ( abs(limfront[0]-limend[0]) >= abs(lf->vect[0][0]-lf->vect[3][0]) ^~~ fabs bitmap.c:468:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] && abs(limfront[1]-limend[1]) >= abs(lf->vect[0][1]-lf->vect[3][1]) )) ^ bitmap.c:468:10: note: use function 'fabs' instead && abs(limfront[1]-limend[1]) >= abs(lf->vect[0][1]-lf->vect[3][1]) )) ^~~ fabs bitmap.c:468:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] && abs(limfront[1]-limend[1]) >= abs(lf->vect[0][1]-lf->vect[3][1]) )) ^ bitmap.c:468:40: note: use function 'fabs' instead && abs(limfront[1]-limend[1]) >= abs(lf->vect[0][1]-lf->vect[3][1]) )) ^~~ fabs bitmap.c:464:17: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( outfront && f->sublen <= lf->sublen ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.c:464:17: note: place parentheses around the '&&' expression to silence this warning && ( outfront && f->sublen <= lf->sublen ^ ( ) --- ttf2pt1.o --- In file included from ttf2pt1.c:85: ./global.h:90:30: warning: '/*' within block comment [-Wcomment] /* #define DBG_GLYPH "C118" /* */ ^ ttf2pt1.c:647:33: warning: format specifies type 'int *' but the argument has type 'int' [-Wformat] if(sscanf(buffer, "id %d %d", pid, eid)==2) { ~~ ^~~ ttf2pt1.c:647:38: warning: format specifies type 'int *' but the argument has type 'int' [-Wformat] if(sscanf(buffer, "id %d %d", pid, eid)==2) { ~~ ^~~ ttf2pt1.c:1327:12: warning: '&&' within '||' [-Wlogical-op-parentheses] || i==0 && isdigit(c)) { /* must not start with a digit */ ~~ ~~~~~^~~~~~~~~~~~~ ttf2pt1.c:1327:12: note: place parentheses around the '&&' expression to silence this warning || i==0 && isdigit(c)) { /* must not start with a digit */ ~~~~~^~~~~~~~~~~~~ ttf2pt1.c:1331:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] nametoprint(glyph_list[n].name)); ^~~~~~~~~~~~~~~~~~ ttf2pt1.c:1151:17: note: passing argument to parameter 's' here unsigned char *s ^ --- runt1asm.o --- 4 warnings generated. --- ttf2pt1.o --- ttf2pt1.c:1392:46: warning: passing 'unsigned int [1024]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] type = cursw->glenc(glyph_list, encoding, unicode_map); ^~~~~~~~~~~ ttf2pt1.c:1406:46: warning: passing 'unsigned int [1024]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] type = cursw->glenc(glyph_list, encoding, unicode_map); ^~~~~~~~~~~ --- bitmap.o --- bitmap.c:1594:42: warning: ^ has lower precedence than !=; != will be evaluated first [-Wparentheses] } while(stepmore || ge != cge->next ^ delaystop); ~~~~~~~~~~~~~~~~^ bitmap.c:1594:42: note: place parentheses around the '!=' expression to silence this warning } while(stepmore || ge != cge->next ^ delaystop); ^ ( ) bitmap.c:1594:42: note: place parentheses around the ^ expression to evaluate it first --- ttf.o --- In file included from ttf.c:29: ./global.h:90:30: warning: '/*' within block comment [-Wcomment] --- bitmap.o --- } while(stepmore || ge != cge->next ^ delaystop); ^ ( ) --- ttf.o --- /* #define DBG_GLYPH "C118" /* */ ^ --- bitmap.o --- bitmap.c:2000:49: warning: data argument not used by format string [-Wformat-extra-args] gxf_name[d], pge, X_FRAG(pge)->len[d], len); ^ --- ttf.o --- ttf.c:224:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] name_fields[k] = dupcnstring(p, len); ^ ./global.h:120:35: note: passing argument to parameter 's' here char *dupcnstring( unsigned char *s, int len); ^ ttf.c:248:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] name_fields[k] = dupcnstring(p, len); ^ ./global.h:120:35: note: passing argument to parameter 's' here char *dupcnstring( unsigned char *s, int len); ^ --- ttf2pt1.o --- ttf2pt1.c:2403:3: warning: format specifies type 'short' but the argument has type 'int' [-Wformat] iscale(fontm.underline_thickness)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pt1.o --- In file included from pt1.c:24: ./global.h:90:30: warning: '/*' within block comment [-Wcomment] /* #define DBG_GLYPH "C118" /* */ ^ --- bdf.o --- In file included from bdf.c:15: ./global.h:90:30: warning: '/*' within block comment [-Wcomment] /* #define DBG_GLYPH "C118" /* */ ^ --- ft.o --- In file included from ft.c:22: ./global.h:90:30: warning: '/*' within block comment [-Wcomment] /* #define DBG_GLYPH "C118" /* */ ^ --- bdf.o --- bdf.c:224:42: warning: passing 'char [2000]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *((char **)(cl->vp[0])) = dupcnstring(bf, s-bf); ^~ ./global.h:120:35: note: passing argument to parameter 's' here char *dupcnstring( unsigned char *s, int len); ^ --- ft.o --- ft.c:82:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( error = FT_New_Face( library, fname, 0, &face ) ) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ft.c:82:12: note: place parentheses around the assignment to silence this warning if( error = FT_New_Face( library, fname, 0, &face ) ) { ^ ( ) ft.c:82:12: note: use '==' to turn this assignment into an equality comparison if( error = FT_New_Face( library, fname, 0, &face ) ) { ^ == --- pt1.o --- pt1.c:307:5: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] pe, ge, ge->prev); ^~ pt1.c:307:9: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] pe, ge, ge->prev); ^~ pt1.c:307:13: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat] pe, ge, ge->prev); ^~~~~~~~ pt1.c:317:46: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, "empty path at 0x%x \n", ge); ~~ ^~ pt1.c:326:6: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] ge, ge->frwd, ge->frwd->bkwd); ^~ pt1.c:326:10: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat] ge, ge->frwd, ge->frwd->bkwd); ^~~~~~~~ pt1.c:326:20: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat] --- ft.o --- ft.c:129:55: warning: format specifies type 'int' but the argument has type 'FT_Long' (aka 'long') [-Wformat] --- pt1.o --- ge, ge->frwd, ge->frwd->bkwd); ^~~~~~~~~~~~~~ --- ft.o --- if(ISDBG(FT)) fprintf(stderr, "%d glyphs in font\n", face->num_glyphs); ~~ ^~~~~~~~~~~~~~~~ %ld --- pt1.o --- pt1.c:334:7: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] ge, ge->bkwd, ge->bkwd->next); ^~ pt1.c:334:11: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat] ge, ge->bkwd, ge->bkwd->next); ^~~~~~~~ pt1.c:334:21: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat] ge, ge->bkwd, ge->bkwd->next); ^~~~~~~~~~~~~~ --- ft.o --- ft.c:155:12: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(bf, "_g_%d", i); ^~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ --- pt1.o --- pt1.c:342:7: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] first, ge, ge->frwd); ^~~~~ pt1.c:342:14: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] first, ge, ge->frwd); ^~ --- ft.o --- ft.c:159:31: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- pt1.o --- pt1.c:342:18: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat] --- ft.o --- glyph_list[i].name = strdup(bf); ^~ --- pt1.o --- first, ge, ge->frwd); ^~~~~~~~ --- ft.o --- /usr/include/string.h:80:26: note: passing argument to parameter here char *strdup(const char *); ^ ft.c:427:2: warning: '/*' within block comment [-Wcomment] /* guess the boldness from the font names */ ^ ft.c:440:6: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( j==0 || !isalpha(str[j-1]) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ft.c:440:6: note: place parentheses around the '&&' expression to silence this warning && ( j==0 || !isalpha(str[j-1]) ) ^ ) ft.c:537:2: warning: incompatible pointer types initializing 'FT_Outline_MoveToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-pointer-types] outl_moveto, ^~~~~~~~~~~ ft.c:538:2: warning: incompatible pointer types initializing 'FT_Outline_LineToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-pointer-types] outl_lineto, ^~~~~~~~~~~ ft.c:539:2: warning: incompatible pointer types initializing 'FT_Outline_ConicToFunc' (aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, struct FT_Vector_ *, void *)') [-Wincompatible-pointer-types] outl_conicto, ^~~~~~~~~~~~ ft.c:540:2: warning: incompatible pointer types initializing 'FT_Outline_CubicToFunc' (aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, FT_Vector *, FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, struct FT_Vector_ *, struct FT_Vector_ *, void *)') [-Wincompatible-pointer-types] outl_cubicto, ^~~~~~~~~~~~ --- pt1.o --- pt1.c:763:69: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, "**! fixcvends(0x%x) on floating entry, ABORT\n", ge); ~~ ^~ pt1.c:782:15: warning: '&&' within '||' [-Wlogical-op-parentheses] if (dx == 0 && dy == 0 ~~~~~~~~^~~~~~~~~~ pt1.c:782:15: note: place parentheses around the '&&' expression to silence this warning if (dx == 0 && dy == 0 ^ ( ) pt1.c:783:19: warning: '&&' within '||' [-Wlogical-op-parentheses] || x2 == x3 && y2 == y3) { ~~ ~~~~~~~~~^~~~~~~~~~~ pt1.c:783:19: note: place parentheses around the '&&' expression to silence this warning || x2 == x3 && y2 == y3) { ^ ( ) pt1.c:913:68: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, "**! fixcvdir(0x%x) on floating entry, ABORT\n", ge); ~~ ^~ --- ttf.o --- ttf.c:1414:6: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( j==0 || !isalpha(str[j-1]) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttf.c:1414:6: note: place parentheses around the '&&' expression to silence this warning && ( j==0 || !isalpha(str[j-1]) ) ^ ) --- pt1.o --- pt1.c:1043:64: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, "**! fgetcvdir(0x%x) on int entry, ABORT\n", ge); ~~ ^~ pt1.c:1105:69: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, "**! igetcvdir(0x%x) on floating entry, ABORT\n", ge); ~~ ^~ pt1.c:1203:36: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, " %c %8x", mark, ge); ~~~ ^~ pt1.c:1336:63: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, "**! fcheckcv(0x%x) on int entry, ABORT\n", ge); ~~ ^~ pt1.c:1364:68: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, "**! icheckcv(0x%x) on floating entry, ABORT\n", ge); ~~ ^~ pt1.c:1399:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if(ge == 0 || ge->type != GE_LINE && ge->type!= GE_CURVE) { ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pt1.c:1399:37: note: place parentheses around the '&&' expression to silence this warning if(ge == 0 || ge->type != GE_LINE && ge->type!= GE_CURVE) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pt1.c:1607:36: warning: '&&' within '||' [-Wlogical-op-parentheses] && (ge->iy3 < ge->prev->iy3 && ne->iy3 < ge->iy3 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pt1.c:1607:36: note: place parentheses around the '&&' expression to silence this warning && (ge->iy3 < ge->prev->iy3 && ne->iy3 < ge->iy3 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pt1.c:1608:32: warning: '&&' within '||' [-Wlogical-op-parentheses] || ge->iy3 > ge->prev->iy3 && ne->iy3 > ge->iy3) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pt1.c:1608:32: note: place parentheses around the '&&' expression to silence this warning || ge->iy3 > ge->prev->iy3 && ne->iy3 > ge->iy3) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pt1.c:1624:34: warning: '&&' within '||' [-Wlogical-op-parentheses] && (ge->ix3 < ge->prev->ix3 && ne->ix3 < ge->ix3 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pt1.c:1624:34: note: place parentheses around the '&&' expression to silence this warning && (ge->ix3 < ge->prev->ix3 && ne->ix3 < ge->ix3 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pt1.c:1625:32: warning: '&&' within '||' [-Wlogical-op-parentheses] || ge->ix3 > ge->prev->ix3 && ne->ix3 > ge->ix3) ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pt1.c:1625:32: note: place parentheses around the '&&' expression to silence this warning || ge->ix3 > ge->prev->ix3 && ne->ix3 > ge->ix3) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pt1.c:1813:19: warning: '&' within '^' [-Wbitwise-op-parentheses] (s[i].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ pt1.c:1813:19: note: place parentheses around the '&' expression to silence this warning (s[i].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) ^ ( ) pt1.c:1815:19: warning: '&' within '^' [-Wbitwise-op-parentheses] (s[j].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ pt1.c:1815:19: note: place parentheses around the '&' expression to silence this warning (s[j].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) ^ ( ) pt1.c:1820:19: warning: '&' within '^' [-Wbitwise-op-parentheses] (s[i].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ pt1.c:1820:19: note: place parentheses around the '&' expression to silence this warning (s[i].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) ^ ( ) pt1.c:1822:19: warning: '&' within '^' [-Wbitwise-op-parentheses] (s[j].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ pt1.c:1822:19: note: place parentheses around the '&' expression to silence this warning (s[j].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) ^ ( ) pt1.c:1844:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (s1->from <= s2->from && s1->to >= s2->from ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pt1.c:1844:27: note: place parentheses around the '&&' expression to silence this warning if (s1->from <= s2->from && s1->to >= s2->from ^ ( ) pt1.c:1845:30: warning: '&&' within '||' [-Wlogical-op-parentheses] || s2->from <= s1->from && s2->to >= s1->from) ~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pt1.c:1845:30: note: place parentheses around the '&&' expression to silence this warning || s2->from <= s1->from && s2->to >= s1->from) ^ ( ) pt1.c:2205:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if (pri < readystem && s[nnew + 1].value >= stack[j].value ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:2205:25: note: place parentheses around the '&&' expression to silence this warning if (pri < readystem && s[nnew + 1].value >= stack[j].value ^ ( ) pt1.c:2761:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( lastpri==1 || s[j].value-v<20 || (s[x].value-v)*2 >= s[j].value-v ) ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:2761:5: note: place parentheses around the '&&' expression to silence this warning && ( lastpri==1 || s[j].value-v<20 || (s[x].value-v)*2 >= s[j].value-v ) ) { ^ ) pt1.c:2780:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && ( lastpri==1 || v-s[j].value<20 || (v-s[x].value)*2 >= v-s[j].value ) ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:2780:5: note: place parentheses around the '&&' expression to silence this warning && ( lastpri==1 || v-s[j].value<20 || (v-s[x].value)*2 >= v-s[j].value ) ) { ^ ) pt1.c:2921:21: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] value, origin, ge, sp[si].ge); ^~ pt1.c:2921:25: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] value, origin, ge, sp[si].ge); ^~~~~~~~~ pt1.c:2933:19: warning: '&&' within '||' [-Wlogical-op-parentheses] || pri==prevpri && prevwd==0 || wd!=0 && wdiy3 > ge->iy2 && ge->iy3 > ny ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3490:27: note: place parentheses around the '&&' expression to silence this warning if (ge->iy3 > ge->iy2 && ge->iy3 > ny ^ ( ) pt1.c:3491:26: warning: '&&' within '||' [-Wlogical-op-parentheses] || ge->iy3 < ge->iy2 && ge->iy3 < ny) { ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3491:26: note: place parentheses around the '&&' expression to silence this warning || ge->iy3 < ge->iy2 && ge->iy3 < ny) { ^ ( ) pt1.c:3512:27: warning: '&&' within '||' [-Wlogical-op-parentheses] if (ge->ix3 > ge->ix2 && ge->ix3 > nx ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3512:27: note: place parentheses around the '&&' expression to silence this warning if (ge->ix3 > ge->ix2 && ge->ix3 > nx ^ ( ) pt1.c:3513:26: warning: '&&' within '||' [-Wlogical-op-parentheses] || ge->ix3 < ge->ix2 && ge->ix3 < nx) { ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3513:26: note: place parentheses around the '&&' expression to silence this warning || ge->ix3 < ge->ix2 && ge->ix3 < nx) { ^ ( ) pt1.c:3682:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if (ge->iy3 > ge->prev->iy3 && ge->iy3 > ny ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3682:32: note: place parentheses around the '&&' expression to silence this warning if (ge->iy3 > ge->prev->iy3 && ge->iy3 > ny ^ ( ) pt1.c:3683:31: warning: '&&' within '||' [-Wlogical-op-parentheses] || ge->iy3 < ge->prev->iy3 && ge->iy3 < ny) { ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3683:31: note: place parentheses around the '&&' expression to silence this warning || ge->iy3 < ge->prev->iy3 && ge->iy3 < ny) { ^ ( ) pt1.c:3704:32: warning: '&&' within '||' [-Wlogical-op-parentheses] if (ge->ix3 > ge->prev->ix3 && ge->ix3 > nx ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3704:32: note: place parentheses around the '&&' expression to silence this warning if (ge->ix3 > ge->prev->ix3 && ge->ix3 > nx ^ ( ) pt1.c:3705:31: warning: '&&' within '||' [-Wlogical-op-parentheses] || ge->ix3 < ge->prev->ix3 && ge->ix3 < nx) { ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3705:31: note: place parentheses around the '&&' expression to silence this warning || ge->ix3 < ge->prev->ix3 && ge->ix3 < nx) { ^ ( ) pt1.c:3868:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || iln > 1. && iln/oln > 0.1 ) ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~ pt1.c:3868:17: note: place parentheses around the '&&' expression to silence this warning || iln > 1. && iln/oln > 0.1 ) ^ ( ) pt1.c:3911:8: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] && fabs(pge->fpoints[o][2] != pge->prev->fpoints[o][2]) ) { ^ pt1.c:3911:8: note: use function 'abs' instead && fabs(pge->fpoints[o][2] != pge->prev->fpoints[o][2]) ) { ^~~~ abs pt1.c:3912:91: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with previous 0x%x 0x%x\n", pge, ge); ~~ ^~~ pt1.c:3912:96: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with previous 0x%x 0x%x\n", pge, ge); ~~ ^~ pt1.c:3926:8: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] && fabs(nge->fpoints[o][2] != ge->fpoints[o][2]) ) { ^ pt1.c:3926:8: note: use function 'abs' instead && fabs(nge->fpoints[o][2] != ge->fpoints[o][2]) ) { ^~~~ abs pt1.c:3927:87: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with next 0x%x 0x%x\n", ge, nge); ~~ ^~ pt1.c:3927:91: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with next 0x%x 0x%x\n", ge, nge); ~~ ^~~ pt1.c:4059:5: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] ge, ge->prev->fx3, ge->prev->fy3, ge->fx1, ge->fy1, ge->fx2, ge->fy2, ^~ pt1.c:4080:15: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] g->name, ge, np-oldnp, i? 'y':'x'); ^~ pt1.c:4131:5: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] ge, ge->prev->fx3, ge->prev->fy3, ge->fx1, ge->fy1, ge->fx2, ge->fy2, ^~ pt1.c:4152:55: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] if(ISDBG(QUAD)) fprintf(stderr, " 0x%x %g/%g\n", ge, k1, k2); ~~ ^~ pt1.c:4231:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ pt1.c:4231:21: note: place parentheses around the '&&' expression to silence this warning if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) ^ ( ) pt1.c:4231:57: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ pt1.c:4231:57: note: place parentheses around the '&&' expression to silence this warning if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) ^ ( ) pt1.c:4281:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ pt1.c:4281:21: note: place parentheses around the '&&' expression to silence this warning if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) ^ ( ) pt1.c:4281:57: warning: '&&' within '||' [-Wlogical-op-parentheses] if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ pt1.c:4281:57: note: place parentheses around the '&&' expression to silence this warning if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) ^ ( ) pt1.c:4693:13: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] g->name, pge, ge, nge); ^~~ pt1.c:4693:18: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] g->name, pge, ge, nge); ^~ pt1.c:4693:22: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] g->name, pge, ge, nge); ^~~ pt1.c:5943:45: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, ": 0x%x\nnext -> 0x%p ", pge, nge); ~~ ^~~ pt1.c:5977:32: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, ": 0x%x\n", nge); ~~ ^~~ pt1.c:6140:17: warning: '&&' within '||' [-Wlogical-op-parentheses] || pge != ge && (pgex->flags & GEXF_JCVMASK) <= (ngex->flags & GEXF_JCVMASK) ) { ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:6140:17: note: place parentheses around the '&&' expression to silence this warning || pge != ge && (pgex->flags & GEXF_JCVMASK) <= (ngex->flags & GEXF_JCVMASK) ) { ^ ( ) pt1.c:6181:6: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] nge, ngex->flags & GEXF_JLINE); ^~~ pt1.c:6679:38: warning: '&&' within '||' [-Wlogical-op-parentheses] || physt[first] == physt[last] && j) { ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ pt1.c:6679:38: note: place parentheses around the '&&' expression to silence this warning || physt[first] == physt[last] && j) { ^ ( ) pt1.c:7069:58: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd); ~~ ^~ pt1.c:7069:62: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat] fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd); ~~ ^~~~~~~~ pt1.c:7069:72: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat] fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd); ~~ ^~~~~~~~ pt1.c:7218:44: warning: format specifies type 'short' but the argument has type 'int' [-Wformat] fprintf(afm_file, "StartKernPairs %hd\n", kerning_pairs); ~~~ ^~~~~~~~~~~~~ %d --- ft.o --- 11 warnings generated. --- bdf.o --- 2 warnings generated. --- ttf.o --- 4 warnings generated. --- ttf2pt1.o --- 8 warnings generated. --- bitmap.o --- 13 warnings generated. --- pt1.o --- 76 warnings generated. --- ttf2pt1 --- clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o ttf2pt1 ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o -lm `freetype-config --libs` freetype-config: not found ft.o: In function `openfont': ft.c:(.text+0xf): undefined reference to `FT_Init_FreeType' ft.c:(.text+0x2d): undefined reference to `FT_New_Face' ft.o: In function `closefont': ft.c:(.text+0x10c): undefined reference to `FT_Done_Face' ft.c:(.text+0x13f): undefined reference to `FT_Done_FreeType' ft.o: In function `glnames': ft.c:(.text+0x20b): undefined reference to `FT_Get_Glyph_Name' ft.o: In function `glmetrics': ft.c:(.text+0x307): undefined reference to `FT_Glyph_Get_CBox' ft.c:(.text+0x348): undefined reference to `FT_Load_Glyph' ft.c:(.text+0x3df): undefined reference to `FT_Get_Glyph' ft.o: In function `glenc': ft.c:(.text+0x4fa): undefined reference to `FT_Set_Charmap' ft.c:(.text+0x5d3): undefined reference to `FT_Set_Charmap' ft.c:(.text+0x623): undefined reference to `FT_Get_Char_Index' ft.o: In function `fnmetrics': ft.c:(.text+0x7e9): undefined reference to `FT_Get_Sfnt_Name' ft.c:(.text+0x835): undefined reference to `FT_Get_Sfnt_Name' ft.c:(.text+0x8d5): undefined reference to `FT_Get_Sfnt_Name' ft.c:(.text+0x905): undefined reference to `FT_Get_Sfnt_Name' ft.o: In function `glpath': ft.c:(.text+0xac9): undefined reference to `FT_Load_Glyph' ft.c:(.text+0xb10): undefined reference to `FT_Outline_Decompose' ft.o: In function `kerning': ft.c:(.text+0xc5b): undefined reference to `FT_Get_Kerning' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [ttf2pt1] Error code 1 make: stopped in /data/scratch/fonts/ttf2pt1/work/ttf2pt1-3.4.4 1 error make: stopped in /data/scratch/fonts/ttf2pt1/work/ttf2pt1-3.4.4 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/fonts/ttf2pt1 *** Error code 1 Stop. make: stopped in /data/pkgsrc/fonts/ttf2pt1