SOURCES: iproute2-build.patch - fix conftest (/tmp/atmtest.c: Perm...

pluto pluto at pld-linux.org
Sun Jun 19 22:41:34 CEST 2005


Author: pluto                        Date: Sun Jun 19 20:41:34 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix conftest (/tmp/atmtest.c: Permission denied).

---- Files affected:
SOURCES:
   iproute2-build.patch (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/iproute2-build.patch
diff -u SOURCES/iproute2-build.patch:1.7 SOURCES/iproute2-build.patch:1.8
--- SOURCES/iproute2-build.patch:1.7	Sat Apr  2 15:26:49 2005
+++ SOURCES/iproute2-build.patch	Sun Jun 19 22:41:29 2005
@@ -1,4 +1,3 @@
-diff -urN iproute2-2.6.8.org/Makefile iproute2-2.6.8/Makefile
 --- iproute2-2.6.8.org/Makefile	2004-07-16 21:49:23.066528064 +0200
 +++ iproute2-2.6.8/Makefile	2004-07-16 21:50:01.491686552 +0200
 @@ -10,7 +10,7 @@
@@ -29,3 +28,29 @@
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
+--- iproute2-2.6.11-050330/configure.orig	2005-04-01 21:58:11.000000000 +0200
++++ iproute2-2.6.11-050330/configure	2005-06-19 22:38:36.000000000 +0200
+@@ -8,7 +8,7 @@
+ echo "TC schedulers"
+ 
+ echo -n " ATM	"
+-cat >/tmp/atmtest.c <<EOF
++cat >atmtest.c <<EOF
+ #include <atm.h>
+ int main(int argc, char **argv) {
+ 	struct atm_qos qos;
+@@ -16,7 +16,7 @@
+ 	return 0;
+ }
+ EOF
+-gcc -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1 
++gcc -I$INCLUDE -o atmtest atmtest.c -latm >/dev/null 2>&1 
+ if [ $? -eq 0 ]
+ then
+     echo "TC_CONFIG_ATM:=y" >>Config
+@@ -24,4 +24,4 @@
+ else
+     echo no
+ fi
+-rm -f /tmp/atmtest.c /tmp/atmtest
++rm -f atmtest*
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/iproute2-build.patch?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list