Przeglądaj źródła

workaround conflicts between OpenLDAP avl.h and the Solaris 10 avl.h -- occurring at least under newer Solaris 10 06/06

Ralf S. Engelschall 19 lat temu
rodzic
commit
bd57e1c587
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      openldap/openldap.spec

+ 2 - 2
openldap/openldap.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        Database
 License:      GPL
 Version:      2.3.25
-Release:      20060801
+Release:      20060804
 
 #   package options
 %option       with_fsl   yes
@@ -159,7 +159,7 @@ AutoReqProv:  no
 
     #   configuration: special platform support
     case "%{l_platform -t}" in
-        *-sunos* ) LIBS="$LIBS -lrt" ;;
+        *-sunos* ) CFLAGS="$CFLAGS -D_AVL_H"; LIBS="$LIBS -lrt" ;;
     esac
 
     #   configuration: use hard-links and make sure our Berkeley-DB is picked up first