zeroc-ice (3.3.1-12) 10-add-have-flags.patch

Summary

 cpp/config/Make.rules.Linux |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

diff -Nur -x '*.orig' -x '*~' zeroc-ice/cpp/config/Make.rules.Linux zeroc-ice.new/cpp/config/Make.rules.Linux
--- zeroc-ice/cpp/config/Make.rules.Linux	2008-07-01 17:31:25.000000000 +0200
+++ zeroc-ice.new/cpp/config/Make.rules.Linux	2008-08-07 10:03:52.154063930 +0200
@@ -78,7 +78,7 @@
       endif
    endif
 
-   CXXFLAGS		= $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl
+   CXXFLAGS		= $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -D_REENTRANT -DHAVE_ENDIAN_H -DHAVE_LIMITS_H
 
    ifneq ($(GENPIC),no)
       CXXFLAGS		+= -fPIC
@@ -156,7 +156,7 @@
 
 NPTL_LIB		= /usr/$(libsubdir)/nptl
 
-BASELIBS		= -lIceUtil -L$(NPTL_LIB) -lpthread -lrt
+BASELIBS		= -lIceUtil -L$(NPTL_LIB) -lpthread
 LIBS			= $(BZIP2_RPATH_LINK) -lIce $(BASELIBS)
 
 ICEUTIL_OS_LIBS         =