pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/gld Solaris fixes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9066aae24fc3
branches:  trunk
changeset: 515907:9066aae24fc3
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Mon Jul 10 20:32:59 2006 +0000

description:
Solaris fixes:

  - Link against socket libraries.

  - Don't try to return a value from a void function (SunPro).

diffstat:

 mail/gld/Makefile         |   4 +++-
 mail/gld/distinfo         |   3 ++-
 mail/gld/patches/patch-ag |  17 +++++++++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r 1b1bb953095c -r 9066aae24fc3 mail/gld/Makefile
--- a/mail/gld/Makefile Mon Jul 10 20:16:53 2006 +0000
+++ b/mail/gld/Makefile Mon Jul 10 20:32:59 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/06/06 17:32:20 ghen Exp $
+# $NetBSD: Makefile,v 1.20 2006/07/10 20:32:59 sketch Exp $
 #
 
 DISTNAME=              gld-1.6
@@ -13,6 +13,8 @@
 
 GNU_CONFIGURE=         yes
 
+LDFLAGS.SunOS+=                -lsocket -lnsl -lresolv
+
 EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
 CONF_FILES_PERMS=      ${EGDIR}/gld.conf ${PKG_SYSCONFDIR}/gld.conf    \
                        ${BINOWN} ${GLD_GROUP} 0640
diff -r 1b1bb953095c -r 9066aae24fc3 mail/gld/distinfo
--- a/mail/gld/distinfo Mon Jul 10 20:16:53 2006 +0000
+++ b/mail/gld/distinfo Mon Jul 10 20:32:59 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2006/03/02 21:03:39 wiz Exp $
+$NetBSD: distinfo,v 1.13 2006/07/10 20:32:59 sketch Exp $
 
 SHA1 (gld-1.6.tgz) = 09a87119b376e370c63444e2bcd1111288b78267
 RMD160 (gld-1.6.tgz) = 72ff4363f3813f421e64e7644142cf227a43885d
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = 7d810a935677022953d01b7a146881d8cf86162b
 SHA1 (patch-ae) = e610e20acee890ae9a53eb84382fb1d741736bb3
 SHA1 (patch-af) = 9d5a06fa399963937fc8a0c94a80ac85528f872d
+SHA1 (patch-ag) = ef1b5acca6ba4cfc75ffd553624693b83b4f73ab
diff -r 1b1bb953095c -r 9066aae24fc3 mail/gld/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/gld/patches/patch-ag Mon Jul 10 20:32:59 2006 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ag,v 1.1 2006/07/10 20:32:59 sketch Exp $
+
+--- sql.c.orig Sun Feb  5 20:17:36 2006
++++ sql.c      Sun Feb  5 20:18:50 2006
+@@ -33,10 +33,10 @@
+ void SQLClose(void)
+ {
+ #ifdef _DB_MYSQL_
+-return(MySQLClose());
++MySQLClose();
+ #endif
+ #ifdef _DB_PGSQL_
+-return(PgSQLClose());
++PgSQLClose();
+ #endif
+ }
+ 



Home | Main Index | Thread Index | Old Index