summaryrefslogtreecommitdiff
path: root/devel/ogre/patches/patch-aa
blob: 8e5897a8f81aebc841836555ba4f6fb50508bb5d (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
$NetBSD: patch-aa,v 1.3 2010/08/30 20:30:28 wiz Exp $

--- configure.orig	2009-07-26 10:31:54.000000000 +0000
+++ configure
@@ -23623,7 +23623,8 @@ fi
 echo "${ECHO_T}$ogre_cv_prog_compiler_supports_visibility" >&6; }
 
 if test x"$ogre_cv_prog_compiler_supports_visibility" = xyes; then
-    CFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden -DOGRE_GCC_VISIBILITY";
+#    CFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden -DOGRE_GCC_VISIBILITY";
+    CFLAGS_VISIBILITY=""
     case $target_cpu in
         x86_64* )
             if ! echo "$CFLAGS $CXXFLAGS" | grep -q "\-O"; then
@@ -25739,11 +25740,11 @@ fi
     rm -f OgreMain/src/OgreConfigDialog.lo OgreMain/src/OgreErrorDialog.lo
 
     # Prefer win32, then Xt. gtk is being phased out and must be explicitly specified.
-    if test "x$with_gui" == "xauto" && test "x$OGRE_PLATFORM" == "xWIN32"; then
+    if test "x$with_gui" = "xauto" && test "x$OGRE_PLATFORM" = "xWIN32"; then
         with_gui=win32
     fi
 
-    if test "x$with_gui" == "xgtk"; then
+    if test "x$with_gui" = "xgtk"; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for GTK" >&5
@@ -25825,15 +25826,15 @@ echo "${ECHO_T}yes" >&6; }
 fi
     fi
 
-    if test "x$with_gui" == "xauto"; then
+    if test "x$with_gui" = "xauto"; then
         with_gui=Xt
     fi
 
-    if test "x$with_gui" == "xwin32"; then
+    if test "x$with_gui" = "xwin32"; then
         OGRE_GUI=WIN32
-    elif test "x$with_gui" == "xgtk"; then
+    elif test "x$with_gui" = "xgtk"; then
         OGRE_GUI=gtk
-    elif test "x$with_gui" == "xXt"; then
+    elif test "x$with_gui" = "xXt"; then
         OGRE_GUI=GLX
         PLATFORM_LIBS="$PLATFORM_LIBS -lXt -lSM -lICE"
     else
@@ -26708,14 +26709,14 @@ else
   with_allocator=ned
 fi
 
-    if test "x$with_allocator" == "xstd"; then
+    if test "x$with_allocator" = "xstd"; then
 
 cat >>confdefs.h <<\_ACEOF
 #define OGRE_MEMORY_ALLOCATOR 1
 _ACEOF
 
     fi
-    if test "x$with_allocator" == "xned"; then
+    if test "x$with_allocator" = "xned"; then
 
 cat >>confdefs.h <<\_ACEOF
 #define OGRE_MEMORY_ALLOCATOR 2
@@ -29358,7 +29361,7 @@ fi
 
 
 ft_detected=yes
-test "x$no_ft" == "xyes" && ft_detected=no
+test "x$no_ft" = "xyes" && ft_detected=no
 
 echo "--------=== Configuration summary ===--------"
 echo "    Target platform                 : $OGRE_PLATFORM"
@@ -29372,7 +29375,7 @@ echo "    Use FreeType                  
 echo "    Use FreeImage                   : $build_freeimage"
 echo "    Use DevIL                       : $build_il"
 echo "    Build OGRE demos                : $build_ogre_demos"
-test "x$build_ogre_demos" == "xyes" && \
+test "x$build_ogre_demos" = "xyes" && \
 echo "    Build CEGUI demos               : $build_cegui_sample"
 echo "    Build the OpenEXR plugin        : $build_exr"
 echo "    Build the Cg plugin             : $build_cg"