summaryrefslogtreecommitdiff
path: root/x11/imake/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'x11/imake/patches/patch-ae')
-rw-r--r--x11/imake/patches/patch-ae71
1 files changed, 57 insertions, 14 deletions
diff --git a/x11/imake/patches/patch-ae b/x11/imake/patches/patch-ae
index 09dbede361d..5e237eeb666 100644
--- a/x11/imake/patches/patch-ae
+++ b/x11/imake/patches/patch-ae
@@ -1,15 +1,58 @@
-$NetBSD: patch-ae,v 1.1.1.1 2004/01/24 08:43:28 xtraeme Exp $
-
---- extras/rman/rman.c.orig Tue Jul 15 23:53:53 2003
-+++ extras/rman/rman.c Tue Jul 15 23:44:21 2003
-@@ -4104,6 +4104,9 @@
- }
- }
- break;
-+ case 0:
-+ /* ignore */
-+ break;
- default: /* unknown escaped character */
- sputchar(*p++);
- }
+$NetBSD: patch-ae,v 1.2 2004/03/28 22:06:16 xtraeme Exp $
+--- config/cf/FreeBSD.cf.in.orig 2004-03-03 07:40:43.000000000 +0000
++++ config/cf/FreeBSD.cf.in 2004-03-03 07:44:05.000000000 +0000
+@@ -190,11 +190,11 @@
+ # define CcCmd $(CLIENTENVSETUP) cc
+ # define CplusplusCmd $(CLIENTENVSETUP) c++
+ #else
+-# define CcCmd cc
+-# define CplusplusCmd c++
++# define CcCmd @@PKGSRC_CC@@
++# define CplusplusCmd @@PKGSRC_CXX@@
+ #endif
+
+-#define CppCmd /usr/bin/cpp
++#define CppCmd @@PKGSRC_CPP@@
+ #define PreProcessCmd CppCmd
+ #define StandardCppOptions -traditional
+ #define StandardCppDefines /**/
+@@ -207,7 +207,7 @@
+ #else
+ #define NoSystemWarn
+ #endif
+-#define DefaultCCOptions -ansi -pedantic NoSystemWarn -Dasm=__asm \
++#define DefaultCCOptions -ansi NoSystemWarn -Dasm=__asm \
+ GccWarningOptions
+ #endif
+ #endif
+@@ -439,18 +439,8 @@
+ #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
+ #endif
+
+-/* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
+-#ifndef DefaultGcc2i386Opt
+-#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
+-#define DefaultGcc2i386Opt -O2 GccAliasingArgs
+-#endif
+-#endif
+-
+-#ifdef i386Architecture
+-# define OptimizedCDebugFlags DefaultGcc2i386Opt
+-#else
+-# define OptimizedCDebugFlags -O
+-#endif
++#define DefaultGcc2i386Opt
++#define OptimizedCDebugFlags @@PKGSRC_CFLAGS@@
+
+ #ifndef PreIncDir
+ # define PreIncDir /usr/include
+@@ -476,7 +466,7 @@
+ * Compress manual pages
+ */
+ #ifndef CompressManPages
+-# define CompressManPages YES
++# define CompressManPages NO
+ #endif
+
+ #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 1)