aboutsummaryrefslogtreecommitdiffstats
path: root/net/openslp
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-07-13 06:10:29 +0800
committermarcus <marcus@FreeBSD.org>2005-07-13 06:10:29 +0800
commit2ae628d7cde3cb0471743d04c6d26265b5d6a20c (patch)
treea36e10dceae2c68fa2ef02d2b1e28ed9bf743610 /net/openslp
parentaab2bda8cee8d4ce7a1ee54cdefecebb2049a9ef (diff)
downloadfreebsd-ports-gnome-2ae628d7cde3cb0471743d04c6d26265b5d6a20c.tar.gz
freebsd-ports-gnome-2ae628d7cde3cb0471743d04c6d26265b5d6a20c.tar.zst
freebsd-ports-gnome-2ae628d7cde3cb0471743d04c6d26265b5d6a20c.zip
Add another object file into libslp.so so a missing symbol,
SLPNetGetThisHostname, is properly defined. Submitted by: mi
Diffstat (limited to 'net/openslp')
-rw-r--r--net/openslp/Makefile1
-rw-r--r--net/openslp/files/patch-slp_net36
2 files changed, 37 insertions, 0 deletions
diff --git a/net/openslp/Makefile b/net/openslp/Makefile
index 5933b6eb4d68..1048b4bb74d0 100644
--- a/net/openslp/Makefile
+++ b/net/openslp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openslp
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= openslp
diff --git a/net/openslp/files/patch-slp_net b/net/openslp/files/patch-slp_net
new file mode 100644
index 000000000000..14f5d6e09694
--- /dev/null
+++ b/net/openslp/files/patch-slp_net
@@ -0,0 +1,36 @@
+This patch moves slp_net.c into libslp to avoid there being undefined
+symbols in the library (such as SLPNetGetThisHostname()). Makefile.am
+files should, probably, be patched instead...
+
+ -mi
+
+--- common/Makefile.in Wed Mar 2 13:00:23 2005
++++ common/Makefile.in Mon Jul 11 14:05:45 2005
+@@ -57,5 +57,5 @@
+ slp_network.c slp_database.c slp_xmalloc.c slp_xcast.c \
+ slp_iface.c slp_parse.c slp_pid.c slp_dhcp.c slp_v1message.c \
+- slp_utf8.c slp_auth.c slp_crypto.c slp_spi.c
++ slp_utf8.c slp_auth.c slp_crypto.c slp_spi.c slp_net.c
+ @ENABLE_SLPv1_TRUE@am__objects_1 = slp_v1message.lo slp_utf8.lo
+ @ENABLE_SLPv2_SECURITY_TRUE@am__objects_2 = slp_auth.lo slp_crypto.lo \
+@@ -64,5 +64,5 @@
+ slp_message.lo slp_property.lo slp_linkedlist.lo slp_xid.lo \
+ slp_network.lo slp_database.lo slp_xmalloc.lo slp_xcast.lo \
+- slp_iface.lo slp_parse.lo slp_pid.lo slp_dhcp.lo \
++ slp_iface.lo slp_parse.lo slp_pid.lo slp_dhcp.lo slp_net.lo \
+ $(am__objects_1) $(am__objects_2)
+ libcommonlibslp_la_OBJECTS = $(am_libcommonlibslp_la_OBJECTS)
+@@ -70,5 +70,5 @@
+ am__libcommonslpd_la_SOURCES_DIST = slp_compare.c slp_buffer.c \
+ slp_message.c slp_property.c slp_linkedlist.c slp_xid.c \
+- slp_database.c slp_xmalloc.c slp_parse.c slp_iface.c slp_net.c \
++ slp_database.c slp_xmalloc.c slp_parse.c slp_iface.c \
+ slp_pid.c slp_attr_y.y slp_attr_l.l slp_filter_y.y \
+ slp_filter_l.l slp_predicate.c slp_dhcp.c slp_v1message.c \
+@@ -77,5 +77,5 @@
+ slp_message.lo slp_property.lo slp_linkedlist.lo slp_xid.lo \
+ slp_database.lo slp_xmalloc.lo slp_parse.lo slp_iface.lo \
+- slp_net.lo slp_pid.lo slp_attr_y.lo slp_attr_l.lo \
++ slp_pid.lo slp_attr_y.lo slp_attr_l.lo \
+ slp_filter_y.lo slp_filter_l.lo slp_predicate.lo slp_dhcp.lo \
+ $(am__objects_1) $(am__objects_2)