Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2012-12-20 11:02:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and      /work/SRC/openSUSE:Factory/.net-snmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "net-snmp", Maintainer is "lchiqui...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes        2012-11-02 
07:31:15.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp.changes   2012-12-20 
11:02:58.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Dec 18 22:01:23 UTC 2012 - lchiqui...@suse.com
+
+- net-snmp-5.7.2-build-fix-for-strlcat.patch: fix exported strlcat()
+  prototype that could conflict with other packages (bnc#793548)
+
+-------------------------------------------------------------------

New:
----
  net-snmp-5.7.2-build-fix-for-strlcat.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ net-snmp.spec ++++++
--- /var/tmp/diff_new_pack.qtOcxD/_old  2012-12-20 11:02:59.000000000 +0100
+++ /var/tmp/diff_new_pack.qtOcxD/_new  2012-12-20 11:02:59.000000000 +0100
@@ -61,6 +61,7 @@
 Patch5:         net-snmp-5.7.2-net-snmp-config-headercheck.patch
 Patch6:         net-snmp-5.7.2-perl-tk-warning.patch
 Patch7:         net-snmp-5.7.2-velocity-mib.patch
+Patch8:         net-snmp-5.7.2-build-fix-for-strlcat.patch
 Patch23:        
net-snmp-5.7.2-fix-snmpd-crashing-when-an-agentx-disconnects.patch
 #
 Summary:        SNMP Daemon
@@ -208,6 +209,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 %patch23 -p1
 
 %build

++++++ net-snmp-5.7.2-build-fix-for-strlcat.patch ++++++
commit 4a6d0378a3916571ce7604c4a3d54a8c96a8f807
Author: Bart Van Assche <bvanass...@acm.org>
Date:   Sun Oct 28 09:54:12 2012 -0700

    Windows: Visual Studio 6 build fix for strlcat()

Index: net-snmp-5.7.2/snmplib/strlcat.c
===================================================================
--- net-snmp-5.7.2.orig/snmplib/strlcat.c
+++ net-snmp-5.7.2/snmplib/strlcat.c
@@ -37,7 +37,7 @@
  * If retval >= siz, truncation occurred.
  */
 size_t
-strlcat(char * __restrict dst, const char * __restrict src, size_t siz)
+strlcat(char *dst, const char *src, size_t siz)
 {
        char *d = dst;
        const char *s = src;
Index: net-snmp-5.7.2/include/net-snmp/library/system.h
===================================================================
--- net-snmp-5.7.2.orig/include/net-snmp/library/system.h
+++ net-snmp-5.7.2/include/net-snmp/library/system.h
@@ -196,8 +196,7 @@ SOFTWARE.
 #endif
 #ifndef HAVE_STRLCAT
     NETSNMP_IMPORT
-    size_t            strlcat(char * __restrict, const char * __restrict,
-                              size_t);
+    size_t            strlcat(char *, const char *, size_t);
 #endif
 
     int             netsnmp_os_prematch(const char *ospmname,
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to