Package: liboggz
Version: 1.1.0-1
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd
Hi,
currently liboggz fails to build on GNU/Hurd.
The problem is the condition used in the configure script for choosing whether
use a version script or not:
case "$target_os" in
linux* | solaris*|k*bsd*-gnu*|gnu-*)
given $target_os is "gnu0.3" for GNU/Hurd, the condition is not valid for it.
The attached patch fixes the issue.
Thanks,
--
Pino
--- liboggz-1.1.0.orig/configure
+++ liboggz-1.1.0/configure
@@ -15630,7 +15630,7 @@
case "$target_os" in
- linux* | solaris*|k*bsd*-gnu*|gnu-*)
+ linux* | solaris*|k*bsd*-gnu*|gnu*)
SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
;;
*)
--- liboggz-1.1.0.orig/configure.ac
+++ liboggz-1.1.0/configure.ac
@@ -401,7 +401,7 @@
dnl
case "$target_os" in
- linux* | solaris*|k*bsd*-gnu*|gnu-*)
+ linux* | solaris*|k*bsd*-gnu*|gnu*)
SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
;;
*)