summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-04-26 11:38:53 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-04-26 11:38:53 +0000
commit409077ee5cb3e70e91fa3c5803f2b9d313c669d6 (patch)
treebdac982ed81528399ae1283bb47d26fde05f5216 /app-misc/mc/files
parentadd dodir and fix symlinks (diff)
downloadhistorical-409077ee5cb3e70e91fa3c5803f2b9d313c669d6.tar.gz
historical-409077ee5cb3e70e91fa3c5803f2b9d313c669d6.tar.bz2
historical-409077ee5cb3e70e91fa3c5803f2b9d313c669d6.zip
Fix building with gcc4.
Package-Manager: portage-2.0.51.20-r4
Diffstat (limited to 'app-misc/mc/files')
-rw-r--r--app-misc/mc/files/mc-4.6.0-gcc4.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-misc/mc/files/mc-4.6.0-gcc4.patch b/app-misc/mc/files/mc-4.6.0-gcc4.patch
new file mode 100644
index 000000000000..94a090a3173d
--- /dev/null
+++ b/app-misc/mc/files/mc-4.6.0-gcc4.patch
@@ -0,0 +1,17 @@
+--- mc-4.6.0/vfs/smb/popt_common.h 2005-04-26 11:08:25.000000000 +0000
++++ mc-4.6.0.az/vfs/smb/popt_common.h 2005-04-26 11:08:43.000000000 +0000
+@@ -22,10 +22,10 @@
+ #define _POPT_COMMON_H
+
+ /* Common popt structures */
+-extern struct poptOption popt_common_samba[];
+-extern struct poptOption popt_common_connection[];
+-extern struct poptOption popt_common_version[];
+-extern struct poptOption popt_common_credentials[];
++extern struct poptOption *popt_common_samba;
++extern struct poptOption *popt_common_connection;
++extern struct poptOption *popt_common_version;
++extern struct poptOption *popt_common_credentials;
+
+ #ifndef POPT_TABLEEND
+ #define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL }