openbsd-ports/net/amule/patches/patch-m4_libpng_m4
dcoppa 6409197fe1 Fix crash in chat window on disconnected client
(upstream git commit ea45371bda1aa96fe63967c15e360b11d9d84bbd)

Fix bad #define
(upstream git commit b2ff838be24f5effae9ac4b75bd1897b710a60dc)
2011-12-27 11:51:37 +00:00

20 lines
562 B
Plaintext

$OpenBSD: patch-m4_libpng_m4,v 1.2 2011/12/27 11:51:37 dcoppa Exp $
Fix configure of libpng when sh != bash
--- m4/libpng.m4.orig Mon Nov 28 09:58:11 2011
+++ m4/libpng.m4 Mon Nov 28 10:00:37 2011
@@ -95,9 +95,9 @@ m4_define([REQUIRED_VERSION_MICRO], [m4_bregexp(REQUIR
SAVED_LDFLAGS=$LDFLAGS
SAVED_LIBS=$LIBS
- CFLAGS+=" $LIBPNG_CFLAGS"
- LDFLAGS+=" $LIBPNG_LDFLAGS"
- LIBS+=" $LIBPNG_LIBS"
+ CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
+ LDFLAGS="$LDFLAGS $LIBPNG_LDFLAGS"
+ LIBS="$LIBS $LIBPNG_LIBS"
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[