Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 639838 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (+12 lines)
Lines 291-296 else Link Here
291
        CFLAGS="${CFLAGS} -g -rdynamic"
291
        CFLAGS="${CFLAGS} -g -rdynamic"
292
fi
292
fi
293
293
294
AC_ARG_WITH([libtirpc],
295
        AS_HELP_STRING([--with-libtirpc], [Use libtirpc as RPC implementation (instead of sunrpc)]),
296
        [], [with_libtirpc=no])
297
294
AC_ARG_ENABLE([privport_tracking],
298
AC_ARG_ENABLE([privport_tracking],
295
              AC_HELP_STRING([--disable-privport_tracking],
299
              AC_HELP_STRING([--disable-privport_tracking],
296
                             [Disable internal tracking of privileged ports.]))
300
                             [Disable internal tracking of privileged ports.]))
Lines 1050-1055 AC_SUBST(GF_DISTRIBUTION) Link Here
1050
GF_HOST_OS=""
1054
GF_HOST_OS=""
1051
GF_LDFLAGS="-rdynamic"
1055
GF_LDFLAGS="-rdynamic"
1052
1056
1057
if test "x$with_libtirpc" = "xyes" ; then
1058
    PKG_CHECK_MODULES([TIRPC], [libtirpc],
1059
       [GF_CFLAGS="$GF_CFLAGS $TIRPC_CFLAGS"; GF_LDFLAGS="$GF_LDFLAGS $TIRPC_LIBS";],
1060
       [AC_MSG_ERROR([libtirpc requested but library not found])]
1061
    )
1062
    AC_DEFINE(HAVE_LIBTIRPC, 1, [Define if libtirpc is enabled.])
1063
fi
1064
1053
dnl check for gcc -Werror=format-security
1065
dnl check for gcc -Werror=format-security
1054
saved_CFLAGS=$CFLAGS
1066
saved_CFLAGS=$CFLAGS
1055
CFLAGS="-Wformat -Werror=format-security"
1067
CFLAGS="-Wformat -Werror=format-security"
(-)a/libglusterfs/src/compat.h (-1 / +4 lines)
Lines 487-492 int gf_mkostemp (char *tmpl, int suffixlen, int flags); Link Here
487
#define ST_CTIM_NSEC_SET(stbuf, val) do { } while (0);
487
#define ST_CTIM_NSEC_SET(stbuf, val) do { } while (0);
488
#endif
488
#endif
489
489
490
#ifndef HAVE_LIBTIRPC
491
490
#ifndef IXDR_GET_LONG
492
#ifndef IXDR_GET_LONG
491
#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))
493
#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))
492
#endif
494
#endif
Lines 503-508 int gf_mkostemp (char *tmpl, int suffixlen, int flags); Link Here
503
#define IXDR_PUT_U_LONG(buf, v)       IXDR_PUT_LONG(buf, (long)(v))
505
#define IXDR_PUT_U_LONG(buf, v)       IXDR_PUT_LONG(buf, (long)(v))
504
#endif
506
#endif
505
507
508
#endif /* HAVE_LIBTIRPC */
509
506
#if defined(__GNUC__) && !defined(RELAX_POISONING)
510
#if defined(__GNUC__) && !defined(RELAX_POISONING)
507
/* Use run API, see run.h */
511
/* Use run API, see run.h */
508
#include <stdlib.h> /* system(), mkostemp() */
512
#include <stdlib.h> /* system(), mkostemp() */
509
- 

Return to bug 639838