Tags 336710 patch
thank

Here's the patch implementing the proposed solution,

Regards,
diff -Nru procps-3.2.6/debian/patches/00list procps-3.2.6.patched/debian/patches/00list
--- procps-3.2.6/debian/patches/00list	2005-12-20 03:00:14.000000000 +0100
+++ procps-3.2.6.patched/debian/patches/00list	2005-12-20 03:01:17.000000000 +0100
@@ -9,3 +9,4 @@
 30_w-columns
 40_gnu-kbsd
 40_pgrep-coption
+50_dev_null_makefile_fix.dpatch
diff -Nru procps-3.2.6/debian/patches/50_dev_null_makefile_fix.dpatch procps-3.2.6.patched/debian/patches/50_dev_null_makefile_fix.dpatch
--- procps-3.2.6/debian/patches/50_dev_null_makefile_fix.dpatch	1970-01-01 01:00:00.000000000 +0100
+++ procps-3.2.6.patched/debian/patches/50_dev_null_makefile_fix.dpatch	2005-12-20 02:57:47.000000000 +0100
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## dev_null_makefile_fix.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad procps-3.2.6~/Makefile procps-3.2.6/Makefile
+--- procps-3.2.6~/Makefile	2005-10-30 07:27:04.000000000 +0100
++++ procps-3.2.6/Makefile	2005-12-20 02:57:41.000000000 +0100
+@@ -119,7 +119,7 @@
+ # Unlike the kernel one, this check_gcc goes all the way to
+ # producing an executable. There might be a -m64 that works
+ # until you go looking for a 64-bit curses library.
+-check_gcc = $(shell if $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) dummy.c $(ALL_LDFLAGS) $(1) -o /dev/null $(CURSES) > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
++check_gcc = $(shell if $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) dummy.c $(ALL_LDFLAGS) $(1) -o will_this_file_really_exist.tmp $(CURSES) > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ; rm -f will_this_file_really_exist.tmp)
+ 
+ # Be 64-bit if at all possible. In a cross-compiling situation, one may
+ # do "make m64=-m32 lib64=lib" to produce 32-bit executables. DO NOT
-- 
Niv Sardi-Altivanik <[EMAIL PROTECTED]>
Debian::GNU/Linux::Addict, Wannabe Debian Developper, 
please test my packages: http://cxhome.ath.cx/debian
> Random Fortune (To make your day better if not wiser) < 
You will pioneer the first Martian colony.

Attachment: pgp7N95fvbEo0.pgp
Description: PGP signature

Reply via email to