The livemedia commits break linking for vlc on amd64, -fPIC is needed.
This fixes the build, but I'm not sure how to test whether live555 then
works (and I don't understand when to use -fpic and when -fPIC, and
it's not particularly easy to google for).

Index: files/config.fixed-openbsd
===================================================================
RCS file: /cvs/ports/net/livemedia/files/config.fixed-openbsd,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 config.fixed-openbsd
--- files/config.fixed-openbsd  19 Apr 2007 08:32:23 -0000      1.1.1.1
+++ files/config.fixed-openbsd  19 Apr 2007 12:25:23 -0000
@@ -1,5 +1,5 @@
 .SUFFIXES: .cpp
-COMPILE_OPTS =         $(CFLAGS) $(INCLUDES) -I. -DBSD=1 -DSOCKLEN_T=socklen_t 
-DHAVE_SOCKADDR_LEN=1
+COMPILE_OPTS =         $(CFLAGS) $(INCLUDES) -I. -DBSD=1 -DSOCKLEN_T=socklen_t 
-DHAVE_SOCKADDR_LEN=1 -fPIC
 C =                    c
 C_COMPILER =           $(CC)
 C_FLAGS =              $(COMPILE_OPTS)

Reply via email to