mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
seeks, remove old bep file, bump version (#1322)
This commit is contained in:
committed by
waddlesplash
parent
7278a5d3c3
commit
a20b67b147
76
www-aps/seeks/patches/seeks-0.4.1.patchset
Normal file
76
www-aps/seeks/patches/seeks-0.4.1.patchset
Normal file
@@ -0,0 +1,76 @@
|
||||
From fe7d5dc24cc4e51ed0fe6d4287b5542370642dfb Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sat, 6 May 2017 13:31:06 +0200
|
||||
Subject: fix Haiku build, timegm could use some looking into
|
||||
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 8773901..e952976 100755
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -47,6 +47,9 @@ AC_SEARCH_LIBS(accept, socket network)
|
||||
AC_SEARCH_LIBS(gethostbyname, nsl network)
|
||||
LT_LIB_DLLOAD
|
||||
|
||||
+# Check for Haiku libnetwork
|
||||
+AC_CHECK_LIB([network], [socket])
|
||||
+
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
@@ -167,6 +170,16 @@ case "$host" in
|
||||
esac
|
||||
|
||||
#=================================================================
|
||||
+# Haiku specific
|
||||
+#=================================================================
|
||||
+case "$host" in
|
||||
+*-haiku*) SPECIAL_CFLAGS="-Dunix";
|
||||
+ AM_CONDITIONAL(HAVE_BSD,true)
|
||||
+ AC_DEFINE(ON_HAIKU,1,"Haiku")
|
||||
+;;
|
||||
+esac
|
||||
+
|
||||
+#=================================================================
|
||||
# OpenBSD specific
|
||||
#=================================================================
|
||||
case "$host" in
|
||||
diff --git a/src/proxy/parsers.cpp b/src/proxy/parsers.cpp
|
||||
index 05545f3..5816c3b 100644
|
||||
--- a/src/proxy/parsers.cpp
|
||||
+++ b/src/proxy/parsers.cpp
|
||||
@@ -3874,7 +3874,7 @@ namespace sp
|
||||
return SP_ERR_PARSE;
|
||||
}
|
||||
|
||||
- *result = timegm(&gmt);
|
||||
+ *result = mktime(&gmt);
|
||||
|
||||
return SP_ERR_OK;
|
||||
}
|
||||
--
|
||||
2.7.0
|
||||
|
||||
|
||||
From 60a1a9460acc45fc14e5ff859c59cdfa00b8935d Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sat, 6 May 2017 16:51:42 +0200
|
||||
Subject: fix subdir-objects for automake
|
||||
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index e952976..49e3d6b 100755
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
AC_INIT(Seeks, 0.4.1, ebenazer@seeks-project.info)
|
||||
AC_CONFIG_SRCDIR(Makefile.am)
|
||||
-AM_INIT_AUTOMAKE
|
||||
+AM_INIT_AUTOMAKE([subdir-objects])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
--
|
||||
2.7.0
|
||||
|
||||
Reference in New Issue
Block a user