summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-06-23 18:21:41 +0000
committerjperkin <jperkin@pkgsrc.org>2013-06-23 18:21:41 +0000
commit731d0a45ed417cb99ec2b45d0a5926ac6945533f (patch)
tree07d854060e204fb48aae24d14fd09e156dd7d1f2 /pkgtools
parent86b1acd3403868b51dcf2f1137ee40571ca1dea7 (diff)
downloadpkgsrc-731d0a45ed417cb99ec2b45d0a5926ac6945533f.tar.gz
Fix for missing LOG_AUTHPRIV on SunOS.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/packagekit/distinfo3
-rw-r--r--pkgtools/packagekit/patches/patch-src_pk-syslog.c17
2 files changed, 19 insertions, 1 deletions
diff --git a/pkgtools/packagekit/distinfo b/pkgtools/packagekit/distinfo
index d7980326c81..d9765effa0a 100644
--- a/pkgtools/packagekit/distinfo
+++ b/pkgtools/packagekit/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2012/05/22 11:02:50 marino Exp $
+$NetBSD: distinfo,v 1.5 2013/06/23 18:21:41 jperkin Exp $
SHA1 (PackageKit-0.4.0.tar.gz) = 896a769a929d4813a9ab2b9ebea47c4fb7ed12d7
RMD160 (PackageKit-0.4.0.tar.gz) = e71a0c16009ac04457ddad895de663d7e4da08b1
@@ -21,3 +21,4 @@ SHA1 (patch-ao) = d9c9550120d6fd140864d6558668b57a6e5a700a
SHA1 (patch-ap) = a7a789bb6e8739e76d8d567132f0b44df0944660
SHA1 (patch-ar) = 5ed542e16b4eb05eef94c8851d874c775fe03957
SHA1 (patch-src_Makefile.in) = 67c5540ec96ff4a90c4653c60a0c5099ba40dbcd
+SHA1 (patch-src_pk-syslog.c) = 9586ba28e858c7af40e421e57f5647fc0371d00c
diff --git a/pkgtools/packagekit/patches/patch-src_pk-syslog.c b/pkgtools/packagekit/patches/patch-src_pk-syslog.c
new file mode 100644
index 00000000000..a20fcafc915
--- /dev/null
+++ b/pkgtools/packagekit/patches/patch-src_pk-syslog.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_pk-syslog.c,v 1.1 2013/06/23 18:21:41 jperkin Exp $
+
+Add include for LOG_AUTHPRIV.
+
+--- src/pk-syslog.c.orig 2008-12-04 13:45:11.000000000 +0000
++++ src/pk-syslog.c
+@@ -27,6 +27,10 @@
+
+ #include "egg-debug.h"
+
++#ifdef __sun
++#include <netinet/ip_compat.h>
++#endif
++
+ #define PK_SYSLOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PK_TYPE_SYSLOG, PkSyslogPrivate))
+
+ struct PkSyslogPrivate