File pilot-mailsync-0.9.1.diff of Package pilot-mailsync

--- configure.in
+++ configure.in
@@ -97,7 +97,7 @@
 # but where?)
 # XXX is this really needed? maybe just use headers' directory (- "/include")
 AC_MSG_CHECKING([for pilot-link libraries])
-find_libloc "pisock" "$pilotlink_loc/lib /lib /usr/lib /usr/local/lib"
+find_libloc "pisock" "$pilotlink_loc/lib /lib /usr/lib /usr/local/lib $pilotlink_loc/lib64 /lib64 /usr/lib64 /usr/local/lib64"
 if test -z "$foundloc" ; then
 	AC_MSG_ERROR([
 
@@ -121,7 +121,7 @@
 	# they want SSL; find it
 	AC_MSG_CHECKING([for OpenSSL libraries])
 
-	find_libloc "ssl" "/lib /usr/lib /usr/lib/openssl /usr/local/lib /usr/local/openssl/lib"
+	find_libloc "ssl" "/lib64 /usr/lib64 /usr/lib64/openssl /usr/local/lib64 /usr/local/openssl/lib64 /lib /usr/lib /usr/lib/openssl /usr/local/lib /usr/local/openssl/lib"
 	ssl_libloc=$foundloc
 
 	if test -n "$ssl_libloc" ; then
--- imap-2004f/Makefile
+++ imap-2004f/Makefile
@@ -242,7 +242,7 @@
 #	British.  As of 2005, the Julian calendar and the Gregorian calendar
 #	diverge by 15 days.
 
-EXTRACFLAGS=
+EXTRACFLAGS=-fPIC
 
 
 # Extra linker flags (additional/alternative libraries, etc.)
--- imap-2004f/src/osdep/unix/Makefile
+++ imap-2004f/src/osdep/unix/Makefile
@@ -129,7 +129,7 @@
  dummy.o pseudo.o netmsg.o flstring.o fdstring.o \
  rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
  unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
-CFLAGS=-g
+#CFLAGS=-g
 
 CAT=cat
 MAKE=make
@@ -455,7 +455,7 @@
 	 SPOOLDIR=/var/spool \
 	 ACTIVEFILE=/var/lib/news/active \
 	 RSHPATH=/usr/bin/rsh \
-	 BASECFLAGS="-g -fno-omit-frame-pointer $(GCCOPTLEVEL)" \
+	 BASECFLAGS="$(EXTRABASECFLAGS) -g -fno-omit-frame-pointer $(GCCOPTLEVEL)" \
 	 BASELDFLAGS="$(PAMLDFLAGS)"
 
 lnx:	# Linux non-shadow passwords
--- Makefile.in
+++ Makefile.in
@@ -110,7 +110,7 @@
 
 libgnome_mailsync_conduit.la: $(LOBJS) 
 	$(LIBTOOL) --mode=link \
-	$(CC) $(OPTIONS) -o libgnome_mailsync_conduit.la \
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(OPTIONS) -o libgnome_mailsync_conduit.la \
 	$(LOBJS) \
 	-rpath $(prefix)/lib/gnome-pilot/conduits \
 	-version-info 1:1 \
openSUSE Build Service is sponsored by