OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 21-Sep-2005 12:54:26
Branch: HEAD Handle: 2005092111542600
Modified files:
openpkg-src/gcc gcc.patch gcc.spec
Log:
add support for FreeBSD 7.0-CURRENT
Summary:
Revision Changes Path
1.24 +26 -0 openpkg-src/gcc/gcc.patch
1.117 +1 -1 openpkg-src/gcc/gcc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.patch
============================================================================
$ cvs diff -u -r1.23 -r1.24 gcc.patch
--- openpkg-src/gcc/gcc.patch 20 Sep 2005 13:34:43 -0000 1.23
+++ openpkg-src/gcc/gcc.patch 21 Sep 2005 10:54:26 -0000 1.24
@@ -74,3 +74,29 @@
#define HAVE_ICONV 0
typedef int iconv_t; /* dummy */
#endif
+Index: gcc/config.gcc
+--- gcc/config.gcc.orig 2005-05-05 22:11:50 +0200
++++ gcc/config.gcc 2005-09-21 11:26:28 +0200
+@@ -406,6 +406,8 @@
+ tm_defines="${tm_defines} FBSD_MAJOR=5" ;;
+ *-*-freebsd6 | *-*-freebsd[6].*)
+ tm_defines="${tm_defines} FBSD_MAJOR=6" ;;
++ *-*-freebsd7 | *-*-freebsd[7].*)
++ tm_defines="${tm_defines} FBSD_MAJOR=7" ;;
+ *)
+ echo 'Please update *-*-freebsd* in gcc/config.gcc'
+ exit 1
+Index: gcc/config/freebsd-spec.h
+--- gcc/config/freebsd-spec.h.orig 2005-05-01 20:59:27 +0200
++++ gcc/config/freebsd-spec.h 2005-09-21 11:56:50 +0200
+@@ -51,7 +51,9 @@
+ #define FBSD_TARGET_OS_CPP_BUILTINS()
\
+ do
\
+ {
\
+- if (FBSD_MAJOR == 6) \
++ if (FBSD_MAJOR == 7) \
++ builtin_define ("__FreeBSD__=7"); \
++ else if (FBSD_MAJOR == 6) \
+ builtin_define ("__FreeBSD__=6"); \
+ else if (FBSD_MAJOR == 5) \
+ builtin_define ("__FreeBSD__=5"); \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.spec
============================================================================
$ cvs diff -u -r1.116 -r1.117 gcc.spec
--- openpkg-src/gcc/gcc.spec 20 Sep 2005 13:34:43 -0000 1.116
+++ openpkg-src/gcc/gcc.spec 21 Sep 2005 10:54:26 -0000 1.117
@@ -37,7 +37,7 @@
Group: Compiler
License: GPL
Version: %{V_full}
-Release: 20050920
+Release: 20050921
# package options
%option with_cxx yes
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]