~ubuntu-branches/ubuntu/oneiric/openafs/oneiric-201305130334

« back to all changes in this revision

Viewing changes to src/packaging/RedHat/afs-krb5-2.0-res_search.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2006-10-21 20:57:09 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061021205709-y5keam1v20qxjwwo
Tags: 1.4.2-2
Upstream fix to prevent butc segfaulting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- afs-krb5/src/configure.in.res_search        2005-09-30 12:53:38.000000000 -0400
 
2
+++ afs-krb5/src/configure.in   2005-09-30 14:40:38.000000000 -0400
 
3
@@ -89,7 +89,10 @@
 
4
                if test "$have_res_search" != yes; then
 
5
                        AC_CHECK_LIB(${lib}, res_search,
 
6
                                     [have_res_search=yes
 
7
-                                     NETLIBS="$NETLIBS -l${lib}"])
 
8
+                                     NETLIBS="$NETLIBS -l${lib}"],
 
9
+                                    [AC_CHECK_LIB(${lib}, __res_search,
 
10
+                                      [have_res_search=yes
 
11
+                                       NETLIBS="$NETLIBS -l${lib}"])])
 
12
                fi
 
13
        done
 
14
 fi