Skip to content
Commits on Source (2)
ogdi-dfsg (3.2.1+ds-2) UNRELEASED; urgency=medium
ogdi-dfsg (3.2.1+ds-2) unstable; urgency=medium
* Team upload.
* Update Vcs-* URLs for Salsa.
* Bump Standards-Version to 4.1.4, no changes.
* Strip trailing whitespace from changelog & rules files.
* Add patch by Helmut Grohne to fix FTCBFS.
(closes: #902033)
-- Bas Couwenberg <sebastic@debian.org> Sat, 31 Mar 2018 12:34:30 +0200
-- Bas Couwenberg <sebastic@debian.org> Thu, 21 Jun 2018 21:26:54 +0200
ogdi-dfsg (3.2.1+ds-1) unstable; urgency=medium
......
Description: Don't hardcode compiler to fix cross compilation.
Author: Helmut Grohne <helmut@subdivi.de>
Bug-Debian: https://bugs.debian.org/902033
Forwarded: https://github.com/libogdi/ogdi/pull/7
--- a/config/common.mak.in
+++ b/config/common.mak.in
@@ -46,6 +46,8 @@ OGDI_VERSION = $(OGDI_MAJOR)$(OGDI_
# Default definitions
#
+AUTOCONF_CC = @CC@
+
ifndef CFG
CFG = release
endif
--- a/config/unix.mak
+++ b/config/unix.mak
@@ -22,9 +22,9 @@ UNIX_DEFINE = -Dunix
#
# Standard tools
#
-CC = gcc -shared -fPIC
-LD = gcc
-SHLIB_LD = gcc -shared -fPIC
+CC = ${AUTOCONF_CC} -shared -fPIC
+LD = ${AUTOCONF_CC}
+SHLIB_LD = ${AUTOCONF_CC} -shared -fPIC
AR = ar cr
RM = rm
RMALL = rm -rf
......@@ -127,7 +127,7 @@ Author: Francesco Paolo Lovergine <frankie@debian.org>
#
--- a/configure
+++ b/configure
@@ -5879,4 +5879,7 @@ target=`uname`
@@ -5385,4 +5385,7 @@ target=`uname`
if test "$target" = "GNU/kFreeBSD" ; then
target=Linux
fi
......@@ -137,7 +137,7 @@ Author: Francesco Paolo Lovergine <frankie@debian.org>
mv config/generic.mak config/$target.mak
--- a/configure.in
+++ b/configure.in
@@ -352,4 +352,7 @@ target=`uname`
@@ -354,4 +354,7 @@ target=`uname`
if test "$target" = "GNU/kFreeBSD" ; then
target=Linux
fi
......
......@@ -5,7 +5,7 @@ Author: Bas Couwenberg <sebastic@debian.org>
--- a/config/common.mak.in
+++ b/config/common.mak.in
@@ -257,11 +257,11 @@ default-install:
@@ -259,11 +259,11 @@ default-install:
endif
install-so-link:
......
......@@ -14,7 +14,7 @@ Author: Francesco Paolo Lovergine <frankie@debian.org>
#
--- a/makefile
+++ b/makefile
@@ -17,7 +17,7 @@ include $(TOPDIR)/config/common.mak
@@ -22,7 +22,7 @@ include $(TOPDIR)/config/common.mak
#
# Sub-directories that need to be built
#
......
......@@ -5,3 +5,4 @@ hurd
hardening
spelling-errors
install-so-link
cross.patch