summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/liblive/distinfo3
-rw-r--r--net/liblive/patches/patch-config.solaris-64bit36
2 files changed, 38 insertions, 1 deletions
diff --git a/net/liblive/distinfo b/net/liblive/distinfo
index 3526d3bdc35..cb09adb3afa 100644
--- a/net/liblive/distinfo
+++ b/net/liblive/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2012/02/21 12:38:58 drochner Exp $
+$NetBSD: distinfo,v 1.13 2013/02/22 14:40:07 jperkin Exp $
SHA1 (live.2012.02.04.tar.gz) = 26e06f8ec296c3494bc118b7ffde4ad7082e8f80
RMD160 (live.2012.02.04.tar.gz) = 0ff1f656d7244b94820a7ee299d7c96003791b00
@@ -8,3 +8,4 @@ SHA1 (patch-ba) = 0d977525350b4be3a564060a1d5a561c5564a768
SHA1 (patch-ca) = 20d35409d7fe63e0088d3105d5cd54809da13097
SHA1 (patch-cb) = ed98aa446cc4c6cf3c861101637e619d32cc9e95
SHA1 (patch-cc) = 1e968b8742c913f67654d83612bafe4fe01364c0
+SHA1 (patch-config.solaris-64bit) = a353d599817eca52a35589aea598c993d9b210d0
diff --git a/net/liblive/patches/patch-config.solaris-64bit b/net/liblive/patches/patch-config.solaris-64bit
new file mode 100644
index 00000000000..925258e2c69
--- /dev/null
+++ b/net/liblive/patches/patch-config.solaris-64bit
@@ -0,0 +1,36 @@
+$NetBSD: patch-config.solaris-64bit,v 1.1 2013/02/22 14:40:07 jperkin Exp $
+
+Make 64-bit Solaris work.
+
+--- config.solaris-64bit.orig 2012-02-04 11:01:47.000000000 +0000
++++ config.solaris-64bit
+@@ -1,17 +1,20 @@
+-COMPILE_OPTS = $(INCLUDES) -m64 -I. -O -DSOLARIS -DSOCKLEN_T=socklen_t
++.SUFFIXES: .la .lo .cpp
++COMPILE_OPTS = $(INCLUDES) -I. ${CPPFLAGS} -DSOLARIS -DSOCKLEN_T=socklen_t -DXLOCALE_NOT_USED=1
+ C = c
+-C_COMPILER = cc
++C_COMPILER = ${LIBTOOL} --tag=CC --mode=compile ${CC}
+ C_FLAGS = $(COMPILE_OPTS)
+ CPP = cpp
+-CPLUSPLUS_COMPILER = c++
++CPLUSPLUS_COMPILER = ${LIBTOOL} --tag=CXX --mode=compile c++
+ CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall
+-OBJ = o
+-LINK = c++ -m64 -o
+-LINK_OPTS = -L.
++OBJ = lo
++LINK = ${LIBTOOL} --tag=CXX --mode=link c++ -o
++LINK+= # this is needed to add a space!
++LINK_OPTS = -Wl,-R${PREFIX}/lib -lm
+ CONSOLE_LINK_OPTS = $(LINK_OPTS)
+-LIBRARY_LINK = ld -o
+-LIBRARY_LINK_OPTS = $(LINK_OPTS) -64 -r -dn
+-LIB_SUFFIX = a
++LIBRARY_LINK = ${LIBTOOL} --tag=CXX --mode=link c++ -rpath ${PREFIX}/lib -version-info 0:0 -o
++LIBRARY_LINK+= # this is needed to add a space!
++LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -dn
++LIB_SUFFIX = la
+ LIBS_FOR_CONSOLE_APPLICATION = -lsocket -lnsl
+ LIBS_FOR_GUI_APPLICATION = $(LIBS_FOR_CONSOLE_APPLICATION)
+ EXE =