mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
4.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/pam/pic-and-linker.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. diff -durN -X ../scripts/dontdiff Linux-PAM-0.77-orig/configure.in Linux-PAM-0.77-new/configure.in
  23. --- Linux-PAM-0.77-orig/configure.in 2002-07-09 08:17:13.000000000 +0200
  24. +++ Linux-PAM-0.77-new/configure.in 2003-05-01 03:13:16.000000000 +0200
  25. @@ -309,8 +309,9 @@
  26. WARNINGS="$GCC_WARNINGS"
  27. PIC="-fPIC"
  28. DYNTYPE=so
  29. - LD=ld
  30. - LD_L="$LD -x -shared"
  31. + LD=gcc
  32. + LD_L="$LD -shared -Xlinker -x"
  33. + SOSWITCH="-Xlinker -soname -Xlinker"
  34. RANLIB=ranlib
  35. STRIP=strip
  36. CC_STATIC="-Xlinker -export-dynamic"
  37. diff -durN -X ../scripts/dontdiff Linux-PAM-0.77-orig/configure Linux-PAM-0.77-new/configure
  38. --- Linux-PAM-0.77-orig/configure 2002-07-09 08:17:13.000000000 +0200
  39. +++ Linux-PAM-0.77-new/configure 2003-05-01 03:13:43.000000000 +0200
  40. @@ -2479,8 +2479,9 @@
  41. WARNINGS="$GCC_WARNINGS"
  42. PIC="-fPIC"
  43. DYNTYPE=so
  44. - LD=ld
  45. - LD_L="$LD -x -shared"
  46. + LD=gcc
  47. + LD_L="$LD -shared -Xlinker -x"
  48. + SOSWITCH="-Xlinker -soname -Xlinker"
  49. RANLIB=ranlib
  50. STRIP=strip
  51. CC_STATIC="-Xlinker -export-dynamic"
  52. diff -durN -X ../scripts/dontdiff Linux-PAM-0.77-orig/libpam/Makefile Linux-PAM-0.77-new/libpam/Makefile
  53. --- Linux-PAM-0.77-orig/libpam/Makefile 2001-12-09 22:44:58.000000000 +0100
  54. +++ Linux-PAM-0.77-new/libpam/Makefile 2003-05-01 03:16:37.000000000 +0200
  55. @@ -84,7 +84,7 @@
  56. endif
  57. dynamic/%.o : %.c
  58. - $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
  59. + $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) $(PIC) -c $< -o $@
  60. static/%.o : %.c
  61. $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
  62. diff -durN -X ../scripts/dontdiff Linux-PAM-0.77-orig/libpamc/Makefile Linux-PAM-0.77-new/libpamc/Makefile
  63. --- Linux-PAM-0.77-orig/libpamc/Makefile 2001-02-10 08:17:53.000000000 +0100
  64. +++ Linux-PAM-0.77-new/libpamc/Makefile 2003-05-01 03:17:07.000000000 +0200
  65. @@ -51,7 +51,7 @@
  66. endif
  67. dynamic/%.o : %.c
  68. - $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
  69. + $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) $(PIC) -c $< -o $@
  70. static/%.o : %.c
  71. $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
  72. diff -durN -X ../scripts/dontdiff Linux-PAM-0.77-orig/libpam_misc/Makefile Linux-PAM-0.77-new/libpam_misc/Makefile
  73. --- Linux-PAM-0.77-orig/libpam_misc/Makefile 2002-06-27 06:04:54.000000000 +0200
  74. +++ Linux-PAM-0.77-new/libpam_misc/Makefile 2003-05-01 03:16:54.000000000 +0200
  75. @@ -52,7 +52,7 @@
  76. endif
  77. dynamic/%.o : %.c
  78. - $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
  79. + $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) $(PIC) -c $< -o $@
  80. static/%.o : %.c
  81. $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
  82. diff -durN -X ../scripts/dontdiff Linux-PAM-0.77-orig/modules/Simple.Rules Linux-PAM-0.77-new/modules/Simple.Rules
  83. --- Linux-PAM-0.77-orig/modules/Simple.Rules 2001-12-09 23:15:11.000000000 +0100
  84. +++ Linux-PAM-0.77-new/modules/Simple.Rules 2003-05-01 03:17:41.000000000 +0200
  85. @@ -35,7 +35,7 @@
  86. all: dirs $(LIBSHARED) $(LIBSTATIC) register
  87. dynamic/%.o : %.c
  88. - $(CC) $(CFLAGS) $(INCLUDE_PAMMODUTILS) $(DYNAMIC) $(TARGET_ARCH) -c $< -o $@
  89. + $(CC) $(CFLAGS) $(INCLUDE_PAMMODUTILS) $(DYNAMIC) $(TARGET_ARCH) $(PIC) -c $< -o $@
  90. static/%.o : %.c
  91. $(CC) $(CFLAGS) $(INCLUDE_PAMMODUTILS) $(STATIC) $(TARGET_ARCH) -c $< -o $@