rpms/rblcheck/devel rblcheck-1.5-res_query.patch, NONE, 1.1 rblcheck.spec, 1.1, 1.2
Oliver Falk (oliver)
fedora-extras-commits at redhat.com
Fri Jul 1 10:44:40 UTC 2005
Author: oliver
Update of /cvs/extras/rpms/rblcheck/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8746
Modified Files:
rblcheck.spec
Added Files:
rblcheck-1.5-res_query.patch
Log Message:
* Add compile fix patch for x86_64
rblcheck-1.5-res_query.patch:
--- NEW FILE rblcheck-1.5-res_query.patch ---
--- rblcheck-1.5/configure 2005-07-01 10:50:36.000000000 +0100
+++ rblcheck-1.5/configure 2005-07-01 10:57:05.000000000 +0100
@@ -1529,13 +1529,12 @@
cat > conftest.$ac_ext <<EOF
#line 1531 "configure"
#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char res_query();
+
+/* Include <resolv.h> to get macro definition for res_query */
+#include <resolv.h>
int main() {
-res_query()
+res_query("",0,0,"",0)
; return 0; }
EOF
if { (eval echo configure:1542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
Index: rblcheck.spec
===================================================================
RCS file: /cvs/extras/rpms/rblcheck/devel/rblcheck.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rblcheck.spec 29 Jun 2005 08:33:44 -0000 1.1
+++ rblcheck.spec 1 Jul 2005 10:44:37 -0000 1.2
@@ -29,6 +29,9 @@
# http://sourceforge.net/mailarchive/forum.php?thread_id=1371771&forum_id=4256
Patch2: rblcheck-names.patch
+# Compile fix for x86_64 systems
+Patch3: rblcheck-1.5-res_query.patch
+
BuildRequires: docbook-utils
%description
@@ -42,6 +45,7 @@
%patch0 -p1 -b .texttweak
%patch1 -p0 -b .txt
%patch2 -p0 -b .names
+%patch3 -p1 -b .res_query
%build
%configure
@@ -65,6 +69,9 @@
%config(noreplace) %{_sysconfdir}/rblcheckrc
%changelog
+* Fri Jul 01 2005 Oliver Falk <oliver at linux-kernel.at> - 1.5-10
+- Add compile fix patch for x86_64
+
* Wed Jun 29 2005 Oliver Falk <oliver at linux-kernel.at> - 1.5-9
- Applied patch from Matthias (readability changes in specfile)
More information about the fedora-extras-commits
mailing list