aboutsummaryrefslogtreecommitdiff
path: root/net-im/tox/files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-02-24 21:57:29 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-02-24 21:57:29 +0000
commit18d0289d459968ea28afd012df38849e476aa223 (patch)
tree655da7b520f3a73109cc42d0b6ed45433544e506 /net-im/tox/files
parente42957eb1e05e9843fa8fb58e62eb60ba0bad29a (diff)
downloadports-18d0289d459968ea28afd012df38849e476aa223.tar.gz
ports-18d0289d459968ea28afd012df38849e476aa223.zip
Notes
Diffstat (limited to 'net-im/tox/files')
-rw-r--r--net-im/tox/files/patch-Makefile.am11
-rw-r--r--net-im/tox/files/patch-toxav_phone.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/net-im/tox/files/patch-Makefile.am b/net-im/tox/files/patch-Makefile.am
new file mode 100644
index 000000000000..d49d3ba81bb9
--- /dev/null
+++ b/net-im/tox/files/patch-Makefile.am
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2014-02-22 23:52:26.000000000 +0100
++++ Makefile.am 2014-02-23 17:07:16.000000000 +0100
+@@ -2,7 +2,7 @@
+
+ ACLOCAL_AMFLAGS = -I m4
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(libdir)data/pkgconfig
+ pkgconfig_DATA = $(top_builddir)/libtoxcore.pc
+
+ BUILT_SOURCES = $(top_builddir)/libtoxcore.pc
diff --git a/net-im/tox/files/patch-toxav_phone.c b/net-im/tox/files/patch-toxav_phone.c
new file mode 100644
index 000000000000..5f1b8e7a2dbc
--- /dev/null
+++ b/net-im/tox/files/patch-toxav_phone.c
@@ -0,0 +1,11 @@
+--- toxav/phone.c.orig 2014-02-22 23:52:26.000000000 +0100
++++ toxav/phone.c 2014-02-23 22:31:19.000000000 +0100
+@@ -67,7 +67,7 @@
+ /* the quit event for SDL */
+ #define FF_QUIT_EVENT (SDL_USEREVENT + 2)
+
+-#ifdef __linux__
++#if defined( __linux__) || defined(__FreeBSD__)
+ #define VIDEO_DRIVER "video4linux2"
+ #define DEFAULT_WEBCAM "/dev/video0"
+ #endif