aboutsummaryrefslogtreecommitdiff
path: root/net/Sockets-devel/files/patch-Uid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/Sockets-devel/files/patch-Uid.cpp')
-rw-r--r--net/Sockets-devel/files/patch-Uid.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/net/Sockets-devel/files/patch-Uid.cpp b/net/Sockets-devel/files/patch-Uid.cpp
deleted file mode 100644
index 6066b39928ea..000000000000
--- a/net/Sockets-devel/files/patch-Uid.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
---- Uid.cpp.orig Sat Jan 15 21:36:02 2005
-+++ Uid.cpp Sat Jan 15 22:41:30 2005
-@@ -20,12 +20,22 @@
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
- #include <stdio.h>
- #include <assert.h>
- #ifdef _WIN32
- #include <objbase.h>
- #elif defined MACOSX
- #include "uuid.h"
-+#elif defined __FreeBSD__
-+# if __FreeBSD_version >= 500000
-+# include <uuid.h>
-+# else
-+# error FreeBSD versions prior to 500000 does not support uuid(3)
-+# endif
- #else
- #include <uuid/uuid.h>
- #endif
-@@ -49,6 +59,10 @@
- exit(-1);
- }
- memcpy(m_bufuid, &randomGuid, 16);
-+#elif defined __FreeBSD__
-+ uuid_t uid;
-+ uuid_create(&uid, NULL);
-+ memcpy(m_bufuid, &uid, 16);
- #else
- uuid_t uid;
- uuid_generate(uid);