--- /dev/null
+--- rpm-4.4.3/lib/Makefile.am.orig 2005-11-19 11:30:59.243382000 +0100
++++ rpm-4.4.3/lib/Makefile.am 2005-11-19 16:15:27.255650088 +0100
+@@ -44,7 +44,6 @@
+ $(top_builddir)/rpmio/librpmio.la \
+ @WITH_POPT_LIB@ \
+ @WITH_SELINUX_LIB@ \
+- -lresolv \
+ @INTLLIBS@
+
+ if HAVE_LD_VERSION_SCRIPT
+--- rpm-4.4.3/rpmio/Makefile.am.orig 2005-11-19 11:30:59.239382000 +0100
++++ rpm-4.4.3/rpmio/Makefile.am 2005-11-19 16:15:42.181381032 +0100
+@@ -39,7 +39,7 @@
+ @WITH_LUA_LIB@ \
+ @WITH_MAGIC_LIB@ \
+ @WITH_ZLIB_LIB@ \
+- -lpthread -lresolv
++ -lpthread
+ librpmio_la_LIBADD = # $(BEECRYPTLOBJS)
+ librpmio_la_DEPENDENCIES = # .created
+
+--- rpm-4.4.3/configure.ac.orig 2005-11-19 11:30:59.197389000 +0100
++++ rpm-4.4.3/configure.ac 2005-11-19 16:17:10.397970072 +0100
+@@ -439,7 +439,7 @@
+ ])
+
+ AC_CHECK_HEADERS(aio.h)
+-AC_SEARCH_LIBS(aio_read, [c rt aio posix4])
++dnl not used? AC_SEARCH_LIBS(aio_read, [c rt aio posix4])
+
+ dnl Better not use fchmod at all.
+ AC_CHECK_FUNC(fchmod)