Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 13:06:47 +0200
From:      Kurt Jaeger <fbsd-ports@opsec.eu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/183100: [patch update] multimedia/rtmpdump fix to build
Message-ID:  <E1VXUMp-0006pd-Tk@fa9.opsec.eu>
Resent-Message-ID: <201310191110.r9JBA0dA039675@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183100
>Category:       ports
>Synopsis:       [patch update] multimedia/rtmpdump fix to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 19 11:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD fbsd9a.referenz.nepustil.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	multimedia/rtmpdump fails to build, see

	http://opsec.eu/backup/20131019-rtmpdump

>How-To-Repeat:
	cd /usr/ports/multimedia/rtmpdump
	make

>Fix:

diff -r -u multimedia/rtmpdump/files/patch-Makefile /usr/home/pi/myp/multimedia/rtmpdump/files/patch-Makefile
--- multimedia/rtmpdump/files/patch-Makefile	2013-01-01 18:32:15.000000000 +0100
+++ /usr/home/pi/myp/multimedia/rtmpdump/files/patch-Makefile	2013-10-19 13:02:53.000000000 +0200
@@ -1,7 +1,7 @@
---- Makefile.orig	2010-07-01 04:58:35.000000000 +0900
-+++ Makefile	2010-08-01 01:26:30.000000000 +0900
+--- Makefile.orig	2013-10-06 20:52:05.000000000 +0200
++++ Makefile	2013-10-19 13:02:24.000000000 +0200
 @@ -1,9 +1,9 @@
- VERSION=v2.3
+ VERSION=v2.4
  
 -prefix=/usr/local
 +prefix=${PREFIX}
@@ -13,7 +13,7 @@
  
  SYS=posix
  #SYS=mingw
-@@ -20,8 +20,9 @@
+@@ -21,8 +21,9 @@
  
  DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
  OPT=-O2
@@ -25,12 +25,21 @@
  
  bindir=$(prefix)/bin
  sbindir=$(prefix)/sbin
-@@ -37,7 +38,7 @@
- 
+@@ -41,7 +42,7 @@
  THREADLIB_posix=-lpthread
+ THREADLIB_darwin=-lpthread
  THREADLIB_mingw=
 -THREADLIB=$(THREADLIB_$(SYS))
 +THREADLIB?=$(THREADLIB_$(SYS))
  SLIBS=$(THREADLIB) $(LIBS)
  
  LIBRTMP=librtmp/librtmp.a
+@@ -79,7 +80,7 @@
+ 	$(CC) $(LDFLAGS) -o $@$(EXT) $@.o $(LIBS)
+ 
+ rtmpsrv: rtmpsrv.o thread.o
+-	$(CC) $(LDFLAGS) -o $@$(EXT) $@.o thread.o $(SLIBS)
++	$(CC) -Llibrtmp -lrtmp $(LDFLAGS) -o $@$(EXT) $@.o thread.o $(SLIBS)
+ 
+ rtmpsuck: rtmpsuck.o thread.o
+ 	$(CC) $(LDFLAGS) -o $@$(EXT) $@.o thread.o $(SLIBS)
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1VXUMp-0006pd-Tk>