martin# pwd /usr/ports/devel/kdevelop martin# make install .................. .....BUILDING..... .................. /usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined /usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined _________________________ ups!!! and trying repeat ((((((((((((((( _________________________ OHHH OKAY LOL martin# cd ~martin/kdeveloper/ martin# pwd /usr/home/martin/kdeveloper martin# ls kdevelop-041018 kdevelop.tar martin# cd kdevelop-041018/ martin#./configure --enable-debug=full --prefix=$KDEDIR --with-kdelibsdoxy-dir=$KDEDIR/share/doc/HTML/en/kdelibs-apidocs --disable-ada --disable-bash --disable-fortran --disable-haskell --disable-java --disable-pascal --disable-perl --disable-php --disable-python --disable-ruby --disable-sql --disable-antproject --disable-genericproject --disable-scriptproject --disable-trollproject --disable-clearcase --disable-perforce --disable-subversion .................. .................. .................. ...CONFIGURING.... .................. .................. martin#make -k .................. .....BUILDING..... .................. ....BLA BLA BLA... .................. .................. /usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined /usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined UPSSS!!! OH (((((((((((((( OK and im go to this lnk http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/cdefs.h.diff?r1=1.78&r2=1.79 im see patch OHHH HOHOH GOOD!!! and im remake path this patch ;) =================================================================== RCS file: /usr/local/www/cvsroot/FreeBSD/src/sys/sys/cdefs.h,v retrieving revision 1.78 retrieving revision 1.79 diff -u -p -r1.78 -r1.79 --- src/sys/sys/cdefs.h2003/10/01 11:26:201.78 +++ src/sys/sys/cdefs.h2003/10/31 05:42:531.79 @@ -34,7 +34,7 @@ * SUCH DAMAGE. * *@(#)cdefs.h8.8 (Berkeley) 1/9/95 - * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/sys/cdefs.h,v 1.78 2003/10/01 11:26:20 mux Exp $ + * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/sys/cdefs.h,v 1.79 2003/10/31 05:42:53 peter Exp $ */ #ifndef_SYS_CDEFS_H_ @@ -181,7 +181,7 @@ * software that is unaware of C99 keywords. */ #if !(__GNUC__ == 2 && __GNUC_MINOR__ == 95) -#if __STDC_VERSION__ < 199901 +#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901 #define__restrict #else #define__restrictrestrict @@ -292,7 +292,7 @@ * Embed the rcs id of a source file in the resulting library. Note that in * more recent ELF binutils, we use .ident allowing the ID to be stripped. * Usage: - *__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/sys/cdefs.h,v 1.78 2003/10/01 11:26:20 mux Exp $"); + *__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/sys/cdefs.h,v 1.79 2003/10/31 05:42:53 peter Exp $"); */ #ifndef__FBSDID #if !defined(lint) && !defined(STRIP_FBSDID) @@ -369,13 +369,13 @@ */ /* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. */ -#if _POSIX_C_SOURCE == 1 +#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 1 #undef _POSIX_C_SOURCE/* Probably illegal, but beyond caring now. */ #define_POSIX_C_SOURCE199009 #endif /* Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. */ -#if _POSIX_C_SOURCE == 2 +#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 2 #undef _POSIX_C_SOURCE #define_POSIX_C_SOURCE199209 #endif and im remake path this patch!!!!!!! ;) =================================================================== RCS file: /usr/src/sys/sys/cdefs.h,v retrieving revision 1.78 retrieving revision 1.79 diff -u -p -r1.78 -r1.79 --- src/sys/sys/cdefs.h2003/10/01 11:26:201.78 +++ src/sys/sys/cdefs.h2003/10/31 05:42:531.79 @@ -34,7 +34,7 @@ * SUCH DAMAGE. * *@(#)cdefs.h8.8 (Berkeley) 1/9/95 - * $FreeBSD: /usr/src/sys/sys/cdefs.h,v 1.78 2003/10/01 11:26:20 mux Exp $ + * $FreeBSD: /usr/src/sys/sys/cdefs.h,v 1.79 2003/10/31 05:42:53 peter Exp $ */ #ifndef_SYS_CDEFS_H_ @@ -181,7 +181,7 @@ * software that is unaware of C99 keywords. */ #if !(__GNUC__ == 2 && __GNUC_MINOR__ == 95) -#if __STDC_VERSION__ < 199901 +#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901 #define__restrict #else #define__restrictrestrict @@ -292,7 +292,7 @@ * Embed the rcs id of a source file in the resulting library. Note that in * more recent ELF binutils, we use .ident allowing the ID to be stripped. * Usage: - *__FBSDID("$FreeBSD: /usr/src/sys/sys/cdefs.h,v 1.78 2003/10/01 11:26:20 mux Exp $"); + *__FBSDID("$FreeBSD: /usr/src/sys/sys/cdefs.h,v 1.79 2003/10/31 05:42:53 peter Exp $"); */ #ifndef__FBSDID #if !defined(lint) && !defined(STRIP_FBSDID) @@ -369,13 +369,13 @@ */ /* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. */ -#if _POSIX_C_SOURCE == 1 +#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 1 #undef _POSIX_C_SOURCE/* Probably illegal, but beyond caring now. */ #define_POSIX_C_SOURCE199009 #endif /* Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. */ -#if _POSIX_C_SOURCE == 2 +#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 2 #undef _POSIX_C_SOURCE #define_POSIX_C_SOURCE199209 #endif %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% AND martin# patch < cdefs.h.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |=================================================================== |RCS file: /usr/local/www/cvsroot/FreeBSD/src/sys/sys/cdefs.h,v |retrieving revision 1.78 |retrieving revision 1.79 |diff -u -p -r1.78 -r1.79 |--- src/sys/sys/cdefs.h 2003/10/01 11:26:20 1.78 |+++ src/sys/sys/cdefs.h 2003/10/31 05:42:53 1.79 -------------------------- File to patch: /usr/src/sys/sys/cdefs.h Patching file /usr/src/sys/sys/cdefs.h using Plan A... Hunk #1 failed at 34. Hunk #2 succeeded at 144 (offset -37 lines). Hunk #3 failed at 255. Hunk #4 succeeded at 307 (offset -62 lines). 2 out of 4 hunks failed--saving rejects to /usr/src/sys/sys/cdefs.h.rej done martin# AND WHAT ME DOING!!!!!! HELP ME!!!! PLZ THANKS!!! =))))))))
State Changed From-To: open->closed Please reask this question at questions@FreeBSD.org - the PR database is for bugs.