Date: Fri, 12 Jul 2013 16:36:50 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322855 - in head/print/hplip: . files Message-ID: <201307121636.r6CGaoD4068916@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Fri Jul 12 16:36:50 2013 New Revision: 322855 URL: http://svnweb.freebsd.org/changeset/ports/322855 Log: Add support for HPLIP binary plugins. The plugin is a Linux shared object, but it depends on few enough interfaces that it can actually run unmodified on a FreeBSD system. PR: ports/176618 Submitted by: thomas Added: head/print/hplip/files/patch-hplip-plugin (contents, props changed) Modified: head/print/hplip/Makefile Modified: head/print/hplip/Makefile ============================================================================== --- head/print/hplip/Makefile Fri Jul 12 16:35:01 2013 (r322854) +++ head/print/hplip/Makefile Fri Jul 12 16:36:50 2013 (r322855) @@ -3,7 +3,7 @@ PORTNAME= hplip PORTVERSION= 3.13.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= SF Added: head/print/hplip/files/patch-hplip-plugin ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/hplip/files/patch-hplip-plugin Fri Jul 12 16:36:50 2013 (r322855) @@ -0,0 +1,35 @@ +diff -ru hplip-3.11.12.DIST/Makefile.in hplip-3.11.12/Makefile.in +--- Makefile.in 2011-12-09 12:23:55.000000000 +0100 ++++ Makefile.in 2011-12-30 16:28:26.255313535 +0100 +@@ -503,7 +503,7 @@ + @HPIJS_INSTALL_TRUE@@HPLIP_BUILD_TRUE@ $(am__DEPENDENCIES_1) + hpijs_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXXLD) $(hpijs_CXXFLAGS) $(CXXFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ ++ $(AM_LDFLAGS) $(LDFLAGS) -Wl,--export-dynamic -o $@ + am__hplipjs_SOURCES_DIST = prnt/filters/hplipjs.c + @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am_hplipjs_OBJECTS = \ + @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@ hplipjs.$(OBJEXT) +Only in hplip-3.11.12: dd +diff -ru hplip-3.11.12.DIST/prnt/hpijs/hpijs.cpp hplip-3.11.12/prnt/hpijs/hpijs.cpp +--- prnt/hpijs/hpijs.cpp 2011-12-09 12:18:33.000000000 +0100 ++++ prnt/hpijs/hpijs.cpp 2011-12-30 16:27:10.976752128 +0100 +@@ -43,6 +43,9 @@ + #include "hpijs.h" + #include "services.h" + ++#undef stderr; ++FILE *stderr; ++ + extern void SendDbusMessage (const char *dev, const char *printer, int code, + const char *username, const int jobid, const char *title); + +@@ -586,6 +589,7 @@ + int status = EXIT_FAILURE; + int ret, n, i, kn=0, width, k_width; + ++ stderr = __stderrp; + openlog("hpijs", LOG_PID, LOG_DAEMON); + + if (argc > 1) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307121636.r6CGaoD4068916>