pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/freeimage



Module Name:    pkgsrc
Committed By:   nros
Date:           Sat Jul  8 08:08:25 UTC 2017

Modified Files:
        pkgsrc/graphics/freeimage: distinfo
        pkgsrc/graphics/freeimage/patches: patch-Makefile patch-Makefile.fip

Log Message:
Make freeimage and freeimageplus use the c++ copiler for linking and remove
linking to stdc++.
This will make them use the right runtime library, not all compilers
use stdc++.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/freeimage/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/freeimage/patches/patch-Makefile \
    pkgsrc/graphics/freeimage/patches/patch-Makefile.fip

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/freeimage/distinfo
diff -u pkgsrc/graphics/freeimage/distinfo:1.4 pkgsrc/graphics/freeimage/distinfo:1.5
--- pkgsrc/graphics/freeimage/distinfo:1.4      Mon Feb 20 08:00:42 2017
+++ pkgsrc/graphics/freeimage/distinfo  Sat Jul  8 08:08:25 2017
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.4 2017/02/20 08:00:42 snj Exp $
+$NetBSD: distinfo,v 1.5 2017/07/08 08:08:25 nros Exp $
 
 SHA1 (FreeImage3170.zip) = 6752c83798c2f81dee71a2e8bb11657068672669
 RMD160 (FreeImage3170.zip) = c4e87846098327ee346c49ae81b6036f6d9ab36d
 SHA512 (FreeImage3170.zip) = 703c2626c0bcfe73eb40d720f45745208ca9650a7730759680a2b38ad3f6c719a43008477032bc70b76a95761f7d4b6f901b961359d36b54ace906dd78fb391b
 Size (FreeImage3170.zip) = 7020636 bytes
-SHA1 (patch-Makefile) = 719f3539d1e841761c8cf442634d71e792ea7231
-SHA1 (patch-Makefile.fip) = 3a8bdc29a2249b5cb9e30ccfcc25eb6be99755d9
+SHA1 (patch-Makefile) = 196331f954913d5b49ae1e2464fb356a26212168
+SHA1 (patch-Makefile.fip) = c12dd636f83f774a11c91c4e3373176fd27e562d
 SHA1 (patch-Source_FreeImage_PluginPCX.cpp) = 26853626d1dc6a52804f946fd0576269de380512
 SHA1 (patch-Source_FreeImage_PluginXPM.cpp) = eac7be24c3d64593feebdb548df8a404db66c113
 SHA1 (patch-Source_LibOpenJPEG_opj__malloc.h) = 4ba7924e5ce04b98c9c249bc31df600b7fbdcde3

Index: pkgsrc/graphics/freeimage/patches/patch-Makefile
diff -u pkgsrc/graphics/freeimage/patches/patch-Makefile:1.1 pkgsrc/graphics/freeimage/patches/patch-Makefile:1.2
--- pkgsrc/graphics/freeimage/patches/patch-Makefile:1.1        Thu Feb 12 22:40:05 2015
+++ pkgsrc/graphics/freeimage/patches/patch-Makefile    Sat Jul  8 08:08:25 2017
@@ -1,7 +1,7 @@
-$NetBSD: patch-Makefile,v 1.1 2015/02/12 22:40:05 snj Exp $
-
---- Makefile.gnu.orig  2014-03-16 00:02:08.000000000 -0700
-+++ Makefile.gnu       2015-02-12 02:12:58.000000000 -0800
+$NetBSD: patch-Makefile,v 1.2 2017/07/08 08:08:25 nros Exp $
+* use c++ for linking instead of linking with stdc++
+--- Makefile.gnu.orig  2015-03-08 17:04:00.000000000 +0000
++++ Makefile.gnu
 @@ -5,8 +5,8 @@ include Makefile.srcs
  
  # General configuration variables:
@@ -26,8 +26,12 @@ $NetBSD: patch-Makefile,v 1.1 2015/02/12
  
  TARGET  = freeimage
  STATICLIB = lib$(TARGET).a
-@@ -69,10 +67,9 @@ $(SHAREDLIB): $(MODULES)
-       $(CC) -s -shared -Wl,-soname,$(VERLIBNAME) $(LDFLAGS) -o $@ $(MODULES) $(LIBRARIES)
+@@ -67,13 +65,12 @@ $(STATICLIB): $(MODULES)
+       $(AR) r $@ $(MODULES)
+ 
+ $(SHAREDLIB): $(MODULES)
+-      $(CC) -s -shared -Wl,-soname,$(VERLIBNAME) $(LDFLAGS) -o $@ $(MODULES) $(LIBRARIES)
++      $(CXX) -s -shared -Wl,-soname,$(VERLIBNAME) $(LDFLAGS) -o $@ $(MODULES)
  
  install:
 -      install -d $(INCDIR) $(INSTALLDIR)
Index: pkgsrc/graphics/freeimage/patches/patch-Makefile.fip
diff -u pkgsrc/graphics/freeimage/patches/patch-Makefile.fip:1.1 pkgsrc/graphics/freeimage/patches/patch-Makefile.fip:1.2
--- pkgsrc/graphics/freeimage/patches/patch-Makefile.fip:1.1    Wed May 27 21:59:26 2015
+++ pkgsrc/graphics/freeimage/patches/patch-Makefile.fip        Sat Jul  8 08:08:25 2017
@@ -1,6 +1,6 @@
-$NetBSD: patch-Makefile.fip,v 1.1 2015/05/27 21:59:26 markd Exp $
-
---- Makefile.fip.orig  2015-03-08 05:03:56.000000000 +0000
+$NetBSD: patch-Makefile.fip,v 1.2 2017/07/08 08:08:25 nros Exp $
+* use c++ for linking instead of linking with stdc++
+--- Makefile.fip.orig  2015-03-08 17:03:56.000000000 +0000
 +++ Makefile.fip
 @@ -5,8 +5,8 @@ include fipMakefile.srcs
  
@@ -26,8 +26,12 @@ $NetBSD: patch-Makefile.fip,v 1.1 2015/0
  
  TARGET  = freeimageplus
  STATICLIB = lib$(TARGET).a
-@@ -71,11 +69,9 @@ $(SHAREDLIB): $(MODULES)
-       $(CC) -s -shared -Wl,-soname,$(VERLIBNAME) $(LDFLAGS) -o $@ $(MODULES) $(LIBRARIES)
+@@ -68,14 +66,12 @@ $(STATICLIB): $(MODULES)
+       $(AR) r $@ $(MODULES)
+ 
+ $(SHAREDLIB): $(MODULES)
+-      $(CC) -s -shared -Wl,-soname,$(VERLIBNAME) $(LDFLAGS) -o $@ $(MODULES) $(LIBRARIES)
++      $(CXX) -s -shared -Wl,-soname,$(VERLIBNAME) $(LDFLAGS) -o $@ $(MODULES)
  
  install:
 -      install -d $(INCDIR) $(INSTALLDIR)



Home | Main Index | Thread Index | Old Index