public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/openafs/patches/1.4: 014_all_lresolv.patch
@ 2010-08-21 21:31 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2010-08-21 21:31 UTC (permalink / raw
  To: gentoo-commits

vapier      10/08/21 21:31:53

  Added:                014_all_lresolv.patch
  Log:
  link shared libs against -lresolv #305823

Revision  Changes    Path
1.1                  src/patchsets/openafs/patches/1.4/014_all_lresolv.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/openafs/patches/1.4/014_all_lresolv.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/openafs/patches/1.4/014_all_lresolv.patch?rev=1.1&content-type=text/plain

Index: 014_all_lresolv.patch
===================================================================
link shared libs against -lresolv since we use those functions

http://bugs.gentoo.org/305823

patch by Andrej Filipcic

--- openafs-1.4.12.1/src/cf/osconf.m4
+++ openafs-1.4.12.1/src/cf/osconf.m4
@@ -134,7 +134,7 @@
 		KERN_OPTMZ=-O2
 		LEX="flex -l"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		PAM_OPTMZ=-O2
 		PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
 		SHLIB_CFLAGS="-fPIC"
@@ -299,7 +299,7 @@
 		KERN_OPTMZ=-O2
 		LEX="flex -l"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
 		SHLIB_CFLAGS="-fPIC"
 		SHLIB_LDFLAGS="-shared -Xlinker -x"
@@ -313,7 +313,7 @@
 		KERN_OPTMZ=-O2
 		LEX="flex -l"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
 		SHLIB_CFLAGS="-fPIC"
 		SHLIB_LDFLAGS="-shared -Xlinker -x"
@@ -339,7 +339,7 @@
 		KERN_OPTMZ=-O2
 		LEX="flex -l"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		PAM_CFLAGS="-g -O2 -Dlinux -DLINUX_PAM -fPIC"
 		SHLIB_LDFLAGS="-shared -Xlinker -x"
 		SHLIB_CFLAGS="-fPIC"
@@ -373,7 +373,7 @@
 		KERN_OPTMZ=-O2
 		LEX="flex -l"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		DBG=-g
 		KERN_DBG=-g
 		LWP_DBG=-g
@@ -415,7 +415,7 @@
 		KERN_OPTMZ=-O2
 		LEX="flex -l"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		DBG=-g
 		KERN_DBG=-g
 		LWP_DBG=-g
@@ -573,7 +573,7 @@
 		KERN_OPTMZ=-O2
 		LEX="flex -l"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
 		SHLIB_CFLAGS="-fPIC"
 		SHLIB_LDFLAGS="-shared -Xlinker -x"
@@ -690,7 +690,7 @@
 		LEX="flex -l"
 		MT_CC="$CC"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		PAM_CFLAGS="-O -Dlinux -DLINUX_PAM -fPIC"
 		SHLIB_CFLAGS="-fPIC"
 		SHLIB_LDFLAGS="-shared -Xlinker -x"
@@ -708,7 +708,7 @@
 		LEX="flex -l"
 		MT_CC="$CC"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		PAM_CFLAGS="-O -Dlinux -DLINUX_PAM -fPIC"
 		SHLIB_CFLAGS="-fPIC"
 		SHLIB_LDFLAGS="-shared -Xlinker -x -Xlinker -Bsymbolic"
@@ -784,7 +784,7 @@
 		KERN_OPTMZ=-O2
 		LEX="flex -l"
 		MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-		MT_LIBS="-lpthread"
+		MT_LIBS="-lpthread -lresolv"
 		PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
 		SHLIB_CFLAGS="-fPIC"
 		SHLIB_LDFLAGS="-shared -Xlinker -x"






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-21 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-21 21:31 [gentoo-commits] gentoo commit in src/patchsets/openafs/patches/1.4: 014_all_lresolv.patch Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox