aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorjunovitch <junovitch@FreeBSD.org>2016-05-12 22:07:23 +0800
committerjunovitch <junovitch@FreeBSD.org>2016-05-12 22:07:23 +0800
commitf568ee47253e9e32344d8df0cec5e71e646f44af (patch)
tree9a937a674131f8175dd9445414b34d225fb479f2 /cad
parent3fe3372b3f26ae919bbd92b3d41b374fdd5103f1 (diff)
downloadfreebsd-ports-gnome-f568ee47253e9e32344d8df0cec5e71e646f44af.tar.gz
freebsd-ports-gnome-f568ee47253e9e32344d8df0cec5e71e646f44af.tar.zst
freebsd-ports-gnome-f568ee47253e9e32344d8df0cec5e71e646f44af.zip
cad/openvsp: update 3.5.2 -> 3.6.0
Changes: http://openvsp.org/blogs/announcements/2016/05/06/openvsp-3-6-0-released PR: 209436 Submitted by: fernando.apesteguia@gmail.com
Diffstat (limited to 'cad')
-rw-r--r--cad/openvsp/Makefile4
-rw-r--r--cad/openvsp/distinfo4
-rw-r--r--cad/openvsp/files/patch-Libraries_cmake_External__libIGES.cmake12
-rw-r--r--cad/openvsp/files/patch-src_cfd__mesh_CMakeLists.txt11
-rw-r--r--cad/openvsp/files/patch-src_cmake_External__STEPCode.cmake19
-rw-r--r--cad/openvsp/files/patch-src_external_CMakeLists.txt12
-rw-r--r--cad/openvsp/files/patch-src_external_angelscript_sdk_CMakeLists.txt11
-rw-r--r--cad/openvsp/files/patch-src_external_glfont2_CMakeLists.txt10
-rw-r--r--cad/openvsp/files/patch-src_external_sixseries_CMakeLists.txt8
-rw-r--r--cad/openvsp/files/patch-src_external_triangle_CMakeLists.txt11
-rw-r--r--cad/openvsp/files/patch-src_external_tritri_CMakeLists.txt11
-rw-r--r--cad/openvsp/files/patch-src_fltk__screens_CMakeLists.txt12
-rw-r--r--cad/openvsp/files/patch-src_geom__api_CMakeLists.txt27
-rw-r--r--cad/openvsp/files/patch-src_geom__core_CMakeLists.txt11
-rw-r--r--cad/openvsp/files/patch-src_gui__and__draw_CMakeLists.txt20
-rw-r--r--cad/openvsp/files/patch-src_gui__and__draw_GroupLayout.h11
-rw-r--r--cad/openvsp/files/patch-src_gui__and__draw_MainVSPScreen.h11
-rw-r--r--cad/openvsp/files/patch-src_gui__and__draw_MenuItem.h11
-rw-r--r--cad/openvsp/files/patch-src_util_CMakeLists.txt8
-rw-r--r--cad/openvsp/files/patch-src_vsp__aero_CMakeLists.txt10
-rw-r--r--cad/openvsp/files/patch-src_vsp__graphic_CMakeLists.txt12
-rw-r--r--cad/openvsp/files/patch-src_vsp__graphic_src_Image.cpp10
-rw-r--r--cad/openvsp/files/patch-src_vsp__graphic_src_Scene.cpp10
-rw-r--r--cad/openvsp/files/patch-src_vsp__graphic_src_Shader.cpp9
-rw-r--r--cad/openvsp/files/patch-src_xmlvsp_CMakeLists.txt9
-rw-r--r--cad/openvsp/pkg-plist2
26 files changed, 6 insertions, 280 deletions
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile
index 98786a074c7f..78763e5e185b 100644
--- a/cad/openvsp/Makefile
+++ b/cad/openvsp/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= openvsp
-PORTVERSION= 3.5.2
+PORTVERSION= 3.6.0
DISTVERSIONPREFIX= ${GH_PROJECT}_
PORTREVISION= 0
CATEGORIES= cad
@@ -55,7 +55,7 @@ USE_GL= glu
USE_GNOME= libxml2
CFLAGS+= -I${LOCALBASE}/include/openNURBS
-BUILD_PREFIX= OpenVSP-prefix/src/OpenVSP-build/_CPack_Packages/FreeBSD/ZIP/OpenVSP-3.5.2-FreeBSD
+BUILD_PREFIX= OpenVSP-prefix/src/OpenVSP-build/_CPack_Packages/FreeBSD/ZIP/OpenVSP-${PORTVERSION}-FreeBSD
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${BUILD_PREFIX}/vsp* ${STAGEDIR}${PREFIX}/bin
diff --git a/cad/openvsp/distinfo b/cad/openvsp/distinfo
index a48caf1c58c6..3a59a8e1d870 100644
--- a/cad/openvsp/distinfo
+++ b/cad/openvsp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (OpenVSP-OpenVSP-OpenVSP_3.5.2_GH0.tar.gz) = 0267d53fa88d5a1fae888131682cd7383b861680a3ed079597ad5b059e169d0e
-SIZE (OpenVSP-OpenVSP-OpenVSP_3.5.2_GH0.tar.gz) = 27883392
+SHA256 (OpenVSP-OpenVSP-OpenVSP_3.6.0_GH0.tar.gz) = c2439d5bb4600011d9230531ec2f5c798e869ee607c502ca53784a85295d2256
+SIZE (OpenVSP-OpenVSP-OpenVSP_3.6.0_GH0.tar.gz) = 28793759
diff --git a/cad/openvsp/files/patch-Libraries_cmake_External__libIGES.cmake b/cad/openvsp/files/patch-Libraries_cmake_External__libIGES.cmake
deleted file mode 100644
index 35ea34d3bda4..000000000000
--- a/cad/openvsp/files/patch-Libraries_cmake_External__libIGES.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
---- Libraries/cmake/External_libIGES.cmake.orig 2016-02-14 00:01:30 UTC
-+++ Libraries/cmake/External_libIGES.cmake
-@@ -1,6 +1,9 @@
-
- # SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../libIGES/
-
-+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
-+
- ExternalProject_Add( LIBIGES
- URL ${CMAKE_CURRENT_SOURCE_DIR}/libIGES-03f6ee919151.zip
- CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
diff --git a/cad/openvsp/files/patch-src_cfd__mesh_CMakeLists.txt b/cad/openvsp/files/patch-src_cfd__mesh_CMakeLists.txt
deleted file mode 100644
index e035a309f2d2..000000000000
--- a/cad/openvsp/files/patch-src_cfd__mesh_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/cfd_mesh/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/cfd_mesh/CMakeLists.txt
-@@ -48,6 +48,8 @@ SurfPatch.h
- Tri.h
- )
-
-+set_target_properties( cfd_mesh PROPERTIES COMPILE_FLAGS "-fPIC")
-+
- ADD_DEPENDENCIES( cfd_mesh
- util
- )
diff --git a/cad/openvsp/files/patch-src_cmake_External__STEPCode.cmake b/cad/openvsp/files/patch-src_cmake_External__STEPCode.cmake
deleted file mode 100644
index a4017028b4a4..000000000000
--- a/cad/openvsp/files/patch-src_cmake_External__STEPCode.cmake
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/cmake/External_STEPCode.cmake.orig 2016-02-14 00:01:30 UTC
-+++ src/cmake/External_STEPCode.cmake
-@@ -8,6 +8,9 @@ ELSE()
- SET( SC_SHARED ON )
- ENDIF()
-
-+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
-+
- ExternalProject_Add( STEPCODE
- URL ${CMAKE_CURRENT_SOURCE_DIR}/stepcode-7dcd6ef3418a.zip
- CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-@@ -37,4 +40,4 @@ SET( STEPCODE_BINARY_DIR ${BINARY_DIR} )
- # Consequently, force Debug so it installs in ../sc-install directory
- # instead of /usr/local/lib.
- #
--# SC's own programs fail to build with -DSC_BUILD_SHARED_LIBS=OFF
-\ No newline at end of file
-+# SC's own programs fail to build with -DSC_BUILD_SHARED_LIBS=OFF
diff --git a/cad/openvsp/files/patch-src_external_CMakeLists.txt b/cad/openvsp/files/patch-src_external_CMakeLists.txt
deleted file mode 100644
index 9274575dc3c7..000000000000
--- a/cad/openvsp/files/patch-src_external_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/external/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/external/CMakeLists.txt
-@@ -8,6 +8,9 @@ FIND_PACKAGE(CPPTest REQUIRED)
- SET( CMAKE_PREFIX_PATH ${LIBXML2_INSTALL_DIR} ${ORIG_CMAKE_PREFIX_PATH} )
- FIND_PACKAGE(LibXml2 REQUIRED)
-
-+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+SET(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+
- IF( NOT VSP_NO_GRAPHICS )
- SET( CMAKE_PREFIX_PATH ${FLTK_INSTALL_DIR} ${ORIG_CMAKE_PREFIX_PATH} )
- FIND_PACKAGE(FLTK REQUIRED)
diff --git a/cad/openvsp/files/patch-src_external_angelscript_sdk_CMakeLists.txt b/cad/openvsp/files/patch-src_external_angelscript_sdk_CMakeLists.txt
deleted file mode 100644
index 6cc3de1af65f..000000000000
--- a/cad/openvsp/files/patch-src_external_angelscript_sdk_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/external/angelscript/sdk/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/external/angelscript/sdk/CMakeLists.txt
-@@ -127,6 +127,8 @@ set(LIBRARY_OUTPUT_PATH ${PROJECT_BINAR
- find_package(Threads)
- target_link_libraries(Angelscript ${CMAKE_THREAD_LIBS_INIT})
-
-+set_target_properties( Angelscript PROPERTIES COMPILE_FLAGS "-fPIC")
-+
- if(MSVC)
- set_target_properties(Angelscript PROPERTIES COMPILE_FLAGS "/MP")
- endif(MSVC)
diff --git a/cad/openvsp/files/patch-src_external_glfont2_CMakeLists.txt b/cad/openvsp/files/patch-src_external_glfont2_CMakeLists.txt
deleted file mode 100644
index 62df9d7f88bc..000000000000
--- a/cad/openvsp/files/patch-src_external_glfont2_CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/external/glfont2/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/external/glfont2/CMakeLists.txt
-@@ -3,6 +3,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
- SET(GLFONT2_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH "Path to glfont2 headers")
-
- INCLUDE_DIRECTORIES( ${GLFONT2_INCLUDE_DIR}
-+ /usr/local/include
- )
-
- ADD_LIBRARY( glfont2
diff --git a/cad/openvsp/files/patch-src_external_sixseries_CMakeLists.txt b/cad/openvsp/files/patch-src_external_sixseries_CMakeLists.txt
deleted file mode 100644
index 931a5c8d6600..000000000000
--- a/cad/openvsp/files/patch-src_external_sixseries_CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
---- src/external/sixseries/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/external/sixseries/CMakeLists.txt
-@@ -10,3 +10,5 @@ s_copy.c
- s_stop.c
- f2c.h
- )
-+
-+set_target_properties( sixseries PROPERTIES COMPILE_FLAGS "-fPIC")
diff --git a/cad/openvsp/files/patch-src_external_triangle_CMakeLists.txt b/cad/openvsp/files/patch-src_external_triangle_CMakeLists.txt
deleted file mode 100644
index 6c7fefbb3a16..000000000000
--- a/cad/openvsp/files/patch-src_external_triangle_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/external/triangle/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/external/triangle/CMakeLists.txt
-@@ -9,6 +9,8 @@ triangle.c
- triangle.h
- )
-
-+set_target_properties( triangle PROPERTIES COMPILE_FLAGS "-fPIC")
-+
- # set MS Visual Compiler flags
- IF(WIN32)
- SET_TARGET_PROPERTIES( triangle PROPERTIES COMPILE_FLAGS "-fp:strict")
diff --git a/cad/openvsp/files/patch-src_external_tritri_CMakeLists.txt b/cad/openvsp/files/patch-src_external_tritri_CMakeLists.txt
deleted file mode 100644
index b98c657d51d1..000000000000
--- a/cad/openvsp/files/patch-src_external_tritri_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/external/tritri/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/external/tritri/CMakeLists.txt
-@@ -10,4 +10,6 @@ intersect_AABB.cpp
- intersect_triangle.cpp
- Tritri.cpp
- Tritri.h
--)
-\ No newline at end of file
-+)
-+
-+set_target_properties( tritri PROPERTIES COMPILE_FLAGS "-fPIC")
diff --git a/cad/openvsp/files/patch-src_fltk__screens_CMakeLists.txt b/cad/openvsp/files/patch-src_fltk__screens_CMakeLists.txt
deleted file mode 100644
index fed711a68e7b..000000000000
--- a/cad/openvsp/files/patch-src_fltk__screens_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/fltk_screens/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/fltk_screens/CMakeLists.txt
-@@ -4,6 +4,9 @@ INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIR}
-
- SET(SCREENS_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH "Path to FLTK generated *.h files")
-
-+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
-+
- FLTK_WRAP_UI( screens
- aboutScreen.fl
- awaveFlScreen.fl
diff --git a/cad/openvsp/files/patch-src_geom__api_CMakeLists.txt b/cad/openvsp/files/patch-src_geom__api_CMakeLists.txt
deleted file mode 100644
index 7be8863ccf15..000000000000
--- a/cad/openvsp/files/patch-src_geom__api_CMakeLists.txt
+++ /dev/null
@@ -1,27 +0,0 @@
---- src/geom_api/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/geom_api/CMakeLists.txt
-@@ -29,6 +29,8 @@ GuiInterface.h
- VSP_Geom_API.h
- )
-
-+set_target_properties( geom_api PROPERTIES COMPILE_FLAGS "-fPIC")
-+
- ADD_DEPENDENCIES( geom_api
- util
- )
-@@ -49,7 +51,7 @@ IF( NOT VSP_NO_GRAPHICS )
- util
- )
-
-- set_target_properties( geom_api_g PROPERTIES COMPILE_FLAGS "-DVSP_USE_FLTK=1")
-+set_target_properties( geom_api_g PROPERTIES COMPILE_FLAGS "-DVSP_USE_FLTK=1 -fPIC")
-
- ADD_LIBRARY( gui_interface_g
- GuiInterface.cpp
-@@ -61,5 +63,5 @@ IF( NOT VSP_NO_GRAPHICS )
- util
- )
-
-- set_target_properties( gui_interface_g PROPERTIES COMPILE_FLAGS "-DVSP_USE_FLTK=1")
-+set_target_properties( gui_interface_g PROPERTIES COMPILE_FLAGS "-DVSP_USE_FLTK=1 -fPIC")
- ENDIF()
diff --git a/cad/openvsp/files/patch-src_geom__core_CMakeLists.txt b/cad/openvsp/files/patch-src_geom__core_CMakeLists.txt
deleted file mode 100644
index 4318ec2318b2..000000000000
--- a/cad/openvsp/files/patch-src_geom__core_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/geom_core/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/geom_core/CMakeLists.txt
-@@ -116,6 +116,8 @@ XSecCurve.h
- XSecSurf.h
- )
-
-+set_target_properties( geom_core PROPERTIES COMPILE_FLAGS "-fPIC")
-+
- ADD_DEPENDENCIES( geom_core
- util
- )
diff --git a/cad/openvsp/files/patch-src_gui__and__draw_CMakeLists.txt b/cad/openvsp/files/patch-src_gui__and__draw_CMakeLists.txt
deleted file mode 100644
index 20005928afc1..000000000000
--- a/cad/openvsp/files/patch-src_gui__and__draw_CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/gui_and_draw/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/gui_and_draw/CMakeLists.txt
-@@ -21,6 +21,7 @@ INCLUDE_DIRECTORIES(
- ${STEPCODE_INCLUDE_DIR}
- ${LIBIGES_INCLUDE_DIR}
- ${GUI_AND_DRAW_INCLUDE_DIR}
-+ /usr/local/include
- )
-
- ADD_LIBRARY(gui_and_draw
-@@ -130,6 +131,9 @@ VSPWindow.h
- WingScreen.h
- )
-
-+SET(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+
- ADD_DEPENDENCIES(gui_and_draw
- geom_core
- vsp_graphic
diff --git a/cad/openvsp/files/patch-src_gui__and__draw_GroupLayout.h b/cad/openvsp/files/patch-src_gui__and__draw_GroupLayout.h
deleted file mode 100644
index b5c120acafc0..000000000000
--- a/cad/openvsp/files/patch-src_gui__and__draw_GroupLayout.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/gui_and_draw/GroupLayout.h.orig 2016-02-14 00:01:30 UTC
-+++ src/gui_and_draw/GroupLayout.h
-@@ -17,7 +17,7 @@
- #include <FL/Fl_Text_Editor.H>
- #include <FL/Fl_Radio_Button.H>
- #include <FL/Fl_Color_Chooser.H>
--#include <FL/Fl_Sys_Menu_Bar.h>
-+#include <FL/Fl_Sys_Menu_Bar.H>
-
- #include "GuiDevice.h"
-
diff --git a/cad/openvsp/files/patch-src_gui__and__draw_MainVSPScreen.h b/cad/openvsp/files/patch-src_gui__and__draw_MainVSPScreen.h
deleted file mode 100644
index dad6a5dbca45..000000000000
--- a/cad/openvsp/files/patch-src_gui__and__draw_MainVSPScreen.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/gui_and_draw/MainVSPScreen.h.orig 2016-02-14 00:01:30 UTC
-+++ src/gui_and_draw/MainVSPScreen.h
-@@ -15,7 +15,7 @@
- #include "MenuItem.h"
- #include "ScreenBase.h"
- #include "GuiDevice.h"
--#include "FL/Fl_Box.h"
-+#include "FL/Fl_Box.H"
-
- namespace VSPGUI
- {
diff --git a/cad/openvsp/files/patch-src_gui__and__draw_MenuItem.h b/cad/openvsp/files/patch-src_gui__and__draw_MenuItem.h
deleted file mode 100644
index 8becfa57746d..000000000000
--- a/cad/openvsp/files/patch-src_gui__and__draw_MenuItem.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/gui_and_draw/MenuItem.h.orig 2016-02-14 00:01:30 UTC
-+++ src/gui_and_draw/MenuItem.h
-@@ -10,7 +10,7 @@
- #define MENUITEM__INCLUDED_
-
- #include <string>
--#include <FL/Fl_Sys_Menu_Bar.h>
-+#include <FL/Fl_Sys_Menu_Bar.H>
-
- class ScreenMgr;
- class ActionScreen;
diff --git a/cad/openvsp/files/patch-src_util_CMakeLists.txt b/cad/openvsp/files/patch-src_util_CMakeLists.txt
deleted file mode 100644
index 1638e5f6916d..000000000000
--- a/cad/openvsp/files/patch-src_util_CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
---- src/util/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/util/CMakeLists.txt
-@@ -63,3 +63,5 @@ XferSurf.h
- ADD_DEPENDENCIES( util
- STEPCODE
- )
-+
-+set_target_properties( util PROPERTIES COMPILE_FLAGS "-fPIC")
diff --git a/cad/openvsp/files/patch-src_vsp__aero_CMakeLists.txt b/cad/openvsp/files/patch-src_vsp__aero_CMakeLists.txt
deleted file mode 100644
index 027ef33321e7..000000000000
--- a/cad/openvsp/files/patch-src_vsp__aero_CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/vsp_aero/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/vsp_aero/CMakeLists.txt
-@@ -1,4 +1,7 @@
- CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-
-+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
-+
- ADD_SUBDIRECTORY( solver )
- ADD_SUBDIRECTORY( viewer )
diff --git a/cad/openvsp/files/patch-src_vsp__graphic_CMakeLists.txt b/cad/openvsp/files/patch-src_vsp__graphic_CMakeLists.txt
deleted file mode 100644
index 5c715446ca09..000000000000
--- a/cad/openvsp/files/patch-src_vsp__graphic_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/vsp_graphic/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/vsp_graphic/CMakeLists.txt
-@@ -4,6 +4,9 @@ SET(VSP_GRAPHIC_INCLUDE_DIR ${CMAKE_CURR
-
- set(GRAPHIC_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include)
-
-+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
-+
- FILE(GLOB_RECURSE GRAPHIC_HEADER ./include/*.h)
- FILE(GLOB_RECURSE GRAPHIC_SOURCE ./src/*.cpp)
-
diff --git a/cad/openvsp/files/patch-src_vsp__graphic_src_Image.cpp b/cad/openvsp/files/patch-src_vsp__graphic_src_Image.cpp
deleted file mode 100644
index 571627159916..000000000000
--- a/cad/openvsp/files/patch-src_vsp__graphic_src_Image.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/vsp_graphic/src/Image.cpp.orig 2016-02-14 00:01:30 UTC
-+++ src/vsp_graphic/src/Image.cpp
-@@ -1,6 +1,7 @@
- #include <assert.h>
- #include <MultiImageLoader.h>
- #include <algorithm>
-+#include <stdlib.h>
-
- #include "Image.h"
-
diff --git a/cad/openvsp/files/patch-src_vsp__graphic_src_Scene.cpp b/cad/openvsp/files/patch-src_vsp__graphic_src_Scene.cpp
deleted file mode 100644
index a99e4d099825..000000000000
--- a/cad/openvsp/files/patch-src_vsp__graphic_src_Scene.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/vsp_graphic/src/Scene.cpp.orig 2016-04-22 13:35:09 UTC
-+++ src/vsp_graphic/src/Scene.cpp
-@@ -16,6 +16,7 @@
- #include "ByteOperationUtil.h"
-
- #include <assert.h>
-+#include <stdlib.h>
-
- namespace VSPGraphic
- {
diff --git a/cad/openvsp/files/patch-src_vsp__graphic_src_Shader.cpp b/cad/openvsp/files/patch-src_vsp__graphic_src_Shader.cpp
deleted file mode 100644
index 49c40f81bf3a..000000000000
--- a/cad/openvsp/files/patch-src_vsp__graphic_src_Shader.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/vsp_graphic/src/Shader.cpp.orig 2016-02-14 00:01:30 UTC
-+++ src/vsp_graphic/src/Shader.cpp
-@@ -1,5 +1,6 @@
- #include <assert.h>
- #include <string>
-+#include <stdlib.h>
-
- #include "Shader.h"
-
diff --git a/cad/openvsp/files/patch-src_xmlvsp_CMakeLists.txt b/cad/openvsp/files/patch-src_xmlvsp_CMakeLists.txt
deleted file mode 100644
index 97f4aa24502d..000000000000
--- a/cad/openvsp/files/patch-src_xmlvsp_CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/xmlvsp/CMakeLists.txt.orig 2016-02-14 00:01:30 UTC
-+++ src/xmlvsp/CMakeLists.txt
-@@ -14,3 +14,6 @@ XmlUtil.h
- XmlUtil.cpp
-
- )
-+
-+set_target_properties( xmlvsp PROPERTIES COMPILE_FLAGS "-fPIC")
-+
diff --git a/cad/openvsp/pkg-plist b/cad/openvsp/pkg-plist
index 31b0af0655d9..420163322e39 100644
--- a/cad/openvsp/pkg-plist
+++ b/cad/openvsp/pkg-plist
@@ -20,9 +20,11 @@ bin/vspviewer
%%DATADIR%%/Seat.vsppart
%%DATADIR%%/SeatGroup.vsppart
%%DATADIR%%/SharkTeeth.tga
+%%DATADIR%%/SnapToDemo.vspscript
%%DATADIR%%/Stack.vspscript
%%DATADIR%%/SubSurface.vspscript
%%DATADIR%%/TestAll.vspscript
+%%DATADIR%%/TestAnalysis.vspscript
%%DATADIR%%/TransportFuse.vsppart
%%DATADIR%%/Wing.vspscript
%%DATADIR%%/b737a.af