aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrd <brd@FreeBSD.org>2012-08-18 14:24:20 +0800
committerbrd <brd@FreeBSD.org>2012-08-18 14:24:20 +0800
commit09cd4e5d232f6d018810e6b082dd0392b5d3232b (patch)
tree13b80547e3ddd9e5a8850b078c37516a0f56d9c9
parentc16ab84e1b6d870364582b62800cdf115025f04c (diff)
downloadfreebsd-ports-gnome-09cd4e5d232f6d018810e6b082dd0392b5d3232b.tar.gz
freebsd-ports-gnome-09cd4e5d232f6d018810e6b082dd0392b5d3232b.tar.zst
freebsd-ports-gnome-09cd4e5d232f6d018810e6b082dd0392b5d3232b.zip
- Update the patches to fix the build.
Pointy hat to: me Noticed by: Andrzej Tobola < ato AT iem.pw.edu.pl >
-rw-r--r--sysutils/rsyslog6-devel/files/patch-plugins__imklog__bsd.c29
-rw-r--r--sysutils/rsyslog6-devel/files/patch-plugins__imklog__imklog.h11
-rw-r--r--sysutils/rsyslog6-devel/files/patch-plugins__imuxsock__imuxsock.c15
3 files changed, 12 insertions, 43 deletions
diff --git a/sysutils/rsyslog6-devel/files/patch-plugins__imklog__bsd.c b/sysutils/rsyslog6-devel/files/patch-plugins__imklog__bsd.c
deleted file mode 100644
index a5b57eb09cb7..000000000000
--- a/sysutils/rsyslog6-devel/files/patch-plugins__imklog__bsd.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- ./plugins/imklog/bsd.c.orig 2012-01-17 01:18:16.381760139 +0000
-+++ ./plugins/imklog/bsd.c 2012-01-17 01:20:48.523313199 +0000
-@@ -93,7 +93,7 @@
- * entry point. -- rgerhards, 2008-04-09
- */
- rsRetVal
--klogWillRun(void)
-+klogWillRun(modConfData_t *pModConf)
- {
- DEFiRet;
-
-@@ -176,7 +176,7 @@
- /* to be called in the module's AfterRun entry point
- * rgerhards, 2008-04-09
- */
--rsRetVal klogAfterRun(void)
-+rsRetVal klogAfterRun(modConfData_t *pModConf)
- {
- DEFiRet;
- if(fklog != -1)
-@@ -190,7 +190,7 @@
- * "message pull" mechanism.
- * rgerhards, 2008-04-09
- */
--rsRetVal klogLogKMsg(void)
-+rsRetVal klogLogKMsg(modConfData_t *pModConf)
- {
- DEFiRet;
- readklog();
diff --git a/sysutils/rsyslog6-devel/files/patch-plugins__imklog__imklog.h b/sysutils/rsyslog6-devel/files/patch-plugins__imklog__imklog.h
deleted file mode 100644
index 7d0eade4bc70..000000000000
--- a/sysutils/rsyslog6-devel/files/patch-plugins__imklog__imklog.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./plugins/imklog/imklog.h.orig 2012-01-17 01:19:00.125759823 +0000
-+++ ./plugins/imklog/imklog.h 2012-01-17 01:19:09.879756857 +0000
-@@ -60,7 +60,7 @@
- * believe it is appropriate for the job that needs to be done.
- * rgerhards, 2008-04-09
- */
--#if 0
-+#if 1
- extern int symbols_twice;
- extern int use_syscall;
- extern int symbol_lookup;
diff --git a/sysutils/rsyslog6-devel/files/patch-plugins__imuxsock__imuxsock.c b/sysutils/rsyslog6-devel/files/patch-plugins__imuxsock__imuxsock.c
index 214c10686cbc..3b7946f7c0d8 100644
--- a/sysutils/rsyslog6-devel/files/patch-plugins__imuxsock__imuxsock.c
+++ b/sysutils/rsyslog6-devel/files/patch-plugins__imuxsock__imuxsock.c
@@ -1,6 +1,15 @@
---- ./plugins/imuxsock/imuxsock.c.orig 2011-09-15 06:01:15.000000000 +0000
-+++ ./plugins/imuxsock/imuxsock.c 2012-01-17 01:17:22.085759310 +0000
-@@ -727,9 +727,7 @@
+--- plugins/imuxsock/imuxsock.c.orig 2012-06-18 02:13:18.000000000 -0600
++++ plugins/imuxsock/imuxsock.c 2012-08-16 16:37:27.000000000 -0600
+@@ -81,7 +81,7 @@
+
+ /* emulate struct ucred for platforms that do not have it */
+ #ifndef HAVE_SCM_CREDENTIALS
+-struct ucred { int pid; };
++struct ucred { int pid; uid_t uid; gid_t gid; };
+ #endif
+
+ /* handle some defines missing on more than one platform */
+@@ -891,9 +891,7 @@
int iMaxLine;
struct msghdr msgh;
struct iovec msgiov;