Ravenports generated: 22 Sep 2024 04:10
[ravenports.git] / bucket_D1 / opencollada
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               opencollada
4 VERSION=                1.6.68
5 KEYWORDS=               graphics
6 VARIANTS=               std
7 SDESC[std]=             Library for reading and writing COLLADA files
8 HOMEPAGE=               http://www.opencollada.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/KhronosGroup:OpenCOLLADA:v1.6.68
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[std]=             single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   cmake c++:single iconv pkgconfig pcre dos2unix
21 GNOME_COMPONENTS=       libxml2
22
23 DOS2UNIX_GLOB=          *.h
24 FPC_EQUIVALENT=         graphics/opencollada
25
26 LDFLAGS=                -Wl,-rpath,{{PREFIX}}/lib/opencollada
27 CMAKE_ARGS=             -DUSE_SHARED:BOOL=ON
28                         -DUSE_STATIC:BOOL=OFF
29
30 post-patch:
31         ${REINPLACE_CMD} -e 's|$${OPENCOLLADA_INST_LIBRARY}/cmake|${PREFIX}/share/cmake/Modules|' \
32                 ${WRKSRC}/CMakeLists.txt
33
34 post-install:
35         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opencollada/*.so
36
37 [FILE:202:descriptions/desc.single]
38 OpenCOLLADA is a reader and writer library for the COLLADA format, an
39 open, royalty-free standard for exchanging 3D asset information between
40 applications, digital content creation tools and libraries.
41
42
43 [FILE:117:distinfo]
44 d9db0c0a518aa6ac0359626f222707c6ca1b63a83cbf229d97a5999c9cde347b     12098718 KhronosGroup-OpenCOLLADA-1.6.68.tar.gz
45
46
47 [FILE:10441:manifests/plist.single]
48 include/opencollada/COLLADABaseUtils/
49  COLLADABU.h
50  COLLADABUException.h
51  COLLADABUHashFunctions.h
52  COLLADABUIDList.h
53  COLLADABUNativeString.h
54  COLLADABUPcreCompiledPattern.h
55  COLLADABUPlatform.h
56  COLLADABUPrerequisites.h
57  COLLADABUStableHeaders.h
58  COLLADABUStringUtils.h
59  COLLADABUURI.h
60  COLLADABUUtils.h
61  COLLADABUhash_map.h
62 include/opencollada/COLLADABaseUtils/Math/
63  COLLADABUMathMatrix3.h
64  COLLADABUMathMatrix4.h
65  COLLADABUMathPrerequisites.h
66  COLLADABUMathQuaternion.h
67  COLLADABUMathUtils.h
68  COLLADABUMathVector3.h
69 include/opencollada/COLLADAFramework/
70  COLLADAFW.h
71  COLLADAFWAnimatable.h
72  COLLADAFWAnimatableFloat.h
73  COLLADAFWAnimation.h
74  COLLADAFWAnimationClip.h
75  COLLADAFWAnimationCurve.h
76  COLLADAFWAnimationList.h
77  COLLADAFWAnnotate.h
78  COLLADAFWArray.h
79  COLLADAFWArrayPrimitiveType.h
80  COLLADAFWAxisInfo.h
81  COLLADAFWCamera.h
82  COLLADAFWCode.h
83  COLLADAFWColor.h
84  COLLADAFWColorOrTexture.h
85  COLLADAFWConstants.h
86  COLLADAFWController.h
87  COLLADAFWEdge.h
88  COLLADAFWEffect.h
89  COLLADAFWEffectCommon.h
90  COLLADAFWException.h
91  COLLADAFWFileInfo.h
92  COLLADAFWFloatOrDoubleArray.h
93  COLLADAFWFloatOrParam.h
94  COLLADAFWFormula.h
95  COLLADAFWFormulaNewParam.h
96  COLLADAFWFormulas.h
97  COLLADAFWGeometry.h
98  COLLADAFWHashFunctions.h
99  COLLADAFWILoader.h
100  COLLADAFWIWriter.h
101  COLLADAFWImage.h
102  COLLADAFWImageSource.h
103  COLLADAFWInclude.h
104  COLLADAFWIndexList.h
105  COLLADAFWInstanceBase.h
106  COLLADAFWInstanceBindingBase.h
107  COLLADAFWInstanceCamera.h
108  COLLADAFWInstanceController.h
109  COLLADAFWInstanceGeometry.h
110  COLLADAFWInstanceKinematicsScene.h
111  COLLADAFWInstanceLight.h
112  COLLADAFWInstanceNode.h
113  COLLADAFWInstanceSceneGraph.h
114  COLLADAFWInstanceVisualScene.h
115  COLLADAFWJoint.h
116  COLLADAFWJointPrimitive.h
117  COLLADAFWKinematicsController.h
118  COLLADAFWKinematicsModel.h
119  COLLADAFWKinematicsScene.h
120  COLLADAFWLibraryNodes.h
121  COLLADAFWLight.h
122  COLLADAFWLines.h
123  COLLADAFWLinestrips.h
124  COLLADAFWLoaderUtils.h
125  COLLADAFWLookat.h
126  COLLADAFWMaterial.h
127  COLLADAFWMaterialBinding.h
128  COLLADAFWMatrix.h
129  COLLADAFWMesh.h
130  COLLADAFWMeshPrimitive.h
131  COLLADAFWMeshPrimitiveWithFaceVertexCount.h
132  COLLADAFWMeshVertexData.h
133  COLLADAFWModifier.h
134  COLLADAFWMorphController.h
135  COLLADAFWMotionProfile.h
136  COLLADAFWNewParam.h
137  COLLADAFWNode.h
138  COLLADAFWObject.h
139  COLLADAFWParam.h
140  COLLADAFWPass.h
141  COLLADAFWPassClear.h
142  COLLADAFWPassOutput.h
143  COLLADAFWPassTarget.h
144  COLLADAFWPointerArray.h
145  COLLADAFWPolygons.h
146  COLLADAFWPrerequisites.h
147  COLLADAFWRenderDraw.h
148  COLLADAFWRenderState.h
149  COLLADAFWRenderStateStatic.h
150  COLLADAFWRoot.h
151  COLLADAFWRotate.h
152  COLLADAFWSampler.h
153  COLLADAFWScale.h
154  COLLADAFWScene.h
155  COLLADAFWSemantic.h
156  COLLADAFWSetParam.h
157  COLLADAFWShader.h
158  COLLADAFWShaderBlinn.h
159  COLLADAFWShaderConstantFX.h
160  COLLADAFWShaderElement.h
161  COLLADAFWShaderLambert.h
162  COLLADAFWShaderPhong.h
163  COLLADAFWShear.h
164  COLLADAFWSkew.h
165  COLLADAFWSkinController.h
166  COLLADAFWSkinControllerData.h
167  COLLADAFWSpline.h
168  COLLADAFWStableHeaders.h
169  COLLADAFWTarget.h
170  COLLADAFWTargetableValue.h
171  COLLADAFWTechnique.h
172  COLLADAFWTexture.h
173  COLLADAFWTextureCoordinateBinding.h
174  COLLADAFWTransformation.h
175  COLLADAFWTranslate.h
176  COLLADAFWTriangles.h
177  COLLADAFWTrifans.h
178  COLLADAFWTristrips.h
179  COLLADAFWTypes.h
180  COLLADAFWUniqueId.h
181  COLLADAFWValidate.h
182  COLLADAFWValueType.h
183  COLLADAFWVisualScene.h
184 include/opencollada/COLLADASaxFrameworkLoader/
185  COLLADASaxFWLAccessor.h
186  COLLADASaxFWLArrayElement.h
187  COLLADASaxFWLAssetLoader.h
188  COLLADASaxFWLCOLLADACsymbol.h
189  COLLADASaxFWLDocumentProcessor.h
190  COLLADASaxFWLException.h
191  COLLADASaxFWLExtraDataElementHandler.h
192  COLLADASaxFWLExtraDataLoader.h
193  COLLADASaxFWLFileLoader.h
194  COLLADASaxFWLFilePartLoader.h
195  COLLADASaxFWLFormulasLinker.h
196  COLLADASaxFWLFormulasLoader.h
197  COLLADASaxFWLGeometryLoader.h
198  COLLADASaxFWLGeometryMaterialIdInfo.h
199  COLLADASaxFWLHelperLoaderBase.h
200  COLLADASaxFWLIError.h
201  COLLADASaxFWLIErrorHandler.h
202  COLLADASaxFWLIExtraDataCallbackHandler.h
203  COLLADASaxFWLIFilePartLoader.h
204  COLLADASaxFWLIParserImpl.h
205  COLLADASaxFWLIParserImpl14.h
206  COLLADASaxFWLIParserImpl15.h
207  COLLADASaxFWLInputShared.h
208  COLLADASaxFWLInputUnshared.h
209  COLLADASaxFWLInstanceArticulatedSystemLoader.h
210  COLLADASaxFWLInstanceKinematicsModelLoader.h
211  COLLADASaxFWLIntermediateTargetable.h
212  COLLADASaxFWLInterpolationTypeSource.h
213  COLLADASaxFWLJointsLoader.h
214  COLLADASaxFWLKinematicsIntermediateData.h
215  COLLADASaxFWLKinematicsSceneCreator.h
216  COLLADASaxFWLLibraryAnimationClipsLoader.h
217  COLLADASaxFWLLibraryAnimationsLoader.h
218  COLLADASaxFWLLibraryArticulatedSystemsLoader.h
219  COLLADASaxFWLLibraryCamerasLoader.h
220  COLLADASaxFWLLibraryControllersLoader.h
221  COLLADASaxFWLLibraryEffectsLoader.h
222  COLLADASaxFWLLibraryFormulasLoader.h
223  COLLADASaxFWLLibraryImagesLoader.h
224  COLLADASaxFWLLibraryJointsLoader.h
225  COLLADASaxFWLLibraryKinematicsModelsLoader.h
226  COLLADASaxFWLLibraryKinematicsScenesLoader.h
227  COLLADASaxFWLLibraryLightsLoader.h
228  COLLADASaxFWLLibraryMaterialsLoader.h
229  COLLADASaxFWLLibraryNodesLoader.h
230  COLLADASaxFWLLoader.h
231  COLLADASaxFWLMeshLoader.h
232  COLLADASaxFWLMeshPrimitiveInputList.h
233  COLLADASaxFWLNodeLoader.h
234  COLLADASaxFWLPHElement.h
235  COLLADASaxFWLPolygons.h
236  COLLADASaxFWLPostProcessor.h
237  COLLADASaxFWLPrerequisites.h
238  COLLADASaxFWLPrimitiveBase.h
239  COLLADASaxFWLRootParser14.h
240  COLLADASaxFWLRootParser15.h
241  COLLADASaxFWLSaxFWLError.h
242  COLLADASaxFWLSaxParserError.h
243  COLLADASaxFWLSaxParserErrorHandler.h
244  COLLADASaxFWLSceneLoader.h
245  COLLADASaxFWLSidAddress.h
246  COLLADASaxFWLSidTreeNode.h
247  COLLADASaxFWLSource.h
248  COLLADASaxFWLSourceArrayLoader.h
249  COLLADASaxFWLSplineLoader.h
250  COLLADASaxFWLStableHeaders.h
251  COLLADASaxFWLTechniqueCommon.h
252  COLLADASaxFWLTransformationLoader.h
253  COLLADASaxFWLTypes.h
254  COLLADASaxFWLUtils.h
255  COLLADASaxFWLVersionParser.h
256  COLLADASaxFWLVertices.h
257  COLLADASaxFWLVisualSceneLoader.h
258  COLLADASaxFWLXmlTypes.h
259 include/opencollada/COLLADASaxFrameworkLoader/generated14/
260  COLLADASaxFWLAssetLoader14.h
261  COLLADASaxFWLColladaParserAutoGen14.h
262  COLLADASaxFWLColladaParserAutoGen14Attributes.h
263  COLLADASaxFWLColladaParserAutoGen14Enums.h
264  COLLADASaxFWLColladaParserAutoGen14FunctionMapFactory.h
265  COLLADASaxFWLColladaParserAutoGen14Private.h
266  COLLADASaxFWLColladaParserAutoGen14ValidationData.h
267  COLLADASaxFWLGeometryLoader14.h
268  COLLADASaxFWLLibraryAnimationClipsLoader14.h
269  COLLADASaxFWLLibraryAnimationsLoader14.h
270  COLLADASaxFWLLibraryCamerasLoader14.h
271  COLLADASaxFWLLibraryControllersLoader14.h
272  COLLADASaxFWLLibraryEffectsLoader14.h
273  COLLADASaxFWLLibraryImagesLoader14.h
274  COLLADASaxFWLLibraryLightsLoader14.h
275  COLLADASaxFWLLibraryMaterialsLoader14.h
276  COLLADASaxFWLLibraryNodesLoader14.h
277  COLLADASaxFWLMeshLoader14.h
278  COLLADASaxFWLNodeLoader14.h
279  COLLADASaxFWLSceneLoader14.h
280  COLLADASaxFWLSourceArrayLoader14.h
281  COLLADASaxFWLSplineLoader14.h
282  COLLADASaxFWLVisualSceneLoader14.h
283 include/opencollada/COLLADASaxFrameworkLoader/generated15/
284  COLLADASaxFWLAssetLoader15.h
285  COLLADASaxFWLColladaParserAutoGen15.h
286  COLLADASaxFWLColladaParserAutoGen15Attributes.h
287  COLLADASaxFWLColladaParserAutoGen15Enums.h
288  COLLADASaxFWLColladaParserAutoGen15FunctionMapFactory.h
289  COLLADASaxFWLColladaParserAutoGen15Private.h
290  COLLADASaxFWLColladaParserAutoGen15ValidationData.h
291  COLLADASaxFWLFormulasLoader15.h
292  COLLADASaxFWLGeometryLoader15.h
293  COLLADASaxFWLLibraryAnimationClipsLoader15.h
294  COLLADASaxFWLLibraryAnimationsLoader15.h
295  COLLADASaxFWLLibraryArticulatedSystemsLoader15.h
296  COLLADASaxFWLLibraryCamerasLoader15.h
297  COLLADASaxFWLLibraryControllersLoader15.h
298  COLLADASaxFWLLibraryEffectsLoader15.h
299  COLLADASaxFWLLibraryFormulasLoader15.h
300  COLLADASaxFWLLibraryImagesLoader15.h
301  COLLADASaxFWLLibraryJointsLoader15.h
302  COLLADASaxFWLLibraryKinematicsModelsLoader15.h
303  COLLADASaxFWLLibraryKinematicsScenesLoader15.h
304  COLLADASaxFWLLibraryLightsLoader15.h
305  COLLADASaxFWLLibraryMaterialsLoader15.h
306  COLLADASaxFWLLibraryNodesLoader15.h
307  COLLADASaxFWLMeshLoader15.h
308  COLLADASaxFWLNodeLoader15.h
309  COLLADASaxFWLSceneLoader15.h
310  COLLADASaxFWLSourceArrayLoader15.h
311  COLLADASaxFWLVisualSceneLoader15.h
312 include/opencollada/COLLADAStreamWriter/
313  COLLADASWAnnotation.h
314  COLLADASWAsset.h
315  COLLADASWBaseElement.h
316  COLLADASWBaseInputElement.h
317  COLLADASWBindMaterial.h
318  COLLADASWBuffer.h
319  COLLADASWCamera.h
320  COLLADASWCameraOptic.h
321  COLLADASWCode.h
322  COLLADASWColor.h
323  COLLADASWColorOrTexture.h
324  COLLADASWConstants.h
325  COLLADASWControlVertices.h
326  COLLADASWEffectProfile.h
327  COLLADASWElementWriter.h
328  COLLADASWException.h
329  COLLADASWExtra.h
330  COLLADASWExtraTechnique.h
331  COLLADASWFormatHint.h
332  COLLADASWImage.h
333  COLLADASWInclude.h
334  COLLADASWInputList.h
335  COLLADASWInstanceCamera.h
336  COLLADASWInstanceController.h
337  COLLADASWInstanceEffect.h
338  COLLADASWInstanceGeometry.h
339  COLLADASWInstanceLight.h
340  COLLADASWInstanceMaterial.h
341  COLLADASWInstanceNode.h
342  COLLADASWLibrary.h
343  COLLADASWLibraryAnimationClips.h
344  COLLADASWLibraryAnimations.h
345  COLLADASWLibraryCameras.h
346  COLLADASWLibraryControllers.h
347  COLLADASWLibraryEffects.h
348  COLLADASWLibraryGeometries.h
349  COLLADASWLibraryImages.h
350  COLLADASWLibraryLights.h
351  COLLADASWLibraryMaterials.h
352  COLLADASWLibraryVisualScenes.h
353  COLLADASWLight.h
354  COLLADASWNode.h
355  COLLADASWOpenGLConstants.h
356  COLLADASWParamBase.h
357  COLLADASWParamTemplate.h
358  COLLADASWPass.h
359  COLLADASWPlatform.h
360  COLLADASWPrerequisites.h
361  COLLADASWPrimitves.h
362  COLLADASWRenderState.h
363  COLLADASWRenderStateStatic.h
364  COLLADASWSampler.h
365  COLLADASWScene.h
366  COLLADASWShader.h
367  COLLADASWSource.h
368  COLLADASWStreamWriter.h
369  COLLADASWSurfaceInitOption.h
370  COLLADASWTechnique.h
371  COLLADASWTechniqueFX.h
372  COLLADASWTexture.h
373  COLLADASWValueType.h
374  COLLADASWVertices.h
375 include/opencollada/GeneratedSaxParser/
376  GeneratedSaxParser.h
377  GeneratedSaxParserCoutErrorHandler.h
378  GeneratedSaxParserExpatSaxParser.h
379  GeneratedSaxParserIErrorHandler.h
380  GeneratedSaxParserINamespaceHandler.h
381  GeneratedSaxParserIUnknownElementHandler.h
382  GeneratedSaxParserLibxmlSaxParser.h
383  GeneratedSaxParserNamespaceStack.h
384  GeneratedSaxParserParser.h
385  GeneratedSaxParserParserError.h
386  GeneratedSaxParserParserTemplate.h
387  GeneratedSaxParserParserTemplateBase.h
388  GeneratedSaxParserPrerequisites.h
389  GeneratedSaxParserRawUnknownElementHandler.h
390  GeneratedSaxParserSaxParser.h
391  GeneratedSaxParserStackMemoryManager.h
392  GeneratedSaxParserTypes.h
393  GeneratedSaxParserUtils.h
394 lib/opencollada/
395  libGeneratedSaxParser.so
396  libMathMLSolver.so
397  libOpenCOLLADABaseUtils.so
398  libOpenCOLLADAFramework.so
399  libOpenCOLLADASaxFrameworkLoader.so
400  libOpenCOLLADAStreamWriter.so
401  libUTF.so
402  libbuffer.so
403  libftoa.so
404  libzlib.so
405 share/cmake/Modules/
406  OpenCOLLADAConfig.cmake
407  OpenCOLLADAConfigVersion.cmake
408  OpenCOLLADATargets-%%CMAKE_BUILD_TYPE%%.cmake
409  OpenCOLLADATargets.cmake
410
411
412 [FILE:790:patches/patch-COLLADABaseUtils_include_COLLADABUPcreCompiledPattern.h]
413 From b7780cd366dd687ff5e517ad95885408db96c7b5 Mon Sep 17 00:00:00 2001
414 From: Dennis Schridde <devurandom@gmx.net>
415 Date: Thu, 12 Jul 2018 06:52:36 +0200
416 Subject: [PATCH] COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h:
417  Include pcre.h
418
419 This fixes a compilation error with libpcre-8.42:
420 ```
421 error: conflicting declaration 'typedef struct real_pcre8_or_16 pcre'
422 ```
423
424 Closes: #547
425 Closes: #570
426 ---
427  COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h | 3 +--
428  1 file changed, 1 insertion(+), 2 deletions(-)
429
430 --- COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
431 +++ COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
432 @@ -13,8 +13,7 @@
433  
434  #include "COLLADABUPrerequisites.h"
435  
436 -struct real_pcre;
437 -typedef struct real_pcre pcre;
438 +#include <pcre.h>
439  
440  
441  namespace COLLADABU
442
443
444 [FILE:518:patches/patch-COLLADABaseUtils_include_COLLADABUPlatform.h]
445 --- COLLADABaseUtils/include/COLLADABUPlatform.h.orig   2023-01-06 00:08:58 UTC
446 +++ COLLADABaseUtils/include/COLLADABUPlatform.h
447 @@ -23,7 +23,7 @@
448  #  define COLLADABU_OS_WIN64
449  #elif (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__))
450  #  define COLLADABU_OS_WIN32
451 -#elif defined(__linux__) || defined(__linux) || defined(__FreeBSD__)
452 +#elif defined(__linux__) || defined(__linux) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
453  #  define COLLADABU_OS_LINUX
454  #endif
455  
456
457
458 [FILE:545:patches/patch-COLLADABaseUtils_include_COLLADABUhash__map.h]
459 --- COLLADABaseUtils/include/COLLADABUhash_map.h.orig   2018-01-13 00:23:52 UTC
460 +++ COLLADABaseUtils/include/COLLADABUhash_map.h
461 @@ -60,7 +60,7 @@
462          #define COLLADABU_HASH_NAMESPACE_CLOSE }
463          #define COLLADABU_HASH_FUN hash
464      #endif
465 -#elif (defined(__APPLE__) || defined(__FreeBSD__)) && defined(_LIBCPP_VERSION)
466 +#elif (defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)) && defined(_LIBCPP_VERSION)
467      #include <unordered_map>
468      #include <unordered_set>
469      #define COLLADABU_HASH_MAP std::unordered_map
470
471
472 [FILE:470:patches/patch-DAEValidator_CMakeLists.txt]
473 --- DAEValidator/CMakeLists.txt.orig    2018-11-26 22:43:10 UTC
474 +++ DAEValidator/CMakeLists.txt
475 @@ -100,7 +100,7 @@ if (WIN32)
476  # C4820: 'bytes' bytes padding added after construct 'member_name'
477         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /Wall /WX /wd4505 /wd4514 /wd4592 /wd4710 /wd4711 /wd4820")
478  else ()
479 -       set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror")
480 +       set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
481  endif ()
482  
483  add_custom_command(
484
485
486 [FILE:301:patches/patch-DAEValidator_library_src_DaeValidator.cpp]
487 --- DAEValidator/library/src/DaeValidator.cpp.orig      2018-11-26 22:43:10 UTC
488 +++ DAEValidator/library/src/DaeValidator.cpp
489 @@ -4,6 +4,7 @@
490  #include "Strings.h"
491  #include "StringUtil.h"
492  #include <cmath>
493 +#include <cstdint>
494  #include "no_warning_iomanip"
495  #include "no_warning_iostream"
496  #include <set>
497
498
499 [FILE:236:patches/patch-DAEValidator_library_src_XmlDoc.cpp]
500 --- DAEValidator/library/src/XmlDoc.cpp.orig    2018-11-26 22:43:10 UTC
501 +++ DAEValidator/library/src/XmlDoc.cpp
502 @@ -1,5 +1,6 @@
503  #include "Macros.h"
504  
505 +#include <cstdint>
506  #if IS_GNUC_AND_GNUC_VERSION_LT(5,1,1)
507  #include <cstring>
508  #endif
509
510
511 [FILE:407:patches/patch-common_libBuffer_include_CommonFWriteBufferFlusher.h]
512 --- common/libBuffer/include/CommonFWriteBufferFlusher.h.orig   2018-01-13 00:23:52 UTC
513 +++ common/libBuffer/include/CommonFWriteBufferFlusher.h
514 @@ -35,7 +35,7 @@ namespace std {
515  #ifdef __GNUC__
516  #   include <cstdlib> /* size_t */
517  #   include <cstdio>  /* FILE */
518 -#ifdef __FreeBSD__
519 +#if defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__
520  #include <stdint.h> /* int64_t */
521  #endif
522  #endif
523
524
525 [FILE:1423:patches/patch-common_libBuffer_src_CommonFWriteBufferFlusher.cpp]
526 --- common/libBuffer/src/CommonFWriteBufferFlusher.cpp.orig     2018-01-13 00:23:52 UTC
527 +++ common/libBuffer/src/CommonFWriteBufferFlusher.cpp
528 @@ -90,7 +90,7 @@ namespace Common
529                 FilePosType currentPos = ftello64(mStream);
530  #elif defined( _WIN32)
531                 FilePosType currentPos = _ftelli64(mStream);
532 -#elif defined (__APPLE__) || defined(__FreeBSD__)
533 +#elif defined (__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
534                 FilePosType currentPos = ftello(mStream);
535  #else
536                 FilePosType currentPos = ftello64(mStream);
537 @@ -115,7 +115,7 @@ namespace Common
538                         return (fseeko64(mStream,0,SEEK_END) == 0);
539  #elif defined( _WIN32)
540                         return (_fseeki64(mStream, 0, SEEK_END) == 0);
541 -#elif defined (__APPLE__) || defined(__FreeBSD__)
542 +#elif defined (__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
543                         return (fseeko(mStream, 0, SEEK_END) == 0);
544  #else
545                         return (fseeko64(mStream, 0, SEEK_END) == 0);
546 @@ -135,7 +135,7 @@ namespace Common
547                                 bool success = (fseeko64(mStream,pos,SEEK_SET) == 0);
548  #elif defined( _WIN32)
549                                 bool success = (_fseeki64(mStream, pos, SEEK_SET) == 0);
550 -#elif defined (__APPLE__) || defined(__FreeBSD__)
551 +#elif defined (__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
552                                 bool success = (fseeko(mStream, pos, SEEK_SET) == 0);
553  #else
554                                 bool success = (fseeko64(mStream, pos, SEEK_SET) == 0);
555