Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37732950
en ru br
ALT Linux repositórios
S:2.38.0.23.0e1ef6779a-alt1
5.0: 2.9-alt5
4.1: 2.5.1-alt4.M41.2
4.0: 2.5-alt4.M40.2
3.0: 2.3.5-alt5

Outros repositórios

Group :: Sistema/Base
RPM: glibc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: glibc-2.5-alt-libgd.patch
Download


# Fix linkage.
--- glibc-2.5.orig/configure.in
+++ glibc-2.5/configure.in
@@ -1950,7 +1950,7 @@ if test "$with_gd" != "no"; then
   old_LDFLAGS="$LDFLAGS"
   LDFLAGS="$LDFLAGS $libgd_ldflags"
   old_LIBS="$LIBS"
-  LIBS="$LIBS -lgd -lpng -lz -lm"
+  LIBS="$LIBS -lgd"
   AC_TRY_LINK([#include <gd.h>], [gdImagePng (0, 0)], LIBGD=yes, LIBGD=no)
   CFLAGS="$old_CFLAGS"
   LDFLAGS="$old_LDFLAGS"
--- glibc-2.5.orig/configure
+++ glibc-2.5/configure
@@ -6574,7 +6574,7 @@ if test "$with_gd" != "no"; then
   old_LDFLAGS="$LDFLAGS"
   LDFLAGS="$LDFLAGS $libgd_ldflags"
   old_LIBS="$LIBS"
-  LIBS="$LIBS -lgd -lpng -lz -lm"
+  LIBS="$LIBS -lgd"
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
--- glibc-2.5.orig/malloc/Makefile
+++ glibc-2.5/malloc/Makefile
@@ -99,7 +99,7 @@ do-memusagestat: $(objpfx)memusagestat
 
 memusagestat-modules = memusagestat
 $(objpfx)memusagestat: $(memusagestat-modules:%=$(objpfx)%.o)
-	$(LINK.o) -o $@ $^ $(libgd-LDFLAGS) -lgd -lpng -lz -lm
+	$(LINK.o) -o $@ $^ $(libgd-LDFLAGS) -lgd
 
 include ../Rules
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009