Added bep and patch for freeimage from cipri. This fixes #316, for gcc4.

This commit is contained in:
Scott McCreary
2012-08-16 04:44:24 +00:00
parent 8a63bef461
commit 01e9fa7ed0
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
diff -Naur FreeImage/Makefile.gnu FreeImage-haiku/Makefile.gnu
--- FreeImage/Makefile.gnu 2012-03-10 19:24:28.065011712 +0000
+++ FreeImage-haiku/Makefile.gnu 2012-08-12 16:23:37.864550912 +0000
@@ -62,9 +62,9 @@
install:
install -d $(INCDIR) $(INSTALLDIR)
- install -m 644 -o root -g root $(HEADER) $(INCDIR)
- install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
- install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
+ install -m 644 $(HEADER) $(INCDIR)
+ install -m 644 $(STATICLIB) $(INSTALLDIR)
+ install -m 755 $(SHAREDLIB) $(INSTALLDIR)
ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME)
ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME)
# ldconfig