Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
robotpkg-wip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
robotpkg-wip
Commits
0b1dfd20
Commit
0b1dfd20
authored
11 years ago
by
Raphaël Lallement
Browse files
Options
Downloads
Patches
Plain Diff
[wip/msgconnector] Add patch for NetBSD
Patch the msgconnector to build under NetBSD.
parent
61b27b0c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
msgconnector/Makefile
+1
-1
1 addition, 1 deletion
msgconnector/Makefile
msgconnector/distinfo
+1
-0
1 addition, 0 deletions
msgconnector/distinfo
msgconnector/patches/patch-aa
+48
-0
48 additions, 0 deletions
msgconnector/patches/patch-aa
with
50 additions
and
1 deletion
msgconnector/Makefile
+
1
−
1
View file @
0b1dfd20
...
...
@@ -4,7 +4,7 @@
DISTNAME
=
msgconnector-
${
VERSION
}
VERSION
=
2.3.0
PKGREVISION
=
PKGREVISION
=
1
CATEGORIES
=
planning
MASTER_SITES
=
${
MASTER_SITE_OPENROBOTS:
=
msgconnector/
}
MASTER_REPOSITORY
=
${
MASTER_REPOSITORY_OPENROBOTS
}
msgconnector
...
...
This diff is collapsed.
Click to expand it.
msgconnector/distinfo
+
1
−
0
View file @
0b1dfd20
SHA1 (msgconnector-2.3.0.tar.gz) = a369ad41734b7a4325b0adf39d40f50b98c25645
RMD160 (msgconnector-2.3.0.tar.gz) = 50f63240b4e5f1dcb1204d4a4cba3cb2a75666f4
Size (msgconnector-2.3.0.tar.gz) = 18403 bytes
SHA1 (patch-aa) = 9dcc0578334b9484eebac4eda9c1e63f864d0af7
This diff is collapsed.
Click to expand it.
msgconnector/patches/patch-aa
0 → 100644
+
48
−
0
View file @
0b1dfd20
diff --git isocket/iclient.hh isocket/iclient.hh
index f47421c..eefffe4 100644
--- isocket/iclient.hh
+++ isocket/iclient.hh
@@ -4,6 +4,8 @@
#include <sstream>
#include <errno.h>
+#include <sys/socket.h>
+#include <sys/types.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <unistd.h>
diff --git isocket/iserver.hh isocket/iserver.hh
index 4b5d0a1..cca41f7 100644
--- isocket/iserver.hh
+++ isocket/iserver.hh
@@ -12,6 +12,14 @@
#include <netdb.h>
#include <fcntl.h>
+#ifndef SOL_TCP
+# ifdef IPPROTO_TCP
+# define SOL_TCP IPPROTO_TCP
+# else
+# define SOL_TCP 6
+# endif /* IPPROTO_TCP */
+#endif /* SOL_TCP */
+
#include <imsg.hh>
#include <message.hh>
diff --git server/CMakeLists.txt server/CMakeLists.txt
index 36a1144..817cebd 100644
--- server/CMakeLists.txt
+++ server/CMakeLists.txt
@@ -4,6 +4,11 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../isocket)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../client)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../plugins)
+find_package(Boost 1.34 REQUIRED COMPONENTS)
+if(Boost_FOUND)
+ include_directories(${Boost_INCLUDE_DIRS})
+endif(Boost_FOUND)
+
set(MC_CONNECTOR_S_SRC msgServer.cc)
add_library(msgconnectorServer SHARED ${MC_CONNECTOR_S_SRC})
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment