X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fopenldap;h=a18d7e16200c48f22b9c6ea48f54e18216ec4cb2;hp=b2d3167099547384881aa0e51925fb797983d03c;hb=274054142e3033aabf5cb1b89d86fa430dee5d72;hpb=41cfd9e04b1a06d242432e682ab5601f933c0e21 diff --git a/lfs/openldap b/lfs/openldap index b2d316709..a18d7e162 100644 --- a/lfs/openldap +++ b/lfs/openldap @@ -24,7 +24,7 @@ include Config -VER = 2.4.32 +VER = 2.3.20 THISAPP = openldap-$(VER) DL_FILE = $(THISAPP).tgz @@ -36,6 +36,8 @@ PAK_VER = 3 DEPS = "" +export CPPFLAGS = -D_GNU_SOURCE + ############################################################################### # Top-level Rules ############################################################################### @@ -44,7 +46,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 6a3e85cf61860ca5e8a1eba6753dd9d0 +$(DL_FILE)_MD5 = 49d2c5b9378a7b57e1fb03948acb8e32 install : $(TARGET) @@ -77,6 +79,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/openldap-gcc44-fixes.patch cd $(DIR_APP) && ./configure \ --prefix=/usr \ --libexecdir=/usr/lib \