[packages/bacula] - rel 2; fix x32 build

arekm arekm at pld-linux.org
Tue Sep 18 20:06:54 CEST 2018


commit f05466bd2caa5aa64c041945289f25341033fe23
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Sep 18 20:06:47 2018 +0200

    - rel 2; fix x32 build

 bacula.spec |  2 +-
 x32.patch   | 37 ++++++++++++-------------------------
 2 files changed, 13 insertions(+), 26 deletions(-)
---
diff --git a/bacula.spec b/bacula.spec
index da58ecd..3e99555 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -24,7 +24,7 @@ Summary:	Bacula - The Network Backup Solution
 Summary(pl.UTF-8):	Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
 Name:		bacula
 Version:	9.2.1
-Release:	1
+Release:	2
 License:	AGPL v3
 Group:		Networking/Utilities
 Source0:	http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
diff --git a/x32.patch b/x32.patch
index 0e9a456..0df7867 100644
--- a/x32.patch
+++ b/x32.patch
@@ -500,17 +500,6 @@
  	    ;;
  	 *)
  	    libdir=/usr/lib
-@@ -443,8 +443,8 @@
- dnl		for ver in qwt qwt5 qwt-qt4; do
- dnl		   if test -f ${root}/include/${ver}/qwt.h; then
- dnl		      QWT_INC="${root}/include/${ver}"
--dnl		      if test -d ${root}/lib64/; then
--dnl			 QWT_LDFLAGS="-L${root}/lib64"
-+dnl		      if test -d ${root}/libx32/; then
-+dnl			 QWT_LDFLAGS="-L${root}/libx32"
- dnl		      elif test -d ${root}/lib/64/; then
- dnl			 QWT_LDFLAGS="-L${root}/64"
- dnl		      else
 @@ -2419,9 +2419,9 @@
     for dir in ${with_afsdir}/lib \
  	      ${with_afsdir}/lib/afs \
@@ -524,17 +513,15 @@
     do
        for arch_type in .a .so
        do
-@@ -2561,10 +2561,10 @@
- 	     have_acl=yes
- 	     if test $have_afs = yes; then
- 		dnl
--		dnl Because of possible naming conflict with AFS libacl make sure we use the one in /usr/lib64 or /usr/lib !!!
-+		dnl Because of possible naming conflict with AFS libacl make sure we use the one in /usr/libx32 or /usr/lib !!!
- 		dnl
--		if test -d /usr/lib64/; then
--		   FDLIBS="-L/usr/lib64 -lacl $FDLIBS"
-+		if test -d /usr/libx32/; then
-+		   FDLIBS="-L/usr/libx32 -lacl $FDLIBS"
- 		else
- 		   FDLIBS="-L/usr/lib -lacl $FDLIBS"
- 		fi
+@@ -2618,8 +2618,8 @@ if test x$support_acl = xyes -o x$suppor
+ 	 dnl
+ 	 dnl Because of possible naming conflict with AFS libacl make sure we use the one in /usr/lib64 or /usr/lib !!!
+ 	 dnl
+-	    if test -d /usr/lib64/; then
+-	       FDLIBS="-L/usr/lib64 -lacl $FDLIBS"
++	    if test -d /usr/libx32/; then
++	       FDLIBS="-L/usr/libx32 -lacl $FDLIBS"
+ 	    else
+ 	       FDLIBS="-L/usr/lib -lacl $FDLIBS"
+ 	    fi
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bacula.git/commitdiff/f05466bd2caa5aa64c041945289f25341033fe23



More information about the pld-cvs-commit mailing list