sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to stable-0.50 grimoire by George Sherwood (79f986b9bffe0a3cacc6b1111375a2c14a70946c)
- From: George Sherwood <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to stable-0.50 grimoire by George Sherwood (79f986b9bffe0a3cacc6b1111375a2c14a70946c)
- Date: Wed, 24 Nov 2010 16:44:33 -0600
GIT changes to stable-0.50 grimoire by George Sherwood
<gsherwood AT sourcemage.org>:
net/net-snmp/DETAILS | 1 +
net/net-snmp/HISTORY | 5 +++++
net/net-snmp/PRE_BUILD | 4 ++++
net/net-snmp/dir.patch | 19 +++++++++++++++++++
4 files changed, 29 insertions(+)
New commits:
commit 79f986b9bffe0a3cacc6b1111375a2c14a70946c
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: George Sherwood <gsherwood AT sourcemage.org>
net-snmp: fixed type redefinition from dirent.h
(cherry picked from commit 97c974f605ff721dba9327219f7bd5d2b7f40292)
diff --git a/net/net-snmp/DETAILS b/net/net-snmp/DETAILS
index 2396715..e7c6f31 100755
--- a/net/net-snmp/DETAILS
+++ b/net/net-snmp/DETAILS
@@ -1,6 +1,7 @@
SPELL=net-snmp
VERSION=5.6
SECURITY_PATCH=1
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE2=$SOURCE.asc
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
diff --git a/net/net-snmp/HISTORY b/net/net-snmp/HISTORY
index 4b96a53..c77cabb 100644
--- a/net/net-snmp/HISTORY
+++ b/net/net-snmp/HISTORY
@@ -1,3 +1,8 @@
+2010-11-22 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD: apply the patch
+ * dir.patch: added, to fix type redefinition from dirent.h
+
2010-10-09 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 5.6
diff --git a/net/net-snmp/PRE_BUILD b/net/net-snmp/PRE_BUILD
new file mode 100755
index 0000000..ce7fa1b
--- /dev/null
+++ b/net/net-snmp/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/dir.patch"
diff --git a/net/net-snmp/dir.patch b/net/net-snmp/dir.patch
new file mode 100644
index 0000000..e835996
--- /dev/null
+++ b/net/net-snmp/dir.patch
@@ -0,0 +1,19 @@
+--- include/net-snmp/library/system.h.orig 2010-03-25 18:06:26.000000000
+0300
++++ include/net-snmp/library/system.h 2010-11-22 21:51:43.843976465 +0300
+@@ -59,6 +59,8 @@
+ */
+ #ifndef MSVC_PERL
+
++#ifdef WIN32
++
+ #ifndef HAVE_READDIR
+ /*
+ * structure of a directory entry
+@@ -87,6 +89,7 @@
+ NETSNMP_IMPORT
+ int closedir(DIR * dirp);
+ #endif /* HAVE_READDIR */
++#endif /* WIN32 */
+
+ #ifndef HAVE_GETTIMEOFDAY
+ NETSNMP_IMPORT
- [SM-Commit] GIT changes to stable-0.50 grimoire by George Sherwood (79f986b9bffe0a3cacc6b1111375a2c14a70946c), George Sherwood, 11/24/2010
Archive powered by MHonArc 2.6.24.