summaryrefslogtreecommitdiff
path: root/net-im/yowsup/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /net-im/yowsup/files
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'net-im/yowsup/files')
-rw-r--r--net-im/yowsup/files/yowsup-3.2.3-fix-install-path.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-im/yowsup/files/yowsup-3.2.3-fix-install-path.patch b/net-im/yowsup/files/yowsup-3.2.3-fix-install-path.patch
new file mode 100644
index 000000000000..eba10fbced59
--- /dev/null
+++ b/net-im/yowsup/files/yowsup-3.2.3-fix-install-path.patch
@@ -0,0 +1,21 @@
+--- a/setup.py 2019-05-07 18:52:38.000000000 +0200
++++ b/setup.py 2019-07-26 23:05:18.000000000 +0200
+@@ -33,7 +33,6 @@
+ #long_description=long_description,
+ packages= find_packages(),
+ include_package_data=True,
+- data_files = [('yowsup/common', ['yowsup/common/mime.types'])],
+ platforms='any',
+ #test_suite='',
+ classifiers = [
+--- a/yowsup/common/tools.py 2019-05-07 18:52:38.000000000 +0200
++++ b/yowsup/common/tools.py 2019-07-26 23:05:38.000000000 +0200
+@@ -173,7 +173,7 @@
+ return preview
+
+ class MimeTools:
+- MIME_FILE = os.path.join(os.path.dirname(__file__), 'mime.types')
++ MIME_FILE = os.path.join('/usr/share/yowsup/common', 'mime.types')
+ mimetypes.init() # Load default mime.types
+ try:
+ mimetypes.init([MIME_FILE]) # Append whatsapp mime.types