aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-02-25 18:28:18 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-02-25 18:28:18 +0000
commit6756d4f79b13e53eba3908f6e3ce35fe1a72f181 (patch)
treee2883047048d7dfa656239ee3bede919a1c28902
parentefcce16200f1833b033582060dc1c3d83ac174f6 (diff)
downloadports-6756d4f79b13e53eba3908f6e3ce35fe1a72f181.tar.gz
ports-6756d4f79b13e53eba3908f6e3ce35fe1a72f181.zip
Notes
-rw-r--r--www/gecko-mediaplayer/files/patch-src__plugin.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/gecko-mediaplayer/files/patch-src__plugin.cpp b/www/gecko-mediaplayer/files/patch-src__plugin.cpp
new file mode 100644
index 000000000000..2d8248c2758e
--- /dev/null
+++ b/www/gecko-mediaplayer/files/patch-src__plugin.cpp
@@ -0,0 +1,21 @@
+Index: src/plugin.cpp
+===================================================================
+--- src/plugin.cpp (revision 516)
++++ src/plugin.cpp (revision 517)
+@@ -250,12 +250,16 @@
+ case NPERR_STREAM_NOT_SEEKABLE:
+ return "Stream Not Seekable";
+ break;
++#ifdef NPERR_TIME_RANGE_NOT_SUPPORTED
+ case NPERR_TIME_RANGE_NOT_SUPPORTED:
+ return "Time Range Not Supported";
+ break;
++#endif
++#ifdef NPERR_MALFORMED_SITE
+ case NPERR_MALFORMED_SITE:
+ return "Malformed Site";
+ break;
++#endif
+ default:
+ return "Unknown NPError Code";
+ break;