diff -Naur webp/leptonlib-1.066/configure webp-haiku/leptonlib-1.066/configure
|
old
|
new
|
|
| 8651 | 8651 | save_LIBS="$LIBS" |
| 8652 | 8652 | CFLAGS="$CFLAGS $LIBTIFF_CFLAGS" |
| 8653 | 8653 | CXXFLAGS="$CXXFLAGS $LIBTIFF_CFLAGS" |
| 8654 | | LIBS="$LIBS $LIBTIFF_LIBS -lm" |
| | 8654 | LIBS="$LIBS $LIBTIFF_LIBS" |
| 8655 | 8655 | cat >conftest.$ac_ext <<_ACEOF |
| 8656 | 8656 | /* confdefs.h. */ |
| 8657 | 8657 | _ACEOF |
| … |
… |
|
| 8732 | 8732 | if test "x$CXX" = "xcl.exe" ; then |
| 8733 | 8733 | LIBS="$LIBTIFF_LIBS $LIBS" |
| 8734 | 8734 | else |
| 8735 | | LIBS="$LIBTIFF_LIBS $LIBS -lm" |
| | 8735 | LIBS="$LIBTIFF_LIBS $LIBS" |
| 8736 | 8736 | fi |
| 8737 | 8737 | : |
| 8738 | 8738 | fi |
diff -Naur webp/leptonlib-1.066/src/bmpio.c webp-haiku/leptonlib-1.066/src/bmpio.c
|
old
|
new
|
|
| 503 | 503 | #endif /* HAVE_CONFIG_H */ |
| 504 | 504 | |
| 505 | 505 | #if HAVE_FMEMOPEN |
| 506 | | |
| | 506 | #if !defined(__HAIKU__) |
| 507 | 507 | extern FILE *open_memstream(char **data, size_t *size); |
| | 508 | #endif |
| 508 | 509 | extern FILE *fmemopen(void *data, size_t size, const char *mode); |
| 509 | 510 | |
| 510 | 511 | /*! |
diff -Naur webp/leptonlib-1.066/src/jpegio.c webp-haiku/leptonlib-1.066/src/jpegio.c
|
old
|
new
|
|
| 948 | 948 | * Read/write to memory * |
| 949 | 949 | *---------------------------------------------------------------------*/ |
| 950 | 950 | #if HAVE_FMEMOPEN |
| 951 | | |
| | 951 | #if !defined(__HAIKU__) |
| 952 | 952 | extern FILE *open_memstream(char **data, size_t *size); |
| | 953 | #endif |
| 953 | 954 | extern FILE *fmemopen(void *data, size_t size, const char *mode); |
| 954 | 955 | |
| 955 | 956 | /*! |
diff -Naur webp/leptonlib-1.066/src/pngio.c webp-haiku/leptonlib-1.066/src/pngio.c
|
old
|
new
|
|
| 985 | 985 | * Read/write to memory * |
| 986 | 986 | *---------------------------------------------------------------------*/ |
| 987 | 987 | #if HAVE_FMEMOPEN |
| 988 | | |
| | 988 | #if !defined(__HAIKU__) |
| 989 | 989 | extern FILE *open_memstream(char **data, size_t *size); |
| | 990 | #endif |
| 990 | 991 | extern FILE *fmemopen(void *data, size_t size, const char *mode); |
| 991 | 992 | |
| 992 | 993 | /*! |
diff -Naur webp/leptonlib-1.066/src/pnmio.c webp-haiku/leptonlib-1.066/src/pnmio.c
|
old
|
new
|
|
| 531 | 531 | #endif /* HAVE_CONFIG_H */ |
| 532 | 532 | |
| 533 | 533 | #if HAVE_FMEMOPEN |
| 534 | | |
| | 534 | #if !defined(__HAIKU__) |
| 535 | 535 | extern FILE *open_memstream(char **data, size_t *size); |
| | 536 | #endif |
| 536 | 537 | extern FILE *fmemopen(void *data, size_t size, const char *mode); |
| 537 | 538 | |
| 538 | 539 | /*! |
diff -Naur webp/leptonlib-1.066/src/sarray.c webp-haiku/leptonlib-1.066/src/sarray.c
|
old
|
new
|
|
| 1795 | 1795 | /* It's nice to ignore directories. For this it is necessary to |
| 1796 | 1796 | * define _BSD_SOURCE in the CC command, because the DT_DIR |
| 1797 | 1797 | * flag is non-standard. */ |
| 1798 | | #if !defined(__SOLARIS__) |
| | 1798 | #if !defined(__SOLARIS__) && !defined(__HAIKU__) |
| 1799 | 1799 | if (pdirentry->d_type == DT_DIR) |
| 1800 | 1800 | continue; |
| 1801 | 1801 | #endif |
diff -Naur webp/libwebp/makefile webp-haiku/libwebp/makefile
|
old
|
new
|
|
| 67 | 67 | # (2) Install giflib-4.1.4, and be sure your LD_LIBRARY_PATH includes |
| 68 | 68 | # the directory in which libgif.so.4 is installed. |
| 69 | 69 | # (3) Use the second line below for ALL_LIBS |
| 70 | | ALL_LIBS = $(LEPTLIB) -ljpeg -lpng -lz -lm |
| | 70 | ALL_LIBS = $(LEPTLIB) -ljpeg -lpng -lz |
| 71 | 71 | #ALL_LIBS = $(LEPTLIB) -ltiff -ljpeg -lpng -lgif -lz -lm |
| 72 | 72 | |
| 73 | | VPX_LIB = -lvpx -lpthread |
| | 73 | VPX_LIB = -lvpx |
| 74 | 74 | |
| 75 | 75 | ######################################################################### |
| 76 | 76 | |