summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch')
-rw-r--r--net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch b/net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch
new file mode 100644
index 000000000000..2eafd3748ee4
--- /dev/null
+++ b/net-libs/libgadu/files/libgadu-1.12.2-fno-common.patch
@@ -0,0 +1,30 @@
+diff -ruN libgadu-1.12.2/test/manual/userconfig.h my-libgadu/test/manual/userconfig.h
+--- libgadu-1.12.2/test/manual/userconfig.h 2017-01-21 18:57:03.000000000 +0100
++++ my-libgadu/test/manual/userconfig.h 2020-02-09 03:18:29.040560145 +0100
+@@ -19,16 +19,16 @@
+ #ifndef USERCONFIG_H
+ #define USERCONFIG_H
+
+-unsigned int config_uin;
+-char *config_password;
+-unsigned int config_peer;
+-char *config_file;
+-char *config_dir;
+-unsigned int config_size;
+-unsigned long config_ip;
+-unsigned int config_port;
+-char *config_server;
+-char *config_proxy;
++extern unsigned int config_uin;
++extern char *config_password;
++extern unsigned int config_peer;
++extern char *config_file;
++extern char *config_dir;
++extern unsigned int config_size;
++extern unsigned long config_ip;
++extern unsigned int config_port;
++extern char *config_server;
++extern char *config_proxy;
+
+ int config_read(void);
+ void config_free(void);