public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/pngnq/files: pngnq-1.0-as-needed.patch
@ 2010-01-17 22:32 Hanno Boeck (hanno)
  0 siblings, 0 replies; 2+ messages in thread
From: Hanno Boeck (hanno) @ 2010-01-17 22:32 UTC (permalink / raw
  To: gentoo-commits

hanno       10/01/17 22:32:14

  Added:                pngnq-1.0-as-needed.patch
  Log:
  pngnq as-needed fix
  (Portage version: 2.1.7.16/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-gfx/pngnq/files/pngnq-1.0-as-needed.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/pngnq/files/pngnq-1.0-as-needed.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/pngnq/files/pngnq-1.0-as-needed.patch?rev=1.1&content-type=text/plain

Index: pngnq-1.0-as-needed.patch
===================================================================
--- pngnq-1.0.orig/configure.ac	2009-05-20 14:05:52.000000000 +0200
+++ pngnq-1.0/configure.ac	2010-01-16 19:51:43.087613985 +0100
@@ -24,6 +24,10 @@
 AC_FUNC_STAT
 AC_HEADER_STDBOOL
 
+AC_SEARCH_LIBS([zlibVersion],[z])
+AC_SEARCH_LIBS([sqrt],[m])
+PKG_CHECK_MODULES([PNG], [libpng >= 1.2.0])
+
 # checks for library functions
 AC_CHECK_FUNCS([getopt])
 AC_CHECK_FUNCS([floor])
@@ -35,5 +39,5 @@
 AC_CHECK_FUNCS([strrchr])
 
 AC_CONFIG_HEADERS([src/config.h])
-AC_CONFIG_FILES([Makefile src/Makefile freegetopt/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile])
 AC_OUTPUT
--- pngnq-1.0.orig/Makefile.am	2009-05-20 14:05:52.000000000 +0200
+++ pngnq-1.0/Makefile.am	2010-01-16 19:50:25.127860135 +0100
@@ -1,3 +1,3 @@
-SUBDIRS = freegetopt src
+SUBDIRS = src
 
 dist_man_MANS = pngnq.1
--- pngnq-1.0.orig/src/Makefile.am	2009-05-20 14:04:15.000000000 +0200
+++ pngnq-1.0/src/Makefile.am	2010-01-16 20:06:48.150861688 +0100
@@ -1,6 +1,7 @@
-AM_LDFLAGS = ${shell libpng-config --ldflags} -lz
-AM_CFLAGS = ${shell libpng-config --I_opts} -Wall --pedantic -std=gnu99
+AM_CFLAGS = -Wall --pedantic -std=gnu99 @PNG_CFLAGS@
 
 bin_PROGRAMS = pngnq pngcomp
 pngnq_SOURCES = pngnq.c neuquant32.c rwpng.c  neuquant32.h rwpng.h errors.h
+pngnq_LDADD  = @PNG_LIBS@
 pngcomp_SOURCES = pngcomp.c rwpng.c colorspace.c  colorspace.h
+pngcomp_LDADD  = @PNG_LIBS@






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-gfx/pngnq/files: pngnq-1.0-as-needed.patch
@ 2013-02-21  9:54 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2013-02-21  9:54 UTC (permalink / raw
  To: gentoo-commits

ssuominen    13/02/21 09:54:11

  Removed:              pngnq-1.0-as-needed.patch
  Log:
  old
  
  (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-21  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-17 22:32 [gentoo-commits] gentoo-x86 commit in media-gfx/pngnq/files: pngnq-1.0-as-needed.patch Hanno Boeck (hanno)
  -- strict thread matches above, loose matches on Subject: below --
2013-02-21  9:54 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox