I tried to build lates git on Freebsd 12.3 amd64 vm and found I still need
some more patches...

Attached
From 4ca5f5a56b839681ce33919f6bdabb817a645a57 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Sun, 15 May 2022 08:30:08 +0000
Subject: [PATCH 4/4] TDB is linux-specific

---
 cinelerra-5.1/db/tdb.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cinelerra-5.1/db/tdb.h b/cinelerra-5.1/db/tdb.h
index 24c8617c..b746b640 100644
--- a/cinelerra-5.1/db/tdb.h
+++ b/cinelerra-5.1/db/tdb.h
@@ -1,4 +1,5 @@
 #if defined(__i386__) || defined(__x86_64__)
+#if defined (__linux__)
 #ifndef __DB_H__
 #define __DB_H__
 #include <cstring>
@@ -1515,4 +1516,5 @@ public:
 };
 
 #endif
+#endif // linux
 #endif /* x86 */
\ No newline at end of file
-- 
2.35.1

From d9726dad6a0ac2c50d5b3c4b699eb33ae9747a2e Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Sun, 15 May 2022 08:27:39 +0000
Subject: [PATCH 1/4] Update bsd.bld

---
 cinelerra-5.1/blds/bsd.bld | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cinelerra-5.1/blds/bsd.bld b/cinelerra-5.1/blds/bsd.bld
index b6ec27b3..3a6c024c 100755
--- a/cinelerra-5.1/blds/bsd.bld
+++ b/cinelerra-5.1/blds/bsd.bld
@@ -9,11 +9,11 @@ alias make=gmake
 ( ./autogen.sh
   BSD=1 CC=clang CXX=clang++ CFLAGS="-g -O2 " \
   ./configure --with-single-user \
-    --disable-static-build --without-lv2 --disable-lame --disable-twolame \
+    --disable-static-build --without-libzmpeg --disable-lame --disable-twolame \
     --with-oss --without-alsa --without-firewire --without-dv --without-dvb \
     --without-video4linux2 --without-xxf86vm --without-ladspa-build \
-    --without-libzmpeg --without-commercial --without-thirdparty \
-    --without-vaapi --without-vdpau --without-shuttle --without-shuttle-usb \
+    --without-commercial --without-thirdparty \
+    --without-shuttle --without-libdpx --without-shuttle-usb \
     --without-x10tv --with-jobs=4 --without-wintv
    gmake
    gmake install ) 2>&1 | tee log
-- 
2.35.1

From 08399264fbd0c269d758e6797893e4c1ac996be4 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Sun, 15 May 2022 08:29:09 +0000
Subject: [PATCH 3/4] two themes fail to load on freebsd

---
 cinelerra-5.1/plugins/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cinelerra-5.1/plugins/Makefile b/cinelerra-5.1/plugins/Makefile
index e6718432..227faf80 100644
--- a/cinelerra-5.1/plugins/Makefile
+++ b/cinelerra-5.1/plugins/Makefile
@@ -160,9 +160,7 @@ DIRS = $(OPENCV_OBJS) \
 	yuvshift \
 	zoom \
 	zoomblur \
-	theme_blond \
 	theme_blond_cv \
-	theme_blue \
 	theme_blue_dot \
 	theme_bright \
 	theme_hulk \
@@ -174,7 +172,7 @@ DIRS = $(OPENCV_OBJS) \
 
 PLATFORM = $(shell uname -o)
 ifneq ($(PLATFORM), FreeBSD)
-DIRS += cdripper
+DIRS += cdripper theme_blond theme_blue 
 endif
 
 # not maintained
-- 
2.35.1

From 554f9cd60e725968e9dcbc3071690b852912feff Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Sun, 15 May 2022 08:28:20 +0000
Subject: [PATCH 2/4] More freebsd fixes

---
 cinelerra-5.1/cinelerra/commercials.h | 2 ++
 cinelerra-5.1/cinelerra/dbwindow.h    | 2 ++
 cinelerra-5.1/cinelerra/mediadb.h     | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/cinelerra-5.1/cinelerra/commercials.h b/cinelerra-5.1/cinelerra/commercials.h
index 443cf6c7..9fc8df5d 100644
--- a/cinelerra-5.1/cinelerra/commercials.h
+++ b/cinelerra-5.1/cinelerra/commercials.h
@@ -1,4 +1,5 @@
 #if defined(__i386__) || defined(__x86_64__)
+#if defined (__linux__)
 #ifndef _COMMERCIALS_H_
 #define _COMMERCIALS_H_
 
@@ -203,4 +204,5 @@ public:
 
 
 #endif
+#endif // linux
 #endif /* x86 */
\ No newline at end of file
diff --git a/cinelerra-5.1/cinelerra/dbwindow.h b/cinelerra-5.1/cinelerra/dbwindow.h
index 103beb6d..aadbfb07 100644
--- a/cinelerra-5.1/cinelerra/dbwindow.h
+++ b/cinelerra-5.1/cinelerra/dbwindow.h
@@ -1,4 +1,5 @@
 #if defined(__i386__) || defined(__x86_64__)
+#if defined (__linux__)
 #ifndef _DBWINDOW_H_
 #define _DBWINDOW_H_
 
@@ -297,4 +298,5 @@ public:
 
 
 #endif
+#endif // linux
 #endif /* x86 */
\ No newline at end of file
diff --git a/cinelerra-5.1/cinelerra/mediadb.h b/cinelerra-5.1/cinelerra/mediadb.h
index f55cc6b0..3b816c4e 100644
--- a/cinelerra-5.1/cinelerra/mediadb.h
+++ b/cinelerra-5.1/cinelerra/mediadb.h
@@ -1,4 +1,5 @@
 #if defined(__i386__) || defined(__x86_64__)
+#if defined (__linux__)
 #ifndef _MEDIA_DB_H_
 #define _MEDIA_DB_H_
 
@@ -240,4 +241,5 @@ public:
 };
 
 #endif
+#endif // linux
 #endif /* x86 */
\ No newline at end of file
-- 
2.35.1

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to