summaryrefslogtreecommitdiffstats
path: root/multimedia/slideshow/files
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-01-08 20:32:37 +0000
committerarved <arved@FreeBSD.org>2003-01-08 20:32:37 +0000
commit49f9c4667aba383a7a7e72f47871c8b374ac9520 (patch)
tree327fa7ce637ee8597f0061fb2edcbde12762fd58 /multimedia/slideshow/files
parent2170526533f4a49d3e957522bd2cee56449d45f7 (diff)
downloadFreeBSD-ports-49f9c4667aba383a7a7e72f47871c8b374ac9520.zip
FreeBSD-ports-49f9c4667aba383a7a7e72f47871c8b374ac9520.tar.gz
Add slideshow, a tool to write slides in python or XML
PR: 45832 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
Diffstat (limited to 'multimedia/slideshow/files')
-rw-r--r--multimedia/slideshow/files/patch-src::EffectDarkness.cpp13
-rw-r--r--multimedia/slideshow/files/patch-src::FontVault.h11
-rw-r--r--multimedia/slideshow/files/patch-src::Makefile.in11
3 files changed, 35 insertions, 0 deletions
diff --git a/multimedia/slideshow/files/patch-src::EffectDarkness.cpp b/multimedia/slideshow/files/patch-src::EffectDarkness.cpp
new file mode 100644
index 0000000..1516ff9
--- /dev/null
+++ b/multimedia/slideshow/files/patch-src::EffectDarkness.cpp
@@ -0,0 +1,13 @@
+--- src/EffectDarkness.cpp.orig Fri Nov 29 01:06:50 2002
++++ src/EffectDarkness.cpp Fri Nov 29 01:07:20 2002
+@@ -52,8 +52,8 @@
+ int dt = screen->format->BytesPerPixel;
+
+ // Sorry, work to do
+- assert (ds == 4 || ds == 3);
+- assert (dt == 4 || ds == 3);
++ if (ds != 4 && ds != 3) return;
++ if (dt != 4 && ds != 3) return;
+
+
+ for (int i=0; i< parent_surface->w * parent_surface->h; i++) {
diff --git a/multimedia/slideshow/files/patch-src::FontVault.h b/multimedia/slideshow/files/patch-src::FontVault.h
new file mode 100644
index 0000000..a3bc7e7
--- /dev/null
+++ b/multimedia/slideshow/files/patch-src::FontVault.h
@@ -0,0 +1,11 @@
+--- src/FontVault.h.orig Fri Nov 22 00:07:06 2002
++++ src/FontVault.h Thu Nov 28 23:41:37 2002
+@@ -34,7 +34,7 @@
+ }
+ };
+
+-#if (HASHMAP_NAMESPACE == __gnu_cxx)
++#if defined(HAVE_GNU_CXX_HASHMAP)
+ typedef __gnu_cxx::hash_map<std::string, TTF_Font*, ures_hasher, ures_eqstr> Fonts_HashMap;
+ #else
+ typedef std::hash_map<std::string, TTF_Font*, ures_hasher, ures_eqstr> Fonts_HashMap;
diff --git a/multimedia/slideshow/files/patch-src::Makefile.in b/multimedia/slideshow/files/patch-src::Makefile.in
new file mode 100644
index 0000000..e22622e
--- /dev/null
+++ b/multimedia/slideshow/files/patch-src::Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Wed Nov 27 01:32:38 2002
++++ src/Makefile.in Wed Nov 27 01:32:48 2002
+@@ -790,8 +790,6 @@
+ uninstall-recursive
+
+
+-MgpLoaderLex.cpp: MgpLoader.ll
+- flex++ -i -oMgpLoaderLex.cpp MgpLoader.ll
+
+ #
+ # Python wrapper
OpenPOWER on IntegriCloud