You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/gmorgan/files/gmorgan-cflags.patch

14 lines
597 B

Index: gmorgan_0.39/configure.in
===================================================================
--- gmorgan_0.39.orig/configure.in
+++ gmorgan_0.39/configure.in
@@ -15,7 +15,7 @@ AC_FUNC_SELECT_ARGTYPES
AC_CHECK_FUNCS([bzero memset select strdup])
AM_GNU_GETTEXT([external])
LIBS="`fltk-config --use-images --ldflags` -lasound"
-CXXFLAGS="`fltk-config --use-images --cxxflags`"
+CXXFLAGS="${CXXFLAGS} `fltk-config --use-images --cxxflags`"
AC_CHECK_HEADERS([unistd.h])
AC_CHECK_HEADER(alsa/asoundlib.h, true, AC_MSG_ERROR([Alsa is required]))
AC_PATH_PROG(FLTK_CONFIG, fltk-config, no)