summaryrefslogtreecommitdiffstats
path: root/redhat/applications/smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch
diff options
context:
space:
mode:
authorFrancois Andriot <[email protected]>2012-05-07 01:06:08 +0200
committerFrancois Andriot <[email protected]>2012-05-07 01:06:08 +0200
commit9750a057f2f36c5b88a5bc53c0a051b605dac061 (patch)
tree4f205d3ed4ecf8d2df665b566674d12372363c7f /redhat/applications/smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch
parent6bb431be79e8f75c26bbf0f81749fa7738965f65 (diff)
downloadtde-packaging-9750a057f2f36c5b88a5bc53c0a051b605dac061.tar.gz
tde-packaging-9750a057f2f36c5b88a5bc53c0a051b605dac061.zip
RHEL/Fedora: massive updates for Fedora 17 (TDE 3.5.13 entire build)
Diffstat (limited to 'redhat/applications/smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch')
-rw-r--r--redhat/applications/smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/redhat/applications/smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch
new file mode 100644
index 000000000..03048f58d
--- /dev/null
+++ b/redhat/applications/smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch
@@ -0,0 +1,18 @@
+commit b4c7fd481649eaa362dc426e6b5f8d23b0c9e836
+Author: Darrell Anderson <[email protected]>
+Date: 1335631847 -0500
+
+ GCC 4.7 fixes.
+
+diff --git a/smb4k/configdlg/smb4kshareoptions.cpp b/smb4k/configdlg/smb4kshareoptions.cpp
+index 24e309a..6627b51 100644
+--- a/smb4k/configdlg/smb4kshareoptions.cpp
++++ b/smb4k/configdlg/smb4kshareoptions.cpp
+@@ -40,6 +40,7 @@
+ // system includes
+ #include <sys/types.h>
+ #include <pwd.h>
++#include <unistd.h>
+
+ // applications specific includes
+ #include "smb4kshareoptions.h"