diff --git a/net-snmp-5.0.8-readonly.patch b/net-snmp-5.0.8-readonly.patch deleted file mode 100644 index e4ef876..0000000 --- a/net-snmp-5.0.8-readonly.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up net-snmp-5.4.1/agent/snmp_agent.c.backup_patch_3 net-snmp-5.4.1/agent/snmp_agent.c ---- net-snmp-5.4.1/agent/snmp_agent.c.backup_patch_3 2007-05-14 16:50:38.000000000 +0200 -+++ net-snmp-5.4.1/agent/snmp_agent.c 2008-07-25 12:52:40.000000000 +0200 -@@ -1504,6 +1504,12 @@ netsnmp_wrap_up_request(netsnmp_agent_se - int i; - - /* -+ * Update asp->status if necessary. Fixes ro/rw problem. -+ */ -+ if ( status != 0 && asp->status == 0 ) -+ asp->status = status; -+ -+ /* - * if this request was a set, clear the global now that we are - * done. - */ diff --git a/net-snmp.spec b/net-snmp.spec index 0e7f622..d4569e4 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -158,7 +158,6 @@ Net-SNMP toolkit library. %prep %setup -q -n %{name}-%{major_ver} %patch1 -p1 -b .mnttab -%patch3 -p1 -b .readonly %ifnarch ia64 %patch4 -p1 -b .pie