aboutsummaryrefslogtreecommitdiffstats
path: root/lang/phantomjs/files
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2012-01-09 09:53:59 +0800
committerkuriyama <kuriyama@FreeBSD.org>2012-01-09 09:53:59 +0800
commitc7477db24940bdac98de98c8abf906505b7e1328 (patch)
tree79da8c8bf43c789574abbddee610655cf99ab03d /lang/phantomjs/files
parent852296baf909e9eb3369103ed00b53d908fba269 (diff)
downloadfreebsd-ports-gnome-c7477db24940bdac98de98c8abf906505b7e1328.tar.gz
freebsd-ports-gnome-c7477db24940bdac98de98c8abf906505b7e1328.tar.zst
freebsd-ports-gnome-c7477db24940bdac98de98c8abf906505b7e1328.zip
- Upgrade to 1.4.1.
PR: ports/163912 Submitted by: Hsin-Han You <hhyou@cs.nctu.edu.tw>
Diffstat (limited to 'lang/phantomjs/files')
-rw-r--r--lang/phantomjs/files/patch-src-mongoose-mongoose.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/phantomjs/files/patch-src-mongoose-mongoose.c b/lang/phantomjs/files/patch-src-mongoose-mongoose.c
new file mode 100644
index 000000000000..2c9af0e311c8
--- /dev/null
+++ b/lang/phantomjs/files/patch-src-mongoose-mongoose.c
@@ -0,0 +1,13 @@
+--- src/mongoose/mongoose.c.orig 2012-01-08 11:06:17.000000000 +0800
++++ src/mongoose/mongoose.c 2012-01-08 11:08:32.000000000 +0800
+@@ -18,6 +18,10 @@
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ // THE SOFTWARE.
+
++#if defined(__FreeBSD__)
++#include <sys/socket.h>
++#endif
++
+ #if defined(_WIN32)
+ #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005
+ #else \ No newline at end of file