Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
6287b17c
Kaydet (Commit)
6287b17c
authored
Kas 03, 2016
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix build of postgresql with bundled zlib
Change-Id: I8a1a8b8e1437d79d4c262cb8521a1239c250699e
üst
b5c566fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
0 deletions
+39
-0
ExternalProject_postgresql.mk
external/postgresql/ExternalProject_postgresql.mk
+4
-0
UnpackedTarball_postgresql.mk
external/postgresql/UnpackedTarball_postgresql.mk
+6
-0
internal-zlib.patch.1
external/postgresql/internal-zlib.patch.1
+29
-0
No files found.
external/postgresql/ExternalProject_postgresql.mk
Dosyayı görüntüle @
6287b17c
...
...
@@ -31,6 +31,10 @@ else
postgresql_CPPFLAGS := $(ZLIB_CFLAGS)
postgresql_LDFLAGS :=
ifeq ($(SYSTEM_ZLIB),)
postgresql_LDFLAGS += $(ZLIB_LIBS)
endif
ifeq ($(DISABLE_OPENSSL),)
ifeq ($(SYSTEM_OPENSSL),)
postgresql_CPPFLAGS += -I$(call gb_UnpackedTarball_get_dir,openssl)/include
...
...
external/postgresql/UnpackedTarball_postgresql.mk
Dosyayı görüntüle @
6287b17c
...
...
@@ -19,4 +19,10 @@ $(eval $(call gb_UnpackedTarball_add_patches,postgresql, \
external/postgresql/postgresql-9.2.1-libreoffice.patch \
))
ifeq ($(SYSTEM_ZLIB),)
$(eval $(call gb_UnpackedTarball_add_patches,postgresql, \
external/postgresql/internal-zlib.patch.1 \
))
endif
# vim: set noet sw=4 ts=4:
external/postgresql/internal-zlib.patch.1
0 → 100644
Dosyayı görüntüle @
6287b17c
diff -up postgresql/configure.dt postgresql/configure
--- postgresql/configure.dt 2016-11-03 17:34:17.282388226 +0100
+++ postgresql/configure 2016-11-03 17:34:35.004202484 +0100
@@ -8566,13 +8566,13 @@ fi
if test "$with_zlib" = yes; then
-{ $as_echo "$as_me:$LINENO: checking for inflate in -lz" >&5
-$as_echo_n "checking for inflate in -lz... " >&6; }
+{ $as_echo "$as_me:$LINENO: checking for inflate in -lzlib" >&5
+$as_echo_n "checking for inflate in -lzlib... " >&6; }
if test "${ac_cv_lib_z_inflate+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lz $LIBS"
+LIBS="-lzlib $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -8636,7 +8636,7 @@ if test "x$ac_cv_lib_z_inflate" = x""yes
#define HAVE_LIBZ 1
_ACEOF
- LIBS="-lz $LIBS"
+ LIBS="-lzlib $LIBS"
else
{ { $as_echo "$as_me:$LINENO: error: zlib library not found
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment