From 72a6af776c9ef8e17c70747a436eb1821f31403c Mon Sep 17 00:00:00 2001 From: corsepiu Date: Feb 09 2010 09:16:56 +0000 Subject: Remove. --- diff --git a/k3d-0.7.11.0-ossp-uuid.patch b/k3d-0.7.11.0-ossp-uuid.patch deleted file mode 100644 index 480df0c..0000000 --- a/k3d-0.7.11.0-ossp-uuid.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -Naur k3d-source-0.7.11.0/cmake/modules/K3DFindUUID.cmake k3d-source-0.7.11.0.1/cmake/modules/K3DFindUUID.cmake ---- k3d-source-0.7.11.0/cmake/modules/K3DFindUUID.cmake 2009-03-19 21:29:03.000000000 +0100 -+++ k3d-source-0.7.11.0.1/cmake/modules/K3DFindUUID.cmake 2010-02-09 03:26:18.000000000 +0100 -@@ -2,7 +2,7 @@ - - IF(UNIX) - INCLUDE(K3DFindPkgConfig) -- PKG_CHECK_MODULES(UUID uuid) -+ PKG_CHECK_MODULES(UUID ossp-uuid) - - IF(UUID_FOUND) - SET(K3D_UUID_INCLUDE_DIRS -diff -Naur k3d-source-0.7.11.0/k3dsdk/uuid.cpp k3d-source-0.7.11.0.1/k3dsdk/uuid.cpp ---- k3d-source-0.7.11.0/k3dsdk/uuid.cpp 2009-03-19 21:28:51.000000000 +0100 -+++ k3d-source-0.7.11.0.1/k3dsdk/uuid.cpp 2010-02-08 18:25:14.000000000 +0100 -@@ -29,7 +29,7 @@ - #ifdef K3D_API_WIN32 - #include "win32.h" - #else // K3D_API_WIN32 -- #include -+ #include - #endif // !K3D_API_WIN32 - - #include -@@ -68,9 +68,12 @@ - #ifdef K3D_API_WIN32 - CoCreateGuid(reinterpret_cast(&result)); - #else // K3D_API_WIN32 -- uuid_t temp; -- uuid_generate(temp); -+ uuid_t *temp; -+ // uuid_generate(temp); -+ uuid_create(&temp); -+ uuid_make(temp,UUID_MAKE_V4); - memcpy(&result, temp, sizeof(result)); -+ uuid_destroy(temp); - #endif // !K3D_API_WIN32 - - return result;