summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-sun.cf.patch
blob: b79b9429bdd063df6e65d15d8b404372353b8b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff --git a/xorg-cf-files/sun.cf b/xorg-cf-files/sun.cf
index 516a586..be70138 100644
--- a/xorg-cf-files/sun.cf
+++ b/xorg-cf-files/sun.cf
@@ -112,7 +112,7 @@ XCOMM operating system:  OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
  */
 
 #ifndef HasGcc3
-#define HasGcc3 NO
+#define HasGcc3 YES
 #endif
 #ifndef HasGcc2
 #define HasGcc2 HasGcc3
@@ -430,7 +430,7 @@ XCOMM SunPro C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
 #  endif
 # endif
 # if OSMinorVersion > 3
-#  define InstallCmd	    /usr/ucb/install
+#  define InstallCmd	    /usr/bin/install
 # endif
 #ifndef LargefileDefines
 # if (OSMajorVersion > 5) || (OSMajorVersion == 5 && OSMinorVersion >= 6)
@@ -668,6 +668,9 @@ XCOMM SunPro C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
 #  endif
 # endif
 # if HasGcc2
+#  ifndef DefaultGcc2OptimizeOpt
+#   define DefaultGcc2OptimizeOpt     -O2
+#  endif
 #  ifndef CcCmd
 #   define CcCmd gcc
 #  endif