summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch')
-rw-r--r--app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch b/app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch
new file mode 100644
index 000000000000..b6edbb88b3e0
--- /dev/null
+++ b/app-mobilephone/gammu/files/gammu-1.09.00-as-needed.patch
@@ -0,0 +1,21 @@
+diff -Nru gammu-1.09.00.orig/cfg/Makefile.glo gammu-1.09.00/cfg/Makefile.glo
+--- gammu-1.09.00.orig/cfg/Makefile.glo 2006-11-17 00:43:26.000000000 +0200
++++ gammu-1.09.00/cfg/Makefile.glo 2006-12-01 08:54:58.550751904 +0200
+@@ -127,7 +127,7 @@
+
+ $(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
+ @echo Linking gammu
+- @$(CC) $(COMMON) $(GAMMU) $(LDLIBS) $(GAMMU_CFLAGS) $(GAMMU_LIBS) $(SMSD_LIBS) -o $(TOPDIR)/gammu/gammu $(LDFLAGS)
++ @$(CC) $(LDFLAGS) $(COMMON) $(GAMMU) $(LDLIBS) $(GAMMU_CFLAGS) $(GAMMU_LIBS) $(SMSD_LIBS) -o $(TOPDIR)/gammu/gammu
+
+ gammu: $(TOPDIR)/gammu/gammu
+
+@@ -137,7 +137,7 @@
+
+ $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR): $(COMMON)
+ @echo Linking libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR)
+- @$(CC) $(LDLIBS) -shared -Wl,-soname -Wl,libGammu.so.$(SONAME_MAJOR) -o $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(COMMON) $(LDFLAGS)
++ @$(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libGammu.so.$(SONAME_MAJOR) $(COMMON) $(LDLIBS) -o $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR)
+ @$(LN) -s libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR)
+ @$(LN) -s libGammu.so.$(SONAME_MAJOR) $(TOPDIR)/common/libGammu.so
+