diff -Npru avahi-0.6.19/avahi-utils/stdb.c avahi-0.6.19-sunos/avahi-utils/stdb.c
|
old
|
new
|
|
| 58 | 58 | if (dbm_file) |
| 59 | 59 | return 0; |
| 60 | 60 | |
| 61 | | if (!(dbm_file = dbm_open((char*) DATABASE_FILE, O_RDONLY, 0))) |
| | 61 | if (!(dbm_file = dbm_open((const char*) DATABASE_FILE, O_RDONLY, 0))) |
| 62 | 62 | return -1; |
| 63 | 63 | #endif |
| 64 | 64 | |
| … |
… |
|
| 190 | 190 | key = gdbm_nextkey(gdbm_file, key); |
| 191 | 191 | #endif |
| 192 | 192 | #ifdef HAVE_DBM |
| 193 | | key = dbm_nextkey(dbm_file, key); |
| | 193 | key = dbm_nextkey(dbm_file); |
| 194 | 194 | #endif |
| 195 | 195 | } |
| 196 | 196 | |
diff -Npru avahi-0.6.19/configure.ac avahi-0.6.19-sunos/configure.ac
|
old
|
new
|
|
| 338 | 338 | AC_HEADER_TIME |
| 339 | 339 | AC_HEADER_SYS_WAIT |
| 340 | 340 | |
| | 341 | # solaris stuff |
| | 342 | AC_SEARCH_LIBS([inet_ntop],[nsl]) |
| | 343 | AC_SEARCH_LIBS([recv],[socket]) |
| | 344 | AC_CHECK_DECL([CMSG_SPACE],,CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D__EXTENSIONS__") |
| | 345 | |
| 341 | 346 | # Checks for library functions. |
| 342 | 347 | AC_FUNC_MEMCMP |
| 343 | 348 | AC_FUNC_SELECT_ARGTYPES |
diff -Npru avahi-0.6.19/man/Makefile.am avahi-0.6.19-sunos/man/Makefile.am
|
old
|
new
|
|
| 236 | 236 | install-exec-local: |
| 237 | 237 | mkdir -p $(DESTDIR)/$(mandir)/man1 && \ |
| 238 | 238 | cd $(DESTDIR)/$(mandir)/man1 && \ |
| 239 | | rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 && \ |
| | 239 | rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 bvnc.1 && \ |
| 240 | 240 | $(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \ |
| 241 | 241 | $(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \ |
| 242 | 242 | $(LN_S) avahi-browse.1 avahi-browse-domains.1 && \ |