pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/filesystems/fuse-sparsebundlefs Honor LDFLAGS to suppo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5723efde7eb
branches:  trunk
changeset: 770550:b5723efde7eb
user:      pho <pho%pkgsrc.org@localhost>
date:      Thu Dec 02 12:02:05 2021 +0000

description:
Honor LDFLAGS to support RELRO

diffstat:

 filesystems/fuse-sparsebundlefs/Makefile               |   4 +-
 filesystems/fuse-sparsebundlefs/distinfo               |   4 +-
 filesystems/fuse-sparsebundlefs/patches/patch-Makefile |  19 ++++++++++++++---
 3 files changed, 19 insertions(+), 8 deletions(-)

diffs (61 lines):

diff -r dda6e8c9981e -r b5723efde7eb filesystems/fuse-sparsebundlefs/Makefile
--- a/filesystems/fuse-sparsebundlefs/Makefile  Thu Dec 02 11:44:39 2021 +0000
+++ b/filesystems/fuse-sparsebundlefs/Makefile  Thu Dec 02 12:02:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/07/18 00:06:15 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2021/12/02 12:02:05 pho Exp $
 #
 
 DISTNAME=      fuse-sparsebundlefs-20160928
@@ -9,7 +9,7 @@
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/torarnv/sparsebundlefs
-COMMENT=       FUSE filesystem for reading Mac OS sparse-bundle disk images.
+COMMENT=       FUSE filesystem for reading Mac OS sparse-bundle disk images
 LICENSE=       2-clause-bsd
 
 USE_LANGUAGES= c c++03
diff -r dda6e8c9981e -r b5723efde7eb filesystems/fuse-sparsebundlefs/distinfo
--- a/filesystems/fuse-sparsebundlefs/distinfo  Thu Dec 02 11:44:39 2021 +0000
+++ b/filesystems/fuse-sparsebundlefs/distinfo  Thu Dec 02 12:02:05 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:25:28 nia Exp $
+$NetBSD: distinfo,v 1.4 2021/12/02 12:02:05 pho Exp $
 
 BLAKE2s (fuse-sparsebundlefs-20160928-f3ccd20bd6393b05c9949810feb0e0b366b86348.tar.gz) = 87934e8e8f574e12da209c835c50259ca4a217208da894792fbf48d81a699c3d
 SHA512 (fuse-sparsebundlefs-20160928-f3ccd20bd6393b05c9949810feb0e0b366b86348.tar.gz) = 
df0cc02f7dba0fc5b534004b3fe322d36cd03bacb42bbc7564b8f29f910773b16a861e965f1834447341f642d16a9379bcd8468bdcf389f17cf27f6bccb61dbd
 Size (fuse-sparsebundlefs-20160928-f3ccd20bd6393b05c9949810feb0e0b366b86348.tar.gz) = 8070 bytes
-SHA1 (patch-Makefile) = 5a7ae0323fdfdc6e3c117e97ea5734074c10adae
+SHA1 (patch-Makefile) = 376e8945efa26823a147a292ef9a620a47653197
diff -r dda6e8c9981e -r b5723efde7eb filesystems/fuse-sparsebundlefs/patches/patch-Makefile
--- a/filesystems/fuse-sparsebundlefs/patches/patch-Makefile    Thu Dec 02 11:44:39 2021 +0000
+++ b/filesystems/fuse-sparsebundlefs/patches/patch-Makefile    Thu Dec 02 12:02:05 2021 +0000
@@ -1,8 +1,10 @@
-$NetBSD: patch-Makefile,v 1.1 2016/10/02 16:33:28 bouyer Exp $
+$NetBSD: patch-Makefile,v 1.2 2021/12/02 12:02:05 pho Exp $
+
+Honor LDFLAGS to support RELRO.
 
---- Makefile.orig      2016-09-27 23:50:42.000000000 +0200
-+++ Makefile   2016-10-02 18:19:10.000000000 +0200
-@@ -3,14 +3,14 @@
+--- Makefile.orig      2016-09-27 21:50:42.000000000 +0000
++++ Makefile
+@@ -3,14 +3,14 @@ TARGET = sparsebundlefs
  PKG_CONFIG = pkg-config
  override CFLAGS += -Wall -O2 -g
  
@@ -22,3 +24,12 @@
        # Pick up OSXFUSE, even with pkg-config from MacPorts
        PKG_CONFIG := PKG_CONFIG_PATH=/usr/local/lib/pkgconfig $(PKG_CONFIG)
  else ifeq ($(shell uname), Linux)
+@@ -20,7 +20,7 @@ endif
+ FUSE_FLAGS := $(shell $(PKG_CONFIG) fuse --cflags --libs)
+ 
+ $(TARGET): sparsebundlefs.cpp
+-      $(CXX) $< -o $@ $(CFLAGS) $(FUSE_FLAGS) $(LFLAGS) $(DEFINES)
++      $(CXX) $< -o $@ $(CFLAGS) $(FUSE_FLAGS) $(LFLAGS) $(LDFLAGS) $(DEFINES)
+ 
+ all: $(TARGET)
+ 



Home | Main Index | Thread Index | Old Index