diff --git a/esc-1.1.1-fix4.patch b/esc-1.1.1-fix4.patch new file mode 100644 index 0000000..8490dd5 --- /dev/null +++ b/esc-1.1.1-fix4.patch @@ -0,0 +1,30 @@ +diff -up ./esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/config/system-headers.fix4 ./esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/config/system-headers +--- ./esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/config/system-headers.fix4 2018-06-08 16:19:38.502459087 -0700 ++++ ./esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/config/system-headers 2018-06-08 16:20:33.330152105 -0700 +@@ -1067,6 +1067,7 @@ sys/statvfs.h + sys/syscall.h + sys/sysctl.h + sys/sysinfo.h ++sys/sysmacros.h + sys/sysmp.h + sys/syssgi.h + sys/system_properties.h +diff -up ./esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/xpcom/io/nsLocalFileUnix.cpp.fix4 ./esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/xpcom/io/nsLocalFileUnix.cpp +--- ./esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/xpcom/io/nsLocalFileUnix.cpp.fix4 2018-06-08 16:17:21.337227098 -0700 ++++ ./esc/src/xulrunner/xulrunner-45.9.0/firefox-45.9.0esr/xpcom/io/nsLocalFileUnix.cpp 2018-06-08 16:18:16.820916423 -0700 +@@ -10,7 +10,6 @@ + + #include "mozilla/ArrayUtils.h" + #include "mozilla/Attributes.h" +-#include + #include + #include + #include +@@ -28,6 +27,7 @@ + #define USE_LINUX_QUOTACTL + #include + #include ++#include + #ifndef BLOCK_SIZE + #define BLOCK_SIZE 1024 /* kernel block size */ + #endif diff --git a/esc.spec b/esc.spec index 667975e..1794d90 100644 --- a/esc.spec +++ b/esc.spec @@ -13,6 +13,7 @@ Group: Applications/Internet Patch1: esc-1.1.1-fix1.patch Patch2: esc-1.1.1-fix2.patch Patch3: esc-1.1.1-fix3.patch +Patch4: esc-1.1.1-fix4.patch BuildRequires: doxygen fontconfig-devel BuildRequires: glib2-devel atk-devel @@ -125,6 +126,7 @@ cryptographic smartcards. %patch1 -p1 -b .fix1 %patch2 -p1 -b .fix2 %patch3 -p1 -b .fix3 +%patch4 -p1 -b .fix4 r=$(uname -r | sed -e 's/\(^[^.]*\.[^.]*\).*/\1/') [ -f esc/coreconf/Linux$r.mk ] || ln -s Linux3.5.mk esc/coreconf/Linux$r.mk