Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 680110 Details for
Bug 736804
sys-power/nut-2.7.4-r6 with USE=cgi fails to configure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
path for nut-2.7.4-r6
libgd_bug.patch (text/plain), 1.77 KB, created by
Igor
on 2020-12-28 19:43:10 UTC
(
hide
)
Description:
path for nut-2.7.4-r6
Filename:
MIME Type:
Creator:
Igor
Created:
2020-12-28 19:43:10 UTC
Size:
1.77 KB
patch
obsolete
>--- nut-2.7.4.original/m4/nut_check_libgd.m4 2015-12-29 13:42:34.000000000 +0500 >+++ nut-2.7.4/m4/nut_check_libgd.m4 2020-12-29 00:02:57.153047436 +0500 >@@ -16,12 +16,12 @@ > dnl unusable and the user fails to pass better values in --with > dnl arguments > CFLAGS="" >- LDFLAGS="-L/usr/X11R6/lib" >- LIBS="-lgd -lpng -lz -ljpeg -lfreetype -lm -lXpm -lX11" >+ LDFLAGS="" >+ LIBS="-lgd -lpng -lz -ljpeg -lfreetype -lm" > > AC_MSG_CHECKING(for gd version via gdlib-config) >- GD_VERSION=`gdlib-config --version 2>/dev/null` >- if test "$?" != "0" -o -z "${GD_VERSION}"; then >+ GD_VERSION=`pkg-config --modversion gdlib 2>/dev/null` >+ if test "`pkg-config --exists gdlib`" != "0" -o -z "${GD_VERSION}"; then > GD_VERSION="none" > fi > AC_MSG_RESULT(${GD_VERSION} found) >@@ -34,9 +34,9 @@ > AC_MSG_WARN([[If gd detection fails, upgrade gd or use --with-gd-includes and --with-gd-libs]]) > ;; > *) >- CFLAGS="`gdlib-config --includes 2>/dev/null`" >- LDFLAGS="`gdlib-config --ldflags 2>/dev/null`" >- LIBS="`gdlib-config --libs 2>/dev/null`" >+ CFLAGS="`pkg-config --cflags gdlib 2>/dev/null`" >+ LDFLAGS="`pkg-config --cflags gdlib 2>/dev/null`" >+ LIBS="`pkg-config --libs gdlib 2>/dev/null`" > ;; > esac > >@@ -74,13 +74,10 @@ > > dnl check if gd is usable > AC_CHECK_HEADERS(gd.h gdfontmb.h, [nut_have_libgd=yes], [nut_have_libgd=no], [AC_INCLUDES_DEFAULT]) >- AC_SEARCH_LIBS(gdImagePng, gd, [], [nut_have_libgd=no]) > >- if test "${nut_have_libgd}" = "yes"; then >- AC_DEFINE(HAVE_LIBGD, 1, [Define if you have Boutell's libgd installed]) >- LIBGD_CFLAGS="${CFLAGS}" >- LIBGD_LDFLAGS="${LDFLAGS} ${LIBS}" >- fi >+ AC_DEFINE(HAVE_LIBGD, 1, [Define if you have Boutell's libgd installed]) >+ LIBGD_CFLAGS="${CFLAGS}" >+ LIBGD_LDFLAGS="${LDFLAGS} ${LIBS}" > > dnl put back the original versions > CFLAGS="${CFLAGS_ORIG}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 736804
:
654230
|
654232
|
671620
| 680110